检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The type of a gateway response cannot be changed. For details, see Response Types. Gateway responses can contain the API gateway context variables (starting with $context). For details, see Context Variables. Custom Gateway Response Go to the APIG console.
Shared gateway on the old console: No. Only HTTPS one-way authentication is supported. Parent topic: API Authentication
Selectively Exposing Service Capabilities of a Data Center Using a Dedicated Gateway You can use APIG to set up a connection between your on-premises data center and the gateway (or the VPC bound to the gateway).
On the Gateways page, click the gateway name. On the Gateway Information page, disable the Outbound Access.
If you plan to access API Gateway through APIs, ensure that you are familiar with API Gateway concepts. For details, see the Service Overview. V2.0 APIs are provided for the dedicated gateways and V1.0 APIs are provided for the shared gateway on the old console.
Shared Gateway (Old Console) Specifications The shared gateway on the old console does not provide any specification settings. View the quotas for creating and using APIs in Notes and Constraints.
Billing Cycle A pay-per-use gateway is billed in seconds, and settled on the hour (GMT+08:00). Once settlement is complete, it enters a new billing cycle. The billing starts from the time when the deployed gateway starts running and ends at the time when the gateway is deleted.
Cost management When using APIG, select a proper gateway edition to avoid resource waste and reduce costs. For details, see Cost Management.
Preparation Before calling APIs in app authentication mode, complete the following operations: Obtain API request information On the console of a gateway, choose API Management > APIs, and click an API name to go to the details page.
Dedicated gateway: APIG forwards only API requests whose body is no larger than 12 MB. If your gateway will receive requests with a body larger than 12 MB, modify the request_body_size parameter on the gateway details page.
The shared gateway on the old console only supports VPC channels. Alternatively, you can use the EIP bound to a public network load balancer. Parent topic: Opening APIs
Select a dedicated gateway at the top of the navigation pane. In the navigation pane on the left, choose API Management > APIs to view or modify all APIs in the current gateway, or you can view or modify APIs on the API details page. Click the name of the target API.
If your gateway does not support this policy, submit a service ticket to upgrade the gateway to the latest version. Constraints An API can be bound with only one Kafka log push policy for a given environment, but each Kafka log push policy can be bound to multiple APIs.
None Operation Guide Exposing an API 04:21 How to expose an API Configuring a Request Throttling Policy 01:30 How to Configure a Request Throttling Policy Calling an API (Signature Authentication) 01:59 How to Call an API (Signature Authentication) Calling an API (Simple Authentication
WebSocket Service Requests Using a Dedicated Gateway HTTP-to-HTTPS Auto Redirection with a Dedicated Gateway Calling Different Backend Services Using a Dedicated Gateway
Managing APIG Gateways Viewing or Modifying Gateway Information Configuring Gateway Parameters Configuring Gateway Tags Configuring Gateway VPC Endpoints Customizing Gateway Inbound Ports Modifying Gateway Specifications
If a metric is not supported by the gateway, contact technical support to upgrade the gateway to the latest version.
API Gateway The billing is based on the number of API calls received and the amount of data transferred. This is applicable to the shared gateway on the old console.
API Gateway verifies only the AppCode and does not verify the request signature. Gateway Response Gateway responses are returned if API Gateway fails to process API requests.
APIG provides dedicated gateways and shared gateway (for existing users). The shared gateway has been brought offline and can be used only by existing users. For details about how to use the shared gateway, see Shared Gateway (for Existing Users).