检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console.
Figure 1 Signature key process flow Creating a Signature Key Access the shared gateway console. In the navigation pane, choose API Publishing > Signature Keys. Click Create Signature Key. In the Create Signature Key dialog box, set the parameters listed in Table 1.
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. group_id Yes String API group ID. response_id Yes String Response ID. response_type Yes String Error type.
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console.
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. group_id Yes String API group ID. domain_id Yes String Domain ID.
The IP address is the EIP in the Gateway Information on the APIG console. Parent topic: API Openness
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. group_id Yes String API group ID.
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. vpc_channel_id Yes String VPC channel ID.
Routing gRPC Service Requests Using a Dedicated Gateway Introduction General Procedure Implementation Procedure Parent topic: API Openness
Calling Different Backend Services Using a Dedicated Gateway Introduction General Procedure Implementation Procedure Parent topic: API Openness
String Description of the API request body, which can be an example request body, media type, or parameter information result_normal_sample String Example response for a successful request result_failure_sample String Example response for a failed request response_id String ID of the gateway
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. group_id Yes String API group ID. response_id Yes String Response ID.
String Description of the API request body, which can be an example request body, media type, or parameter information result_normal_sample String Example response for a successful request result_failure_sample String Example response for a failed request response_id String ID of the gateway
For details about how to obtain it, see Obtaining a Project ID. instance_id Yes String Gateway ID, which can be obtained from the gateway information on the APIG console. task_id Yes String Asynchronous task ID.
Object Model To improve access security of a published API, you can control the access from certain IP addresses by configuring a blacklist or whitelist. This section describes the object model for blacklist/whitelist (access control policy) management, as shown in object model for
Object Model An access control policy can protect access security of an API only after being bound to the API. This section describes the object model for binding an access control policy to an API, as shown in Table 1. Operation Type indicates the operation that can be performed
Querying API Group Quantities Function This API is used to query the number of API groups that have been listed and the number of API groups that have not been listed. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method
Creating a Signature Key Function It is a good practice to provide a protection mechanism for APIs to ensure access security. For example, authenticating API request sources and denying the access from unauthorized sources. A signature key is a protection mechanism in case. Create
Modifying a Signature Key Function This API is used to modify the information about a signature key. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method and URI Request Method URI PUT /v1.0/apigw/signs/{id} The following
Deleting a Signature Key Function This API is used to delete a specified signature key. This operation will invalidate the signature key and unbind it from relevant APIs. URI The following table lists the HTTP/HTTPS request method and URI of the API. Table 1 HTTP/HTTPS request method