diff --git a/docs/apig/umn/ALL_META.TXT.json b/docs/apig/umn/ALL_META.TXT.json index 996de186..4f4df424 100644 --- a/docs/apig/umn/ALL_META.TXT.json +++ b/docs/apig/umn/ALL_META.TXT.json @@ -1,1651 +1,3349 @@ [ { - "uri":"apig-ug-0016.html", + "dockw":"User Guide" + }, + { + "uri":"apig_03_0200.html", + "node_id":"apig_03_0200.xml", "product_code":"apig", "code":"1", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Service Overview", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Service Overview", "githuburl":"" }, { - "uri":"apig-ug-0017.html", + "uri":"apig_0080101651.html", + "node_id":"apig_0080101651.xml", "product_code":"apig", "code":"2", - "des":"API Gateway (APIG) is a high-performance, high-availability, and high-security API hosting service that helps you build, manage, and deploy APIs at any scale. With just a", - "doc_type":"productdesc", + "des":"API Gateway (APIG) is your fully managed API hosting service. With APIG, you can build, manage, and deploy APIs at any scale to package your capabilities. With just a few", + "doc_type":"usermanual", "kw":"What Is APIG?,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"usermanual", + "prodname":"apig" + } + ], "title":"What Is APIG?", "githuburl":"" }, { - "uri":"apig-zh-pd-180307002.html", + "uri":"apig-pd-180307002.html", + "node_id":"apig-pd-180307002.xml", "product_code":"apig", "code":"3", - "des":"You can quickly create APIs by configuring the required settings on the API Gateway console. API Gateway provides an inline debugging tool to simplify API development, an", - "doc_type":"productdesc", + "des":"You can quickly create APIs by configuring the required settings on the APIG console. APIG provides an inline debugging tool to simplify API development, and allows you t", + "doc_type":"usermanual", "kw":"Product Advantages,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"usermanual", + "prodname":"apig" + } + ], "title":"Product Advantages", "githuburl":"" }, { - "uri":"apig-zh-pd-180307003.html", + "uri":"apig-pd-180307003.html", + "node_id":"apig-pd-180307003.xml", "product_code":"apig", "code":"4", "des":"As enterprises develop rapidly with quick business changes, internal systems of enterprises need to keep pace with the development. However, it is difficult to ensure sys", - "doc_type":"productdesc", + "doc_type":"usermanual", "kw":"Application Scenarios,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"usermanual", + "prodname":"apig" + } + ], "title":"Application Scenarios", "githuburl":"" }, { "uri":"apig-specifications.html", - "product_code":"", + "node_id":"apig-specifications.xml", + "product_code":"apig", "code":"5", - "des":"Table 1 lists the specifications of dedicated API gateways.For dedicated gateways, you can adjust the maximum number of requests per second for each API.The specification", - "doc_type":"", + "des":"The following table lists the specifications of dedicated gateways.For dedicated gateways, you can adjust the maximum number of requests per second for each API.The speci", + "doc_type":"usermanual", "kw":"Specifications,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"usermanual", + "prodname":"apig" + } + ], "title":"Specifications", "githuburl":"" }, { - "uri":"apig-zh-pd-180307005.html", + "uri":"apig-pd-180307005.html", + "node_id":"apig-pd-180307005.xml", "product_code":"apig", "code":"6", - "des":"To change the default restrictions, increase the quota by referring to Help Center > Others > FAQs > How Do I Apply for a Higher Quota?", - "doc_type":"productdesc", + "des":"To change the default restrictions, contact technical support to increase the quota.It takes 5 to 10 seconds for a new or modified APIG resource to take effect.The maximu", + "doc_type":"usermanual", "kw":"Notes and Constraints,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"usermanual", + "prodname":"apig" + } + ], "title":"Notes and Constraints", "githuburl":"" }, { "uri":"apig-pd-190529006.html", - "product_code":"", + "node_id":"apig-pd-190529006.xml", + "product_code":"apig", "code":"7", - "des":"If you need to assign different permissions to employees in your enterprise to access your APIG resources, Identity and Access Management (IAM) is a good choice for fine-", - "doc_type":"", + "des":"If you need to assign different permissions to personnel in your enterprise to access your APIG resources, Identity and Access Management (IAM) is a good choice for fine-", + "doc_type":"usermanual", "kw":"Permissions Management,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"usermanual", + "prodname":"apig" + } + ], "title":"Permissions Management", "githuburl":"" }, { - "uri":"apig-zh-pd-180307004.html", + "uri":"apig-pd-180307004.html", + "node_id":"apig-pd-180307004.xml", "product_code":"apig", "code":"8", "des":"A set of predefined functions that encapsulates application capabilities. You can create APIs and make them accessible to users.When creating an API, you need to configur", - "doc_type":"productdesc", + "doc_type":"usermanual", "kw":"Basic Concepts,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"usermanual", + "prodname":"apig" + } + ], "title":"Basic Concepts", "githuburl":"" }, { - "uri":"en-us_topic_0080101651.html", + "uri":"apig_03_1002.html", + "node_id":"apig_03_1002.xml", "product_code":"apig", "code":"9", - "des":"API Gateway (APIG) is a fully managed service that enables you to securely build, manage, and deploy APIs at any scale with high performance and availability. With APIG, ", - "doc_type":"usermanual", - "kw":"Using APIG,User Guide", - "title":"Using APIG", - "githuburl":"" - }, - { - "uri":"apig-ug-0012.html", - "product_code":"apig", - "code":"10", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Getting Started", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Getting Started", "githuburl":"" }, { "uri":"apig-ug-0013.html", + "node_id":"apig-ug-0013.xml", "product_code":"apig", - "code":"11", + "code":"10", "des":"API Gateway (APIG) is a fully managed service that enables you to securely build, manage, and deploy APIs at any scale with high performance and availability. With APIG, ", "doc_type":"usermanual", "kw":"Introduction,Getting Started,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Introduction", "githuburl":"" }, { - "uri":"apig-en-ug-180307001.html", + "uri":"apig-ug-180307001.html", + "node_id":"apig-ug-180307001.xml", "product_code":"apig", - "code":"12", + "code":"11", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Opening APIs", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Opening APIs", "githuburl":"" }, { - "uri":"apig-en-ug-180307002.html", + "uri":"apig_02_0001.html", + "node_id":"apig_02_0001.xml", "product_code":"apig", - "code":"13", - "des":"The following figure shows the process of exposing an API.Creating a GatewayBuy a dedicated gateway. For details, see Buying a Dedicated Gateway.Buy a dedicated gateway. ", + "code":"12", + "des":"The following figure shows the process of exposing an API.Creating a GatewayCreate a dedicated gateway.Create a dedicated gateway.Creating an API GroupAn API group facili", "doc_type":"usermanual", "kw":"Process Flow,Opening APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Process Flow", "githuburl":"" }, { - "uri":"apig-en-ug-180307003.html", + "uri":"apig-ug-180307003.html", + "node_id":"apig-ug-180307003.xml", "product_code":"apig", - "code":"14", - "des":"API group informationParameterDescriptionNameAPI group name. It is recommended that you enter a name based on naming rules to facilitate search.DescriptionDescription of ", + "code":"13", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Creating an API Group,Opening APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Creating an API Group", "githuburl":"" }, { "uri":"apig-ug-190419107.html", + "node_id":"apig-ug-190419107.xml", "product_code":"apig", - "code":"15", + "code":"14", "des":"The independent domain name must be registered and resolved. For details, see \"Prerequisites\" in Binding a Domain Name.", "doc_type":"usermanual", "kw":"Binding a Domain Name,Opening APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Binding a Domain Name", "githuburl":"" }, { - "uri":"en-us_topic_0080101678.html", + "uri":"apig_0080101678.html", + "node_id":"apig_0080101678.xml", "product_code":"apig", - "code":"16", - "des":"Create an API with the following steps:Setting Basic InformationDefining API RequestDefining Backend ServiceDefining ResponsesSetting basic informationParameterDescriptio", + "code":"15", + "des":"Procedure:Configuring Frontend SettingsConfiguring Backend SettingsFrontend definitionParameterDescriptionNameAPI name. It is recommended that you enter a name based on n", "doc_type":"usermanual", "kw":"Creating an API,Opening APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Creating an API", "githuburl":"" }, { "uri":"apig-ug-190419108.html", + "node_id":"apig-ug-190419108.xml", "product_code":"apig", - "code":"17", - "des":"If the API is called successfully, the status code 200 is displayed.", + "code":"16", + "des":"If the API is called successfully, the status code 200 is displayed. Otherwise, rectify the fault by referring to Error Codes.", "doc_type":"usermanual", "kw":"Debugging an API,Opening APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Debugging an API", "githuburl":"" }, { - "uri":"apig-en-ug-180307004.html", + "uri":"apig-ug-180307004.html", + "node_id":"apig-ug-180307004.xml", "product_code":"apig", - "code":"18", - "des":"Environment informationParameterDescriptionNameEnvironment name. It is recommended that you enter a name based on naming rules to facilitate search.DescriptionDescription", + "code":"17", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"(Optional) Creating an Environment,Opening APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"(Optional) Creating an Environment", "githuburl":"" }, { - "uri":"apig-en-ug-180307005.html", + "uri":"apig-ug-180307005.html", + "node_id":"apig-ug-180307005.xml", + "product_code":"apig", + "code":"18", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Publishing an API,Opening APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Publishing an API", + "githuburl":"" + }, + { + "uri":"apig-ug-180307007.html", + "node_id":"apig-ug-180307007.xml", "product_code":"apig", "code":"19", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Publishing an API,Opening APIs,User Guide", - "title":"Publishing an API", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307007.html", - "product_code":"apig", - "code":"20", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", "kw":"Calling APIs", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Calling APIs", "githuburl":"" }, { - "uri":"apig-en-ug-180307008.html", + "uri":"apig-ug-180307008.html", + "node_id":"apig-ug-180307008.xml", "product_code":"apig", - "code":"21", + "code":"20", "des":"The following figure shows the process of calling an API.Obtaining an APIObtain an API and its documentation from an API provider.Obtain an API and its documentation from", "doc_type":"usermanual", "kw":"Process Flow,Calling APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Process Flow", "githuburl":"" }, { - "uri":"apig-en-ug-180307010.html", + "uri":"apig-ug-180307010.html", + "node_id":"apig-ug-180307010.xml", + "product_code":"apig", + "code":"21", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Creating a Credential and Getting Authorized,Calling APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating a Credential and Getting Authorized", + "githuburl":"" + }, + { + "uri":"apig-ug-180307009.html", + "node_id":"apig-ug-180307009.xml", "product_code":"apig", "code":"22", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Creating an App and Getting Authorized,Calling APIs,User Guide", - "title":"Creating an App and Getting Authorized", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307009.html", - "product_code":"apig", - "code":"23", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", "kw":"Adding an AppCode for Simple Authentication,Calling APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Adding an AppCode for Simple Authentication", "githuburl":"" }, { - "uri":"apig-en-ug-180307011.html", + "uri":"apig-ug-180307011.html", + "node_id":"apig-ug-180307011.xml", "product_code":"apig", - "code":"24", - "des":"Use an API test tool to configure the API calling information.For illustration purposes, an API and its documentation are obtained through offline channels. You can also ", + "code":"23", + "des":"Use the API test tool to configure the API request and authentication. For details about how to call an API, see section \"Calling Published APIs\" > Calling APIs.For illus", "doc_type":"usermanual", "kw":"Calling an API,Calling APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Calling an API", "githuburl":"" }, { - "uri":"apig-ug-0006.html", + "uri":"apig_03_0001.html", + "node_id":"apig_03_0001.xml", + "product_code":"apig", + "code":"24", + "des":"APIG is a fully managed service that enables you to securely build, manage, and deploy APIs at any scale with high performance and availability. With APIG, you can easily", + "doc_type":"usermanual", + "kw":"Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Overview", + "githuburl":"" + }, + { + "uri":"apig_03_0003.html", + "node_id":"apig_03_0003.xml", "product_code":"apig", "code":"25", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Gateway Management", - "title":"Gateway Management", - "githuburl":"" - }, - { - "uri":"apig-ug-191004.html", - "product_code":"apig", - "code":"26", - "des":"This section describes how to buy a dedicated gateway. You can create APIs and use them to provide services only after a dedicated gateway is created.There are some limit", - "doc_type":"usermanual", - "kw":"Buying a Dedicated Gateway,Gateway Management,User Guide", - "title":"Buying a Dedicated Gateway", - "githuburl":"" - }, - { - "uri":"apig-ug-200801.html", - "product_code":"apig", - "code":"27", - "des":"You can modify the basic information and configuration parameters of dedicated gateways.To modify the basic information about a dedicated gateway, do as follows:", - "doc_type":"usermanual", - "kw":"Modifying a Dedicated Gateway,Gateway Management,User Guide", - "title":"Modifying a Dedicated Gateway", - "githuburl":"" - }, - { - "uri":"apig-ug-0019.html", - "product_code":"", - "code":"28", - "des":"VPC endpoints are secure and private channels for connecting VPCs to VPC endpoint services.APIs can be exposed and accessed across VPCs in the same region of the same clo", - "doc_type":"", - "kw":"Managing VPC Endpoints,Gateway Management,User Guide", - "title":"Managing VPC Endpoints", - "githuburl":"" - }, - { - "uri":"apig-ug-0008.html", - "product_code":"apig", - "code":"29", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"API Opening", - "title":"API Opening", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307014.html", - "product_code":"apig", - "code":"30", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"API Group Management", - "title":"API Group Management", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307015.html", - "product_code":"apig", - "code":"31", - "des":"Before creating an API, you must create an API group. An API group contains different APIs used for the same service.Each API can only belong to one API group.After the A", - "doc_type":"usermanual", - "kw":"Creating an API Group,API Group Management,User Guide", - "title":"Creating an API Group", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180327076.html", - "product_code":"apig", - "code":"32", - "des":"Before you open an API, you must bind one or more independent domain names to the group to which the API belongs.In a dedicated gateway, you cannot bind the same independ", - "doc_type":"usermanual", - "kw":"Binding a Domain Name,API Group Management,User Guide", - "title":"Binding a Domain Name", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307018.html", - "product_code":"apig", - "code":"33", - "des":"You can delete an API group if you do not require it.API groups that contain APIs cannot be deleted.You have created an API group.In the Operation column of the target AP", - "doc_type":"usermanual", - "kw":"Deleting an API Group,API Group Management,User Guide", - "title":"Deleting an API Group", - "githuburl":"" - }, - { - "uri":"apig-lgug-200226001.html", - "product_code":"apig", - "code":"34", - "des":"A gateway response is displayed if APIG fails to process an API request. APIG provides a set of default responses and also allows you to create gateway responses with cus", - "doc_type":"usermanual", - "kw":"Adding a Gateway Response,API Group Management,User Guide", - "title":"Adding a Gateway Response", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307019.html", - "product_code":"apig", - "code":"35", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", "kw":"API Management", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"API Management", "githuburl":"" }, { - "uri":"apig-en-ug-180307020.html", + "uri":"apig_03_0005.html", + "node_id":"apig_03_0005.xml", "product_code":"apig", - "code":"36", - "des":"You can selectively expose your services by configuring their APIs in APIG.To create an API, set the basic information and define the API request, backend service, and re", + "code":"26", + "des":"An API group contains APIs used for the same service. You can manage APIs by group, and must create a group before creating an API.You can create an API group using the f", + "doc_type":"usermanual", + "kw":"Creating an API Group,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating an API Group", + "githuburl":"" + }, + { + "uri":"apig_03_0071.html", + "node_id":"apig_03_0071.xml", + "product_code":"apig", + "code":"27", + "des":"By importing Cloud Container Engine (CCE) workloads, you can open your CCE service capabilities through APIs.If your gateway does not support CCE workload import, contact", + "doc_type":"usermanual", + "kw":"Importing a CCE Workload,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Importing a CCE Workload", + "githuburl":"" + }, + { + "uri":"apig_03_0006.html", + "node_id":"apig_03_0006.xml", + "product_code":"apig", + "code":"28", + "des":"Before you expose an API, bind an independent domain name to the API group so that APIs in the group can be accessed with the domain name. A maximum of five independent d", + "doc_type":"usermanual", + "kw":"Binding a Domain Name,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Binding a Domain Name", + "githuburl":"" + }, + { + "uri":"apig_03_0007.html", + "node_id":"apig_03_0007.xml", + "product_code":"apig", + "code":"29", + "des":"You can define environment variables to allow an API to be called in different environments.Environment variables are manageable and specific to environments. You can add", + "doc_type":"usermanual", + "kw":"Creating an Environment Variable,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating an Environment Variable", + "githuburl":"" + }, + { + "uri":"apig_03_0008.html", + "node_id":"apig_03_0008.xml", + "product_code":"apig", + "code":"30", + "des":"A gateway response is displayed if APIG fails to process an API request. APIG provides a set of default responses and also allows you to create responses with custom stat", + "doc_type":"usermanual", + "kw":"Creating a Gateway Response,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating a Gateway Response", + "githuburl":"" + }, + { + "uri":"apig_03_0010.html", + "node_id":"apig_03_0010.xml", + "product_code":"apig", + "code":"31", + "des":"You can selectively expose your backends by configuring their APIs in APIG. To create an API, perform the following steps:Configuring Frontend SettingsFrontend definition", "doc_type":"usermanual", "kw":"Creating an API,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Creating an API", "githuburl":"" }, { - "uri":"apig-en-ug-180621094.html", + "uri":"apig_03_0078.html", + "node_id":"apig_03_0078.xml", "product_code":"apig", - "code":"37", + "code":"32", + "des":"APIG supports gRPC API creation. gRPC is a modern, open-source, high-performance Remote Procedure Call (RPC) framework that can run in any environment. You only need to d", + "doc_type":"usermanual", + "kw":"Creating a gRPC API,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating a gRPC API", + "githuburl":"" + }, + { + "uri":"apig_03_0076.html", + "node_id":"apig_03_0076.xml", + "product_code":"apig", + "code":"33", + "des":"To improve API creation efficiency, you can clone an API with a custom name and path.Policies bound to an API cannot be cloned and can only be manually bound to the new A", + "doc_type":"usermanual", + "kw":"Cloning an API,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Cloning an API", + "githuburl":"" + }, + { + "uri":"apig_03_0011.html", + "node_id":"apig_03_0011.xml", + "product_code":"apig", + "code":"34", "des":"For security reasons, browsers restrict cross-origin requests initiated from within scripts. This means that a web application can only request resources from its origin.", "doc_type":"usermanual", "kw":"CORS,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"CORS", "githuburl":"" }, { - "uri":"apig-en-ug-180307025.html", + "uri":"apig_03_0012.html", + "node_id":"apig_03_0012.xml", "product_code":"apig", - "code":"38", - "des":"After creating an API, debug it on the APIG console by setting HTTP headers and body parameters to verify whether the API is running normally.APIs with backend request pa", + "code":"35", + "des":"After creating an API, debug it on the APIG console by setting HTTP headers and body to verify whether the API is running normally.APIs with backend request paths contain", "doc_type":"usermanual", "kw":"Debugging an API,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Debugging an API", "githuburl":"" }, { - "uri":"apig-en-ug-180307021.html", + "uri":"apig_03_0013.html", + "node_id":"apig_03_0013.xml", "product_code":"apig", - "code":"39", - "des":"APIs using app authentication can only be called by apps that have been authorized to call them.You can only authorize apps to call published APIs.You can authorize apps ", + "code":"36", + "des":"APIs using app authentication can only be called by credentials that have been authorized to call them.You can authorize credentials only to call APIs that use app authen", "doc_type":"usermanual", - "kw":"Authorizing Apps to Call an API,API Management,User Guide", - "title":"Authorizing Apps to Call an API", + "kw":"Authorizing API Access,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Authorizing API Access", "githuburl":"" }, { - "uri":"apig-en-ug-180307023.html", + "uri":"apig_03_0014.html", + "node_id":"apig_03_0014.xml", "product_code":"apig", - "code":"40", + "code":"37", "des":"APIs can be called only after they have been published in an environment. You can publish APIs in different environments. APIG allows you to view the publication history ", "doc_type":"usermanual", "kw":"Publishing an API,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Publishing an API", "githuburl":"" }, { - "uri":"apig-en-ug-180307024.html", + "uri":"apig_03_0070.html", + "node_id":"apig_03_0070.xml", "product_code":"apig", - "code":"41", + "code":"38", "des":"You can remove APIs that you do not need from the environments where the APIs have been published.This operation will cause the APIs to be inaccessible in the environment", "doc_type":"usermanual", "kw":"Taking an API Offline,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Taking an API Offline", "githuburl":"" }, { - "uri":"apig-en-ug-180307027.html", + "uri":"apig_03_0082.html", + "node_id":"apig_03_0082.xml", "product_code":"apig", - "code":"42", - "des":"You can delete published APIs you no longer require.Deleted APIs cannot be accessed by apps or users who were using the APIs, so make sure you notify users before the del", + "code":"39", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Deleting an API,API Management,User Guide", - "title":"Deleting an API", + "kw":"Importing and Exorting APIs", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Importing and Exorting APIs", "githuburl":"" }, { - "uri":"apig-en-ug-181025104.html", + "uri":"apig_03_0083.html", + "node_id":"apig_03_0083.xml", "product_code":"apig", - "code":"43", - "des":"APIG allows you to import Swagger 2.0 APIs to existing or new API groups. Swagger is an open-source tool built based on OpenAPI specifications to design, build, record, a", + "code":"40", + "des":"Note the following restrictions and compatibility issues when importing or exporting APIs on APIG:APIG parameter restrictions:APIG does not support the configuration of r", "doc_type":"usermanual", - "kw":"Importing APIs,API Management,User Guide", + "kw":"Restrictions and Compatibility,Importing and Exorting APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Restrictions and Compatibility", + "githuburl":"" + }, + { + "uri":"apig_03_0067.html", + "node_id":"apig_03_0067.xml", + "product_code":"apig", + "code":"41", + "des":"You can import Swagger and OpenAPI APIs to a new or existing API group on APIG. Before importing APIs, complete the extended definition of APIG.When you import APIs to a ", + "doc_type":"usermanual", + "kw":"Importing APIs,Importing and Exorting APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Importing APIs", "githuburl":"" }, { - "uri":"apig-en-ug-181204105.html", + "uri":"apig_03_0015.html", + "node_id":"apig_03_0015.xml", "product_code":"apig", - "code":"44", - "des":"You can export APIs one by one or in batches as JSON or YAML files.You have created an API group and API.The export result is displayed on the right.", + "code":"42", + "des":"You can export APIs one by one or in batches as JSON, YAML, or YML files.Or choose API Management > APIs, and click Export APIs.", "doc_type":"usermanual", - "kw":"Exporting APIs,API Management,User Guide", + "kw":"Exporting APIs,Importing and Exorting APIs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Exporting APIs", "githuburl":"" }, { - "uri":"apig-en-ug-180307028.html", + "uri":"apig_03_0084.html", + "node_id":"apig_03_0084.xml", "product_code":"apig", - "code":"45", + "code":"43", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Request Throttling", + "kw":"Extended Definition", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Extended Definition", + "githuburl":"" + }, + { + "uri":"apig_03_0085.html", + "node_id":"apig_03_0085.xml", + "product_code":"apig", + "code":"44", + "des":"Meaning: Swagger-based apiKey authentication format, which defines an authentication mode provided by APIG.Scope of effect: Security Scheme Object (2.0)/Security Scheme O", + "doc_type":"usermanual", + "kw":"x-apigateway-auth-type,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-auth-type", + "githuburl":"" + }, + { + "uri":"apig_03_0086.html", + "node_id":"apig_03_0086.xml", + "product_code":"apig", + "code":"45", + "des":"Meaning: API request type, which can be public or private.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-request-type,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-request-type", + "githuburl":"" + }, + { + "uri":"apig_03_0087.html", + "node_id":"apig_03_0087.xml", + "product_code":"apig", + "code":"46", + "des":"Meaning: Request URL matching mode, which can be NORMAL or SWA.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-match-mode,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-match-mode", + "githuburl":"" + }, + { + "uri":"apig_03_0088.html", + "node_id":"apig_03_0088.xml", + "product_code":"apig", + "code":"47", + "des":"Meaning: Specifies whether CORS is supported. The value is of the Boolean type.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:For the API request f", + "doc_type":"usermanual", + "kw":"x-apigateway-cors,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-cors", + "githuburl":"" + }, + { + "uri":"apig_03_0106.html", + "node_id":"apig_03_0106.xml", + "product_code":"apig", + "code":"48", + "des":"Meaning: Whether to perform Base64 encoding on the request body used for interaction with FunctionGraph. The value is of the Boolean type.Scope of effect: Operation Objec", + "doc_type":"usermanual", + "kw":"x-apigateway-is-send-fg-body-base64,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-is-send-fg-body-base64", + "githuburl":"" + }, + { + "uri":"apig_03_0089.html", + "node_id":"apig_03_0089.xml", + "product_code":"apig", + "code":"49", + "des":"Meaning: API request method used by default if no HTTP request method is specified.Scope of effect: Path Item Object (2.0)/Path Item Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-any-method,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-any-method", + "githuburl":"" + }, + { + "uri":"apig_03_0090.html", + "node_id":"apig_03_0090.xml", + "product_code":"apig", + "code":"50", + "des":"Meaning: API backend definition.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend", + "githuburl":"" + }, + { + "uri":"apig_03_0091.html", + "node_id":"apig_03_0091.xml", + "product_code":"apig", + "code":"51", + "des":"Meaning: API backend service definition.Scope of effect: x-apigateway-backendExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend.parameters,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend.parameters", + "githuburl":"" + }, + { + "uri":"apig_03_0092.html", + "node_id":"apig_03_0092.xml", + "product_code":"apig", + "code":"52", + "des":"Meaning: HTTP backend service definition.Scope of effect: x-apigateway-backendExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend.httpEndpoints,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend.httpEndpoints", + "githuburl":"" + }, + { + "uri":"apig_03_0093.html", + "node_id":"apig_03_0093.xml", + "product_code":"apig", + "code":"53", + "des":"Meaning: HTTP VPC backend service definition.Scope of effect: x-apigateway-backendExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend.httpVpcEndpoints,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend.httpVpcEndpoints", + "githuburl":"" + }, + { + "uri":"apig_03_0094.html", + "node_id":"apig_03_0094.xml", + "product_code":"apig", + "code":"54", + "des":"Meaning: Function backend service definition.Scope of effect: x-apigateway-backendExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend.functionEndpoints,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend.functionEndpoints", + "githuburl":"" + }, + { + "uri":"apig_03_0095.html", + "node_id":"apig_03_0095.xml", + "product_code":"apig", + "code":"55", + "des":"Meaning: Mock backend service definition.Scope of effect: x-apigateway-backendExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend.mockEndpoints,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend.mockEndpoints", + "githuburl":"" + }, + { + "uri":"apig_03_0096.html", + "node_id":"apig_03_0096.xml", + "product_code":"apig", + "code":"56", + "des":"Meaning: API backend policy.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend-policies,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend-policies", + "githuburl":"" + }, + { + "uri":"apig_03_0097.html", + "node_id":"apig_03_0097.xml", + "product_code":"apig", + "code":"57", + "des":"Meaning: API backend policy conditions.Scope of effect: x-apigateway-backend-policiesExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-backend-policies.conditions,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-backend-policies.conditions", + "githuburl":"" + }, + { + "uri":"apig_03_0098.html", + "node_id":"apig_03_0098.xml", + "product_code":"apig", + "code":"58", + "des":"Meaning: Request throttling policy.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-ratelimit,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-ratelimit", + "githuburl":"" + }, + { + "uri":"apig_03_0099.html", + "node_id":"apig_03_0099.xml", + "product_code":"apig", + "code":"59", + "des":"Meaning: Mapping between a request throttling policy name and limit values.Scope of effect: Swagger ObjectExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-ratelimits,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-ratelimits", + "githuburl":"" + }, + { + "uri":"apig_03_0100.html", + "node_id":"apig_03_0100.xml", + "product_code":"apig", + "code":"60", + "des":"Meaning: Definition of a request throttling policy.Scope of effect: x-apigateway-ratelimitsExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-ratelimits.policy,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-ratelimits.policy", + "githuburl":"" + }, + { + "uri":"apig_03_0101.html", + "node_id":"apig_03_0101.xml", + "product_code":"apig", + "code":"61", + "des":"Meaning: Definition of a special request throttling policy.Scope of effect: x-apigateway-ratelimits.policyExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-ratelimits.policy.special,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-ratelimits.policy.special", + "githuburl":"" + }, + { + "uri":"apig_03_0102.html", + "node_id":"apig_03_0102.xml", + "product_code":"apig", + "code":"62", + "des":"Meaning: Access control policy.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-access-control,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-access-control", + "githuburl":"" + }, + { + "uri":"apig_03_0103.html", + "node_id":"apig_03_0103.xml", + "product_code":"apig", + "code":"63", + "des":"Meaning: Mapping between an access control policy name and limit settings.Scope of effect: Swagger ObjectExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-access-controls,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-access-controls", + "githuburl":"" + }, + { + "uri":"apig_03_0104.html", + "node_id":"apig_03_0104.xml", + "product_code":"apig", + "code":"64", + "des":"Meaning: Definition of an access control policy.Scope of effect: x-apigateway-access-controlsExample:", + "doc_type":"usermanual", + "kw":"x-apigateway-access-controls.policy,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-access-controls.policy", + "githuburl":"" + }, + { + "uri":"apig_03_0105.html", + "node_id":"apig_03_0105.xml", + "product_code":"apig", + "code":"65", + "des":"Meaning: API plug-in service.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", + "doc_type":"usermanual", + "kw":"x-apigateway-plugins,Extended Definition,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"x-apigateway-plugins", + "githuburl":"" + }, + { + "uri":"apig_03_0016.html", + "node_id":"apig_03_0016.xml", + "product_code":"apig", + "code":"66", + "des":"The APIs page displays all APIs of the current gateway, including the URL, running environment, and authentication mode.", + "doc_type":"usermanual", + "kw":"Viewing APIs,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Viewing APIs", + "githuburl":"" + }, + { + "uri":"apig_03_0069.html", + "node_id":"apig_03_0069.xml", + "product_code":"apig", + "code":"67", + "des":"APIG supports HTTP/2, which is a major revision of HTTP and was originally named HTTP 2.0. It provides binary encoding, request multiplexing over a single connection, and", + "doc_type":"usermanual", + "kw":"HTTP 2.0,API Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"HTTP 2.0", + "githuburl":"" + }, + { + "uri":"apig_03_0017.html", + "node_id":"apig_03_0017.xml", + "product_code":"apig", + "code":"68", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"API Policies", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"API Policies", + "githuburl":"" + }, + { + "uri":"apig_03_0019.html", + "node_id":"apig_03_0019.xml", + "product_code":"apig", + "code":"69", + "des":"APIG provides flexible API control policies.Policy parameters will be stored as plaintext. To prevent information leakage, do not contain sensitive information in these p", + "doc_type":"usermanual", + "kw":"Creating a Policy and Binding It to APIs,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating a Policy and Binding It to APIs", + "githuburl":"" + }, + { + "uri":"apig_03_0021.html", + "node_id":"apig_03_0021.xml", + "product_code":"apig", + "code":"70", + "des":"For security purposes, the browser restricts cross-domain requests from being initiated from a page script. In this case, the page can access only the resources from the ", + "doc_type":"usermanual", + "kw":"CORS,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"CORS", + "githuburl":"" + }, + { + "uri":"apig_03_0022.html", + "node_id":"apig_03_0022.xml", + "product_code":"apig", + "code":"71", + "des":"HTTP response headers are part of the response returned by APIG to a client that calls an API. You can customize HTTP response headers that will be contained in an API re", + "doc_type":"usermanual", + "kw":"HTTP Response Header Management,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"HTTP Response Header Management", + "githuburl":"" + }, + { + "uri":"apig_03_0054.html", + "node_id":"apig_03_0054.xml", + "product_code":"apig", + "code":"72", + "des":"A request throttling 2.0 policy limits the number of times that an API can be called within a specific time period. Parameter-based, basic, and excluded throttling is sup", + "doc_type":"usermanual", + "kw":"Request Throttling 2.0,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Request Throttling 2.0", + "githuburl":"" + }, + { + "uri":"apig_03_0061.html", + "node_id":"apig_03_0061.xml", + "product_code":"apig", + "code":"73", + "des":"Kafka log push policies push calling logs of open APIs to Kafka for analysis.If your gateway does not support this policy, contact technical support to upgrade the gatewa", + "doc_type":"usermanual", + "kw":"Kafka Log Push,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Kafka Log Push", + "githuburl":"" + }, + { + "uri":"apig_03_0023.html", + "node_id":"apig_03_0023.xml", + "product_code":"apig", + "code":"74", + "des":"Circuit breaker policies protect your backend services when a performance issue occurs. If the backend service of an API times out for N consecutive times or if the laten", + "doc_type":"usermanual", + "kw":"Circuit Breaker,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Circuit Breaker", + "githuburl":"" + }, + { + "uri":"apig_03_0077.html", + "node_id":"apig_03_0077.xml", + "product_code":"apig", + "code":"75", + "des":"You can configure your own service to authenticate API requests. APIG first invokes this service for authentication, and then invokes the backend service after receiving ", + "doc_type":"usermanual", + "kw":"Third-Party Authorizer,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Third-Party Authorizer", + "githuburl":"" + }, + { + "uri":"apig_03_0025.html", + "node_id":"apig_03_0025.xml", + "product_code":"apig", + "code":"76", + "des":"Request throttling limits the number of times APIs can be called by a user or app within a specific time period to protect backend services. The throttling can be down to", + "doc_type":"usermanual", + "kw":"Request Throttling,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Request Throttling", "githuburl":"" }, { - "uri":"apig-en-ug-180307029.html", + "uri":"apig_03_0027.html", + "node_id":"apig_03_0027.xml", "product_code":"apig", - "code":"46", - "des":"Request throttling controls the number of times an API can be called within a time period to protect backend services.To provide stable, uninterrupted services, you can c", + "code":"77", + "des":"Access control policies are a type of security measures provided by APIG. You can use them to allow or deny API access from specific IP addresses, account names, or accou", "doc_type":"usermanual", - "kw":"Creating a Request Throttling Policy,Request Throttling,User Guide", - "title":"Creating a Request Throttling Policy", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307032.html", - "product_code":"apig", - "code":"47", - "des":"You can delete request throttling policies you no longer require.You have created a request throttling policy.In the Operation column of the request throttling policy you", - "doc_type":"usermanual", - "kw":"Deleting a Request Throttling Policy,Request Throttling,User Guide", - "title":"Deleting a Request Throttling Policy", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307033.html", - "product_code":"apig", - "code":"48", - "des":"If you want to control the number of API calls received from a specific app or tenant, add an excluded app or tenant to a request throttling policy.You have created an ap", - "doc_type":"usermanual", - "kw":"Adding an Excluded App or Tenant,Request Throttling,User Guide", - "title":"Adding an Excluded App or Tenant", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307035.html", - "product_code":"apig", - "code":"49", - "des":"You can remove excluded apps or tenants from a request throttling policy. This section takes an excluded app as an example.You have created a request throttling policy.Yo", - "doc_type":"usermanual", - "kw":"Removing an Excluded App or Tenant,Request Throttling,User Guide", - "title":"Removing an Excluded App or Tenant", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180712096.html", - "product_code":"apig", - "code":"50", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Access Control", + "kw":"Access Control,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Access Control", "githuburl":"" }, { - "uri":"apig-en-ug-180712097.html", + "uri":"apig_03_0028.html", + "node_id":"apig_03_0028.xml", "product_code":"apig", - "code":"51", - "des":"Access control policies are a type of security measures provided by APIG. You can use them to allow or deny API access from specific IP addresses or accounts.Access contr", - "doc_type":"usermanual", - "kw":"Creating an Access Control Policy,Access Control,User Guide", - "title":"Creating an Access Control Policy", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180712100.html", - "product_code":"apig", - "code":"52", - "des":"You can delete access control policies you no longer require.You have created an access control policy.In the Operation column of the access control policy you want to de", - "doc_type":"usermanual", - "kw":"Deleting an Access Control Policy,Access Control,User Guide", - "title":"Deleting an Access Control Policy", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307036.html", - "product_code":"apig", - "code":"53", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Environment Management", - "title":"Environment Management", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307037.html", - "product_code":"apig", - "code":"54", - "des":"An API can be called in different environments, such as production, testing, and development environments. RELEASE is the default environment provided by APIG. You can de", - "doc_type":"usermanual", - "kw":"Creating an Environment and Environment Variable,Environment Management,User Guide", - "title":"Creating an Environment and Environment Variable", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307039.html", - "product_code":"apig", - "code":"55", - "des":"You can delete environments you no longer require.You have created an environment.You can delete an environment only if no APIs have been published in the environment.", - "doc_type":"usermanual", - "kw":"Deleting an Environment,Environment Management,User Guide", - "title":"Deleting an Environment", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307040.html", - "product_code":"apig", - "code":"56", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Signature Key Management", - "title":"Signature Key Management", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307041.html", - "product_code":"apig", - "code":"57", + "code":"78", "des":"Signature keys are used by backend services to verify the identity of APIG.A signature key consists of a key and secret, and can be used only after being bound to an API.", "doc_type":"usermanual", - "kw":"Creating and Using a Signature Key,Signature Key Management,User Guide", - "title":"Creating and Using a Signature Key", + "kw":"Signature Keys,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Signature Keys", "githuburl":"" }, { - "uri":"apig-en-ug-180307045.html", + "uri":"apig_03_0029.html", + "node_id":"apig_03_0029.xml", "product_code":"apig", - "code":"58", - "des":"You can delete signature keys you no longer require.You have created a signature key.In the Operation column of the signature key you want to delete, click Delete.Click t", + "code":"79", + "des":"APIG supports custom authentication of both frontend and backend requests.Frontend custom authentication: If you already have an authentication system, you can configure ", "doc_type":"usermanual", - "kw":"Deleting a Signature Key,Signature Key Management,User Guide", - "title":"Deleting a Signature Key", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180425080.html", - "product_code":"apig", - "code":"59", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"VPC Channel Management", - "title":"VPC Channel Management", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180425081.html", - "product_code":"apig", - "code":"60", - "des":"VPC channels allow services deployed in VPCs to be accessed through their subnets, lowering latency and balancing loads of backend services.After creating a VPC channel, ", - "doc_type":"usermanual", - "kw":"Creating a VPC Channel,VPC Channel Management,User Guide", - "title":"Creating a VPC Channel", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180425083.html", - "product_code":"apig", - "code":"61", - "des":"You can delete VPC channels you no longer require.VPC channels that are currently in use by published APIs cannot be deleted.You have created a VPC channel.In the Operati", - "doc_type":"usermanual", - "kw":"Deleting a VPC Channel,VPC Channel Management,User Guide", - "title":"Deleting a VPC Channel", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180425084.html", - "product_code":"apig", - "code":"62", - "des":"You can modify the health check configurations of a VPC channel to meet service requirements.You have created a VPC channel.Health check configurationsParameterDescriptio", - "doc_type":"usermanual", - "kw":"Editing Health Check Configurations,VPC Channel Management,User Guide", - "title":"Editing Health Check Configurations", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180502087.html", - "product_code":"apig", - "code":"63", - "des":"You can add or remove cloud servers and edit cloud server weights for VPC channels to meet service requirements.You have created a VPC channel.Adding cloud serversClick S", - "doc_type":"usermanual", - "kw":"Editing Cloud Server Configurations of a VPC Channel,VPC Channel Management,User Guide", - "title":"Editing Cloud Server Configurations of a VPC Channel", - "githuburl":"" - }, - { - "uri":"apic-ug-190430104.html", - "product_code":"apig", - "code":"64", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Custom Authorizers", + "kw":"Custom Authorizers,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Custom Authorizers", "githuburl":"" }, { - "uri":"apic-ug-190430105.html", - "product_code":"apig", - "code":"65", - "des":"This feature is currently unavailable because FunctionGraph has not been launched.APIG supports custom authentication of both frontend and backend requests.Frontend custo", - "doc_type":"usermanual", - "kw":"Creating a Custom Authorizer,Custom Authorizers,User Guide", - "title":"Creating a Custom Authorizer", - "githuburl":"" - }, - { - "uri":"apic-ug-190430106.html", - "product_code":"apig", - "code":"66", - "des":"You can delete custom authorizers you no longer require.Custom authentication is implemented using FunctionGraph and not supported if FunctionGraph is unavailable in the ", - "doc_type":"usermanual", - "kw":"Deleting a Custom Authorizer,Custom Authorizers,User Guide", - "title":"Deleting a Custom Authorizer", - "githuburl":"" - }, - { - "uri":"apig-ug-0001.html", - "product_code":"apig", - "code":"67", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Plug-ins", - "title":"Plug-ins", - "githuburl":"" - }, - { - "uri":"apig-ug-0004.html", - "product_code":"apig", - "code":"68", - "des":"APIG provides flexible extension capabilities for APIs through plug-ins.Plug-in parameters will be stored as plaintext. To prevent information leakage, do not contain sen", - "doc_type":"usermanual", - "kw":"Creating a Plug-in,Plug-ins,User Guide", - "title":"Creating a Plug-in", - "githuburl":"" - }, - { - "uri":"apig-ug-0002.html", - "product_code":"apig", - "code":"69", - "des":"For security purposes, the browser restricts cross-domain requests from being initiated from a page script. In this case, the page can access only the resources from the ", - "doc_type":"usermanual", - "kw":"CORS Plug-in,Plug-ins,User Guide", - "title":"CORS Plug-in", - "githuburl":"" - }, - { - "uri":"apig-ug-0005.html", - "product_code":"apig", - "code":"70", - "des":"HTTP response headers are part of the response returned by APIG to a client that calls an API. You can customize HTTP response headers that will be contained in an API re", - "doc_type":"usermanual", - "kw":"HTTP Response Header Management Plug-in,Plug-ins,User Guide", - "title":"HTTP Response Header Management Plug-in", - "githuburl":"" - }, - { - "uri":"apig-ug-0015.html", - "product_code":"", - "code":"71", - "des":"The request throttling plug-in limits the number of times an API can be called within a specific time period. It supports parameter-based, basic, and excluded throttling.", - "doc_type":"", - "kw":"Request Throttling Plug-in,Plug-ins,User Guide", - "title":"Request Throttling Plug-in", - "githuburl":"" - }, - { - "uri":"apig-ug-0003.html", - "product_code":"apig", - "code":"72", - "des":"You can delete plug-ins you no longer require. To delete a plug-in that has been bound to APIs, unbind the plug-in from the APIs and then delete it.You have created a plu", - "doc_type":"usermanual", - "kw":"Deleting a Plug-in,Plug-ins,User Guide", - "title":"Deleting a Plug-in", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180413077.html", - "product_code":"apig", - "code":"73", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Monitoring", - "title":"Monitoring", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180427085.html", - "product_code":"apig", - "code":"74", - "des":"This section describes the metrics that APIG reports to the Cloud Eye service. You can view metrics and alarms by using the Cloud Eye console.Dedicated gateway: SYS.APIC", - "doc_type":"usermanual", - "kw":"APIG Metrics,Monitoring,User Guide", - "title":"APIG Metrics", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180524089.html", - "product_code":"apig", - "code":"75", - "des":"You can create alarm rules to monitor the status of your APIs.An alarm rule consists of a rule name, monitored objects, metrics, alarm thresholds, monitoring interval, an", - "doc_type":"usermanual", - "kw":"Creating Alarm Rules,Monitoring,User Guide", - "title":"Creating Alarm Rules", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180427086.html", - "product_code":"apig", - "code":"76", - "des":"Cloud Eye monitors the status of your APIs and allows you to view their metrics.You have created an API group and API.API metrics are displayed on the Dashboard tab page.", - "doc_type":"usermanual", - "kw":"Viewing Metrics,Monitoring,User Guide", - "title":"Viewing Metrics", - "githuburl":"" - }, - { - "uri":"apig-ug-0009.html", - "product_code":"apig", - "code":"77", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"API Calling", - "title":"API Calling", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307048.html", - "product_code":"apig", - "code":"78", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"App Management", - "title":"App Management", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307049.html", - "product_code":"apig", - "code":"79", - "des":"For an API that uses app authentication, you can create an app and use the app and its ID and key pair (AppKey and AppSecret) to call the API. You can use an app to call ", - "doc_type":"usermanual", - "kw":"Creating an App and Obtaining Authorization,App Management,User Guide", - "title":"Creating an App and Obtaining Authorization", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307051.html", + "uri":"apig_03_0055.html", + "node_id":"apig_03_0055.xml", "product_code":"apig", "code":"80", - "des":"You can delete apps you no longer require.You have created an app.In the Operation column of the app you want to delete, click Delete.Click the name of the target app, an", + "des":"API groups that contain HTTPS-compatible APIs must have their independent domain names bound with SSL certificates. SSL certificates are used for data encryption and iden", "doc_type":"usermanual", - "kw":"Deleting an App,App Management,User Guide", - "title":"Deleting an App", + "kw":"SSL Certificates,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"SSL Certificates", "githuburl":"" }, { - "uri":"apig-en-ug-180307053.html", + "uri":"apig_03_0040.html", + "node_id":"apig_03_0040.xml", "product_code":"apig", "code":"81", - "des":"You can reset the AppSecret of an app. The AppKey is unique and cannot be reset. When you reset the AppSecret, it becomes invalid and APIs bound to the app cannot be call", + "des":"Load balance channels expose your services through dedicated gateways, and are accessed through subnets in VPCs for lower latency. The server channel balances loads of ba", "doc_type":"usermanual", - "kw":"Resetting the AppSecret of an App,App Management,User Guide", - "title":"Resetting the AppSecret of an App", + "kw":"Load Balance Channels,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Load Balance Channels", "githuburl":"" }, { - "uri":"apig-lgug-200227001.html", + "uri":"apig_03_0041.html", + "node_id":"apig_03_0041.xml", "product_code":"apig", "code":"82", - "des":"AppCodes are identity credentials of an app used to call APIs in simple authentication mode. In this mode, the X-Apig-AppCode parameter (whose value is an AppCode on the ", + "des":"An API can be called in different environments, such as production, testing, and development environments. RELEASE is the default environment provided by APIG.After the e", "doc_type":"usermanual", - "kw":"Adding an AppCode for Simple Authentication,App Management,User Guide", + "kw":"Managing Environments,API Policies,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Managing Environments", + "githuburl":"" + }, + { + "uri":"apig_03_0030.html", + "node_id":"apig_03_0030.xml", + "product_code":"apig", + "code":"83", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Credentials", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Credentials", + "githuburl":"" + }, + { + "uri":"apig_03_0056.html", + "node_id":"apig_03_0056.xml", + "product_code":"apig", + "code":"84", + "des":"For APIs that use app authentication, create credentials to generate credential IDs and key/secret pairs. When calling such an API, bind a credential to the API, use the ", + "doc_type":"usermanual", + "kw":"Creating a Credential and Binding It to APIs,Credentials,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating a Credential and Binding It to APIs", + "githuburl":"" + }, + { + "uri":"apig_03_0057.html", + "node_id":"apig_03_0057.xml", + "product_code":"apig", + "code":"85", + "des":"Reset the secret of a credential as necessary. After resetting, the original secret becomes invalid and APIs to which the credential is bound cannot be called. To call th", + "doc_type":"usermanual", + "kw":"Resetting Secret,Credentials,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Resetting Secret", + "githuburl":"" + }, + { + "uri":"apig_03_0058.html", + "node_id":"apig_03_0058.xml", + "product_code":"apig", + "code":"86", + "des":"AppCodes are identity credentials of a credential used to call APIs in simple authentication mode. In this mode, the X-Apig-AppCode parameter (whose value is an AppCode o", + "doc_type":"usermanual", + "kw":"Adding an AppCode for Simple Authentication,Credentials,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Adding an AppCode for Simple Authentication", "githuburl":"" }, { - "uri":"apig-en-ug-180307054.html", - "product_code":"apig", - "code":"83", - "des":"You can view the details of an API to which an app has been bound.You have created an app.The app has been bound to an API.", - "doc_type":"usermanual", - "kw":"Viewing API Details,App Management,User Guide", - "title":"Viewing API Details", - "githuburl":"" - }, - { - "uri":"en-us_topic_0000001174497029.html", - "product_code":"apig", - "code":"84", - "des":"This section describes how to obtain and analyze the API calling logs of dedicated gateways.APIs have been called.Fields in access logs are separated using spaces. The fo", - "doc_type":"usermanual", - "kw":"Log Analysis,API Calling,User Guide", - "title":"Log Analysis", - "githuburl":"" - }, - { - "uri":"apig-ug-0010.html", - "product_code":"apig", - "code":"85", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Calling Published APIs", - "title":"Calling Published APIs", - "githuburl":"" - }, - { - "uri":"apig-ug-0011.html", - "product_code":"apig", - "code":"86", - "des":"Before calling APIs, obtain the request information from the API provider, including the access domain name, protocol, method, path, and request parameters.Obtain APIs: f", - "doc_type":"usermanual", - "kw":"Calling APIs,Calling Published APIs,User Guide", - "title":"Calling APIs", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180830102.html", + "uri":"apig_03_0059.html", + "node_id":"apig_03_0059.xml", "product_code":"apig", "code":"87", - "des":"The following table describes the response headers that APIG adds to the response returned when an API is called.X-Apig-Mode: debug indicates API debugging information.", + "des":"A credential quota policy limits the number of API calls that a credential can make during a specified period.Existing policy: Select a policy.New policy: Configure a pol", "doc_type":"usermanual", - "kw":"Response Headers,Calling Published APIs,User Guide", - "title":"Response Headers", + "kw":"Binding a Credential Quota Policy,Credentials,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Binding a Credential Quota Policy", "githuburl":"" }, { - "uri":"apig-en-ug-180530090.html", + "uri":"apig_03_0060.html", + "node_id":"apig_03_0060.xml", "product_code":"apig", "code":"88", - "des":"Table 1 lists the error codes that you may encounter when calling APIs.For details about the error codes that may occur when you manage APIs, see section \"Error Codes\" in", + "des":"As a protection mechanism for backend services, access control policies control the client (API caller) IP addresses that can access APIs. You can bind an access control ", "doc_type":"usermanual", - "kw":"Error Codes,Calling Published APIs,User Guide", - "title":"Error Codes", + "kw":"Binding an Access Control Policy,Credentials,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Binding an Access Control Policy", "githuburl":"" }, { - "uri":"apig-ug-190529107.html", + "uri":"apig_03_0031.html", + "node_id":"apig_03_0031.xml", "product_code":"apig", "code":"89", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Permissions Management", - "title":"Permissions Management", + "kw":"Monitoring & Analysis", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Monitoring & Analysis", "githuburl":"" }, { - "uri":"apig-ug-190529109.html", + "uri":"apig_03_0072.html", + "node_id":"apig_03_0072.xml", "product_code":"apig", "code":"90", - "des":"This topic describes how to use Identity and Access Management (IAM) to implement permissions control for your APIG resources. With IAM, you can:Create IAM users for empl", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Creating a User and Granting APIG Permissions,Permissions Management,User Guide", - "title":"Creating a User and Granting APIG Permissions", + "kw":"API Monitoring", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"API Monitoring", "githuburl":"" }, { - "uri":"apig-custom-policy.html", + "uri":"apig_03_0032.html", + "node_id":"apig_03_0032.xml", "product_code":"apig", "code":"91", - "des":"Custom policies can be created to supplement the system-defined policies of APIG. For the actions that can be added to custom policies, see section \"Permissions Policies ", + "des":"This section describes the metrics that APIG reports to the Cloud Eye service. You can view metrics and alarms by using the Cloud Eye console.SYS.APIC", "doc_type":"usermanual", - "kw":"APIG Custom Policies,Permissions Management,User Guide", - "title":"APIG Custom Policies", + "kw":"Monitoring Metrics,API Monitoring,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Monitoring Metrics", "githuburl":"" }, { - "uri":"apig-ug-0020.html", - "product_code":"", + "uri":"apig_03_0033.html", + "node_id":"apig_03_0033.xml", + "product_code":"apig", "code":"92", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", - "kw":"Key Operations Recorded by CTS", - "title":"Key Operations Recorded by CTS", + "des":"You can create alarm rules to monitor the status of your APIs.An alarm rule consists of a rule name, monitored objects, metrics, alarm thresholds, monitoring interval, an", + "doc_type":"usermanual", + "kw":"Creating Alarm Rules,API Monitoring,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating Alarm Rules", "githuburl":"" }, { - "uri":"apig-en-ug-180307058.html", + "uri":"apig_03_0034.html", + "node_id":"apig_03_0034.xml", "product_code":"apig", "code":"93", - "des":"If you want to collect, record, or query operation logs for APIG in common scenarios such as security analysis, audit, and problem locating, enable Cloud Trace Service (C", + "des":"Cloud Eye monitors the status of your APIs and allows you to view their metrics.View the call statistics of an API, including Requests, Latency (ms), Data Traffic (bytes)", "doc_type":"usermanual", - "kw":"APIG operations that can be recorded by CTS,Key Operations Recorded by CTS,User Guide", - "title":"APIG operations that can be recorded by CTS", + "kw":"Viewing Metrics,API Monitoring,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Viewing Metrics", "githuburl":"" }, { - "uri":"apig-ug-0021.html", - "product_code":"", + "uri":"apig_03_0042.html", + "node_id":"apig_03_0042.xml", + "product_code":"apig", "code":"94", - "des":"Query audit logs by following the procedure in section \"Querying Real-Time Traces\" in the Cloud Trace Service User Guide.", - "doc_type":"", - "kw":"Querying Audit Logs,Key Operations Recorded by CTS,User Guide", - "title":"Querying Audit Logs", + "des":"This section describes how to obtain and analyze the API calling logs of a dedicatedgateway.APIs have been called.Fields in access logs are separated using spaces. The fo", + "doc_type":"usermanual", + "kw":"Log Analysis,Monitoring & Analysis,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Log Analysis", "githuburl":"" }, { - "uri":"apig-ug-cmccfaq.html", + "uri":"apig_03_0035.html", + "node_id":"apig_03_0035.xml", "product_code":"apig", "code":"95", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", + "kw":"Gateway Management", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Gateway Management", + "githuburl":"" + }, + { + "uri":"apig_03_0037.html", + "node_id":"apig_03_0037.xml", + "product_code":"apig", + "code":"96", + "des":"This section describes how to create a gateway. You can create APIs and use them to provide services only after a gateway is created.There are some limitations on creatin", + "doc_type":"usermanual", + "kw":"Creating a Gateway,Gateway Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating a Gateway", + "githuburl":"" + }, + { + "uri":"apig_03_0038.html", + "node_id":"apig_03_0038.xml", + "product_code":"apig", + "code":"97", + "des":"You can view and modify the configuration of your gateways on the console.", + "doc_type":"usermanual", + "kw":"Viewing or Modifying Gateway Information,Gateway Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Viewing or Modifying Gateway Information", + "githuburl":"" + }, + { + "uri":"apig_03_0039.html", + "node_id":"apig_03_0039.xml", + "product_code":"apig", + "code":"98", + "des":"This section describes how to configure common parameters for a gateway to adjust component functions.Modifying gateway configuration parameters will interrupt services. ", + "doc_type":"usermanual", + "kw":"Configuring Parameters,Gateway Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Configuring Parameters", + "githuburl":"" + }, + { + "uri":"apig_03_0075.html", + "node_id":"apig_03_0075.xml", + "product_code":"apig", + "code":"99", + "des":"Tags classify your gateways to facilitate search, analysis, and management.You can search, analyze, and manage your resources on the Tag Management Service (TMS) console.", + "doc_type":"usermanual", + "kw":"Managing Tags,Gateway Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Managing Tags", + "githuburl":"" + }, + { + "uri":"apig_03_0063.html", + "node_id":"apig_03_0063.xml", + "product_code":"apig", + "code":"100", + "des":"VPC endpoints are secure and private channels for connecting VPCs to VPC endpoint services.APIs can be exposed and accessed across VPCs in the same region of the same clo", + "doc_type":"usermanual", + "kw":"Managing VPC Endpoints,Gateway Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Managing VPC Endpoints", + "githuburl":"" + }, + { + "uri":"apig_03_0064.html", + "node_id":"apig_03_0064.xml", + "product_code":"apig", + "code":"101", + "des":"If the specifications of a gateway cannot meet your service requirements, upgrade the specifications.During the specification change, the persistent connection is intermi", + "doc_type":"usermanual", + "kw":"Modifying Specifications,Gateway Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Modifying Specifications", + "githuburl":"" + }, + { + "uri":"apig_03_0045.html", + "node_id":"apig_03_0045.xml", + "product_code":"apig", + "code":"102", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Published API Calling", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Published API Calling", + "githuburl":"" + }, + { + "uri":"apig_03_0046.html", + "node_id":"apig_03_0046.xml", + "product_code":"apig", + "code":"103", + "des":"You can call APIs opened by others in APIG.An API can be accessed 1000 times by using the debugging domain name allocated when the API's group is created.If the CA parame", + "doc_type":"usermanual", + "kw":"Calling APIs,Published API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Calling APIs", + "githuburl":"" + }, + { + "uri":"apig_03_0047.html", + "node_id":"apig_03_0047.xml", + "product_code":"apig", + "code":"104", + "des":"The following table describes the response headers that APIG adds to the response returned when an API is called.X-Apig-Mode: debug indicates API debugging information.", + "doc_type":"usermanual", + "kw":"Response Headers,Published API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Response Headers", + "githuburl":"" + }, + { + "uri":"apig_03_0048.html", + "node_id":"apig_03_0048.xml", + "product_code":"apig", + "code":"105", + "des":"The following table lists the error codes that you may encounter when calling APIs.For details about the error codes that may occur when you manage APIs, see section \"Err", + "doc_type":"usermanual", + "kw":"Error Codes,Published API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Error Codes", + "githuburl":"" + }, + { + "uri":"apig_03_0049.html", + "node_id":"apig_03_0049.xml", + "product_code":"apig", + "code":"106", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Permissions Management", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Permissions Management", + "githuburl":"" + }, + { + "uri":"apig_03_0050.html", + "node_id":"apig_03_0050.xml", + "product_code":"apig", + "code":"107", + "des":"This topic describes how to use Identity and Access Management (IAM) to implement fine-grained permissions control for your APIG resources. With IAM, you can:Create IAM u", + "doc_type":"usermanual", + "kw":"Creating a User and Granting APIG Permissions,Permissions Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Creating a User and Granting APIG Permissions", + "githuburl":"" + }, + { + "uri":"apig_03_0051.html", + "node_id":"apig_03_0051.xml", + "product_code":"apig", + "code":"108", + "des":"Custom policies can be created to supplement the system-defined policies of APIG. For the actions that can be added to custom policies, see .You can create custom policie", + "doc_type":"usermanual", + "kw":"APIG Custom Policies,Permissions Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"APIG Custom Policies", + "githuburl":"" + }, + { + "uri":"apig_03_0065.html", + "node_id":"apig_03_0065.xml", + "product_code":"apig", + "code":"109", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Auditing", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Auditing", + "githuburl":"" + }, + { + "uri":"apig_03_0052.html", + "node_id":"apig_03_0052.xml", + "product_code":"apig", + "code":"110", + "des":"If you want to collect, record, or query operation logs for APIG in common scenarios such as security analysis, audit, and problem locating, enable Cloud Trace Service (C", + "doc_type":"usermanual", + "kw":"APIG Operations Recorded by CTS,Auditing,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"APIG Operations Recorded by CTS", + "githuburl":"" + }, + { + "uri":"apig_03_0053.html", + "node_id":"apig_03_0053.xml", + "product_code":"apig", + "code":"111", + "des":"After you enable CTS and the management tracker is created, CTS starts recording operations on cloud resources. CTS stores operation records generated in the last seven d", + "doc_type":"usermanual", + "kw":"Querying Real-Time Traces,Auditing,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], + "title":"Querying Real-Time Traces", + "githuburl":"" + }, + { + "uri":"apig_03_0079.html", + "node_id":"apig_03_0079.xml", + "product_code":"apig", + "code":"112", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", "kw":"FAQs", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"FAQs", "githuburl":"" }, { - "uri":"apig-faq-190803.html", - "product_code":"", - "code":"96", + "uri":"index.html", + "node_id":"index.xml", + "product_code":"apig", + "code":"113", "des":"How Do I Set the Backend Address If I Will Not Use a VPC Channel (or Load Balance Channel)?How Can I Configure the Backend Service Address?Can I Specify a Private Network", - "doc_type":"", + "doc_type":"usermanual", "kw":"Common FAQs,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Common FAQs", "githuburl":"" }, { "uri":"apig-faq-create.html", - "product_code":"", - "code":"97", + "node_id":"apig-faq-create.xml", + "product_code":"apig", + "code":"114", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", + "doc_type":"usermanual", "kw":"API Creation", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"API Creation", "githuburl":"" }, - { - "uri":"apig-faq-2005007.html", - "product_code":"apig", - "code":"98", - "des":"The creation of APIs is free of charge. If you cannot create APIs, your account must be in arrears.", - "doc_type":"usermanual", - "kw":"Why Can't I Create APIs?,API Creation,User Guide", - "title":"Why Can't I Create APIs?", - "githuburl":"" - }, { "uri":"apig-faq-2005001.html", + "node_id":"apig-faq-2005001.xml", "product_code":"apig", - "code":"99", - "des":"API responses are defined by backend services (API providers). API Gateway (APIG) only transparently transmits responses to API callers.", + "code":"115", + "des":"There are two types of responses:Gateway response codes: returned by the gateway for API requests that are throttled, denied, or failed in authentication. For details abo", "doc_type":"usermanual", "kw":"How Do I Define Response Codes for an API?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Define Response Codes for an API?", "githuburl":"" }, { "uri":"apig-faq-2005002.html", + "node_id":"apig-faq-2005002.xml", "product_code":"apig", - "code":"100", - "des":"Use the port of the API backend service.", + "code":"116", + "des":"Use the port of the API backend service.For details about how to configure the API backend, see section \"Creating an API\" in the API Gateway User Guide.", "doc_type":"usermanual", "kw":"How Do I Specify the Host Port for a VPC Channel (or Load Balance Channel)?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Specify the Host Port for a VPC Channel (or Load Balance Channel)?", "githuburl":"" }, { "uri":"apig-faq-2005004.html", + "node_id":"apig-faq-2005004.xml", "product_code":"apig", - "code":"101", - "des":"You can specify the backend address as a public domain name or a public IP address, such as the Elastic IP (EIP) of an Elastic Cloud Server (ECS).", + "code":"117", + "des":"Specify the backend address as a public domain name or a public IP address, such as the Elastic IP (EIP) of an Elastic Cloud Server (ECS). To do this, enable public outbo", "doc_type":"usermanual", "kw":"How Do I Set the Backend Address If I Will Not Use a VPC Channel (or Load Balance Channel)?,API Crea", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Set the Backend Address If I Will Not Use a VPC Channel (or Load Balance Channel)?", "githuburl":"" }, { "uri":"apig-faq-190627028.html", - "product_code":"", - "code":"102", - "des":"Configure the backend service address as an ECS EIP, or the public IP address or domain name of your own server.", - "doc_type":"", + "node_id":"apig-faq-190627028.xml", + "product_code":"apig", + "code":"118", + "des":"Configure the backend service address as an ECS EIP, or the public IP address or domain name of your own server.For details about how to configure the API backend, see se", + "doc_type":"usermanual", "kw":"How Can I Configure the Backend Service Address?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Can I Configure the Backend Service Address?", "githuburl":"" }, { "uri":"apig-faq-2005003.html", + "node_id":"apig-faq-2005003.xml", "product_code":"apig", - "code":"103", + "code":"119", "des":"For dedicated gateways, you can use private network load balancer addresses.Alternatively, you can use the EIP bound to a public network load balancer.", "doc_type":"usermanual", "kw":"Can I Specify a Private Network Load Balancer Address for the Backend Service?,API Creation,User Gui", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can I Specify a Private Network Load Balancer Address for the Backend Service?", "githuburl":"" }, { "uri":"apig-faq-2005006.html", + "node_id":"apig-faq-2005006.xml", "product_code":"apig", - "code":"104", + "code":"120", "des":"If you use a dedicated gateway, you can specify either an IP address that belongs to the same subnet where the gateway is deployed, or the private address of a local data", "doc_type":"usermanual", "kw":"Can I Specify the Backend Address as a Subnet IP Address?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can I Specify the Backend Address as a Subnet IP Address?", "githuburl":"" }, { - "uri":"apig-en-faq-180606012.html", - "product_code":"", - "code":"105", - "des":"Yes. APIG supports the configuration of multiple backend endpoints through a VPC channel (also called \"load balance channel\"). You can add multiple cloud servers to each ", - "doc_type":"", + "uri":"apig-faq-180606012.html", + "node_id":"apig-faq-180606012.xml", + "product_code":"apig", + "code":"121", + "des":"YesAPIG supports the configuration of multiple backend endpoints through a VPC channel (also called \"load balance channel\"). You can add multiple cloud servers to each VP", + "doc_type":"usermanual", "kw":"Does APIG Support Multiple Backend Endpoints?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Does APIG Support Multiple Backend Endpoints?", "githuburl":"" }, { "uri":"apig-faq-2005009.html", + "node_id":"apig-faq-2005009.xml", "product_code":"apig", - "code":"106", + "code":"122", "des":"If you are using a dedicated gateway, add an A record that points the independent domain name to the inbound access address of the gateway. You can bind five independent ", "doc_type":"usermanual", "kw":"What Should I Do After Applying for an Independent Domain Name?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What Should I Do After Applying for an Independent Domain Name?", "githuburl":"" }, { "uri":"apig-faq-2005021.html", + "node_id":"apig-faq-2005021.xml", "product_code":"apig", - "code":"107", - "des":"In a dedicated gateway, you can add a private domain name, and add an A record to point the domain name to the inbound access address of the gateway.", + "code":"123", + "des":"In a dedicated gateway, you can add a private domain name (filing not required), and add an A record to point the domain name to the inbound access address of the gateway", "doc_type":"usermanual", "kw":"Can I Bind Private Domain Names for API Access?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can I Bind Private Domain Names for API Access?", "githuburl":"" }, { "uri":"apig-faq-190627027.html", - "product_code":"", - "code":"108", + "node_id":"apig-faq-190627027.xml", + "product_code":"apig", + "code":"124", "des":"Ensure that CORS has been enabled for the API.Go to the API details page, click Edit, and check whether CORS is enabled. If it is not, enable it.Go to the API details pag", - "doc_type":"", + "doc_type":"usermanual", "kw":"Why Does an API Failed to Be Called Across Domains?,API Creation,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Why Does an API Failed to Be Called Across Domains?", "githuburl":"" }, { - "uri":"apig-en-faq-180919017.html", - "product_code":"", - "code":"109", + "uri":"apig-faq-180919017.html", + "node_id":"apig-faq-180919017.xml", + "product_code":"apig", + "code":"125", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", + "doc_type":"usermanual", "kw":"API Calling", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"API Calling", "githuburl":"" }, { "uri":"apig-faq-2005010.html", + "node_id":"apig-faq-2005010.xml", "product_code":"apig", - "code":"110", + "code":"126", "des":"API calling failures may occur in three scenarios: within a VPC, between VPCs, and on a public network.Within a VPC: Check whether the domain name is the same as that aut", "doc_type":"usermanual", "kw":"What Are the Possible Causes for an API Calling Failure?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What Are the Possible Causes for an API Calling Failure?", "githuburl":"" }, { "uri":"apig-faq-2005012.html", + "node_id":"apig-faq-2005012.xml", "product_code":"apig", - "code":"111", - "des":"If an error code is returned when you call your own APIs, see User Guide > Calling Published APIs > Error Codes.If an error code is returned when you manage your APIs, se", + "code":"127", + "des":"If an error code is returned when you call your own APIs, see Error Codes.If an error code is returned when you manage your APIs,see section \"Error Codes\" in the API Gate", "doc_type":"usermanual", "kw":"What Should I Do If an Error Code Is Returned During API Calling?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What Should I Do If an Error Code Is Returned During API Calling?", "githuburl":"" }, { "uri":"apig-faq-2005022.html", + "node_id":"apig-faq-2005022.xml", "product_code":"apig", - "code":"112", - "des":"The request URL (including request parameters) is too long. Place the request parameters in the request body and try again.", + "code":"128", + "des":"The request URL (including request parameters) is too long. Place the request parameters in the request body and try again.For details about API calling errors, see secti", "doc_type":"usermanual", - "kw":"Why Am I Seeing the Error Message \"414 Request-URI Too Large\" When I Call an API?,API Calling,User G", - "title":"Why Am I Seeing the Error Message \"414 Request-URI Too Large\" When I Call an API?", + "kw":"Why Am I Seeing the Error Message \"414 Request URI too large\" When I Call an API?,API Calling,User G", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"Why Am I Seeing the Error Message \"414 Request URI too large\" When I Call an API?", "githuburl":"" }, { "uri":"apig-faq-19123002.html", - "product_code":"", - "code":"113", + "node_id":"apig-faq-19123002.xml", + "product_code":"apig", + "code":"129", "des":"If an open API in APIG failed to be called, troubleshoot the failure by performing the following operations:The domain name, request method, or path used for calling the ", - "doc_type":"", + "doc_type":"usermanual", "kw":"What Should I Do If \"The API does not exist or has not been published in the environment.\" Is Displa", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What Should I Do If \"The API does not exist or has not been published in the environment.\" Is Displayed?", "githuburl":"" }, { - "uri":"apig-en-faq-181016018.html", - "product_code":"", - "code":"114", + "uri":"apig-faq-181016018.html", + "node_id":"apig-faq-181016018.xml", + "product_code":"apig", + "code":"130", "des":"Check whether the backend service is accessible, and modify the backend service if it is inaccessible.Check the ECS security group configurations of the backend service a", - "doc_type":"", + "doc_type":"usermanual", "kw":"Why Am I Seeing the Message \"No backend available\"?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Why Am I Seeing the Message \"No backend available\"?", "githuburl":"" }, { - "uri":"en-us_topic_0087908599.html", - "product_code":"", - "code":"115", + "uri":"apig_0087908599.html", + "node_id":"apig_0087908599.xml", + "product_code":"apig", + "code":"131", "des":"The following table lists the possible causes if a backend service fails to be invoked or the invocation times out.", - "doc_type":"", + "doc_type":"usermanual", "kw":"What Are the Possible Causes If the Message \"Backend unavailable\" or \"Backend timeout\" Is Displayed?", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What Are the Possible Causes If the Message \"Backend unavailable\" or \"Backend timeout\" Is Displayed?", "githuburl":"" }, { "uri":"apig-faq-0004.html", - "product_code":"", - "code":"116", + "node_id":"apig-faq-0004.xml", + "product_code":"apig", + "code":"132", "des":"An error message indicating a domain name resolution failure is displayed when the backend service is called, although private domain name resolution is completed for the", - "doc_type":"", + "doc_type":"usermanual", "kw":"Why Am I Seeing the Message \"Backend domain name resolution failed\" When a Backend Service Is Called", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Why Am I Seeing the Message \"Backend domain name resolution failed\" When a Backend Service Is Called?", "githuburl":"" }, { "uri":"apig-faq-19122004.html", - "product_code":"", - "code":"117", - "des":"Modification of the backend_timeout parameter in a dedicated gateway does not take effect.The Timeout (ms) parameter on the Define Backend Request page is not modified.Lo", - "doc_type":"", + "node_id":"apig-faq-19122004.xml", + "product_code":"apig", + "code":"133", + "des":"Modification of the backend_timeout parameter in gateways does not take effect.The Timeout (ms) parameter on the Define Backend Request page is not modified.Log in to the", + "doc_type":"usermanual", "kw":"Why Doesn't Modification of the backend_timeout Parameter Take Effect?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Why Doesn't Modification of the backend_timeout Parameter Take Effect?", "githuburl":"" }, { "uri":"apig-faq-2005011.html", + "node_id":"apig-faq-2005011.xml", "product_code":"apig", - "code":"118", - "des":"By default, the API in the RELEASE environment is called. If you want to call the same API in another environment, add the request header X-Stage to specify the environme", + "code":"134", + "des":"By default, the API in the RELEASE environment is called.If you want to call the same API in another environment, add the request header X-Stage to specify the environmen", "doc_type":"usermanual", "kw":"How Do I Switch the Environment for API Calling?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Switch the Environment for API Calling?", "githuburl":"" }, { - "uri":"apig-en-faq-180606013.html", - "product_code":"", - "code":"119", + "uri":"apig-faq-180606013.html", + "node_id":"apig-faq-180606013.xml", + "product_code":"apig", + "code":"135", "des":"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 req", - "doc_type":"", + "doc_type":"usermanual", "kw":"What Is the Maximum Size of an API Request Package?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What Is the Maximum Size of an API Request Package?", "githuburl":"" }, { "uri":"apig-faq-190515025.html", - "product_code":"", - "code":"120", - "des":"APIG provides SDKs and demos in multiple languages, such as Java, Python, C, PHP, and Go, for app authentication. To use Objective-C (for iOS) or other languages, see Dev", - "doc_type":"", + "node_id":"apig-faq-190515025.xml", + "product_code":"apig", + "code":"136", + "des":"APIG provides SDKs and demos in multiple languages, such as Java, Python, C, PHP, and Go, for app authentication.To use Objective-C (for iOS) or other languages, see Deve", + "doc_type":"usermanual", "kw":"How Do I Perform App Authentication in iOS System?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Perform App Authentication in iOS System?", "githuburl":"" }, { "uri":"apig-faq-190627029.html", - "product_code":"", - "code":"121", - "des":"The header parameter x-auth-token has already been defined in APIG. To use this parameter to call an API, add the parameter and its value to the request header.", - "doc_type":"", + "node_id":"apig-faq-190627029.xml", + "product_code":"apig", + "code":"137", + "des":"The header parameter x-auth-token has already been defined in APIG.To use this parameter to call an API, add the parameter and its value to the request header.", + "doc_type":"usermanual", "kw":"Why Can't I Create a Header Parameter Named x-auth-token for an API Called Through IAM Authenticatio", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Why Can't I Create a Header Parameter Named x-auth-token for an API Called Through IAM Authentication?", "githuburl":"" }, { "uri":"apig-faq-190627030.html", - "product_code":"", - "code":"122", - "des":"How many apps can I create?You can create a maximum of 50 apps.How do I isolate the calling information among the third parties that call the same API through app authent", - "doc_type":"", - "kw":"App FAQs,API Calling,User Guide", - "title":"App FAQs", + "node_id":"apig-faq-190627030.xml", + "product_code":"apig", + "code":"138", + "des":"How many apps (credentials) can I create?You can create a maximum of 50 apps (credentials).How do I isolate the calling information among the third parties that call the ", + "doc_type":"usermanual", + "kw":"App (Credential) FAQs,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"App (Credential) FAQs", "githuburl":"" }, { - "uri":"apig-en-faq-180307004.html", - "product_code":"", - "code":"123", - "des":"Yes, mobile apps can call APIs. In app authentication mode, the AppKey and AppSecret of a mobile app are replaced with those in the relevant SDK to sign the app.", - "doc_type":"", + "uri":"apig-faq-180307004.html", + "node_id":"apig-faq-180307004.xml", + "product_code":"apig", + "code":"139", + "des":"Yes, mobile apps can call APIs.In app authentication mode, the AppKey and AppSecret of a mobile app are replaced with those in the relevant SDK to sign the app.", + "doc_type":"usermanual", "kw":"Can Mobile Apps Call APIs?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can Mobile Apps Call APIs?", "githuburl":"" }, { - "uri":"apig-en-faq-180307008.html", - "product_code":"", - "code":"124", + "uri":"apig-faq-180307008.html", + "node_id":"apig-faq-180307008.xml", + "product_code":"apig", + "code":"140", "des":"Yes, applications deployed in a VPC can call APIs by default. If domain name resolution fails, configure a DNS server on the current endpoint by following the instruction", - "doc_type":"", + "doc_type":"usermanual", "kw":"Can Applications Deployed in a VPC Call APIs?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can Applications Deployed in a VPC Call APIs?", "githuburl":"" }, { "uri":"apig-faq-190627033.html", - "product_code":"", - "code":"125", - "des":"APIG supports WebSocket data transmission. When creating an API, you can select HTTP, HTTPS, or HTTP&HTTPS. HTTP is equivalent to WebSocket (ws), and HTTPS is equivalent ", - "doc_type":"", - "kw":"How Do I Implement WebSocket Data Transmission?,API Calling,User Guide", - "title":"How Do I Implement WebSocket Data Transmission?", + "node_id":"apig-faq-190627033.xml", + "product_code":"apig", + "code":"141", + "des":"Yes.When creating an API, you can select HTTP, HTTPS, or HTTP&HTTPS. HTTP is equivalent to WebSocket (ws), and HTTPS is equivalent to WebSocket Secure (wss).", + "doc_type":"usermanual", + "kw":"Does APIG Support WebSocket Data Transmission?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"Does APIG Support WebSocket Data Transmission?", "githuburl":"" }, { "uri":"apig-faq-19122001.html", - "product_code":"", - "code":"126", - "des":"Yes. But you should use persistent connections properly to avoid occupying too many resources.", - "doc_type":"", + "node_id":"apig-faq-19122001.xml", + "product_code":"apig", + "code":"142", + "des":"Yes.But you should use persistent connections properly to avoid occupying too many resources.", + "doc_type":"usermanual", "kw":"Does APIG Support Persistent Connections?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Does APIG Support Persistent Connections?", "githuburl":"" }, { "uri":"apig-faq-19123001.html", - "product_code":"", - "code":"127", + "node_id":"apig-faq-19123001.xml", + "product_code":"apig", + "code":"143", "des":"If multiple backend policies are configured for an API, APIG will match the backend policies in sequence. If an API request matches one of the backend policies, APIG imme", - "doc_type":"", + "doc_type":"usermanual", "kw":"How Will the Requests for an API with Multiple Backend Policies Be Matched and Executed?,API Calling", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Will the Requests for an API with Multiple Backend Policies Be Matched and Executed?", "githuburl":"" }, { "uri":"apig-faq-19122003.html", - "product_code":"", - "code":"128", - "des":"No.", - "doc_type":"", + "node_id":"apig-faq-19122003.xml", + "product_code":"apig", + "code":"144", + "des":"No.But there is a limit on the size of the request body. For details, see the request_body_size parameter in the API Gateway User Guide.", + "doc_type":"usermanual", "kw":"Is There a Limit on the Size of the Response to an API Request?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Is There a Limit on the Size of the Response to an API Request?", "githuburl":"" }, { "uri":"apig-faq-0007.html", - "product_code":"", - "code":"129", + "node_id":"apig-faq-0007.xml", + "product_code":"apig", + "code":"145", "des":"Enable public access for the relevant gateway to allow external services to call APIs.If you encounter a network problem when calling APIs, see What Are the Possible Caus", - "doc_type":"", + "doc_type":"usermanual", "kw":"How Can I Access Backend Services over Public Networks Through APIG?,API Calling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Can I Access Backend Services over Public Networks Through APIG?", "githuburl":"" }, { "uri":"apig-faq-auth.html", - "product_code":"", - "code":"130", + "node_id":"apig-faq-auth.xml", + "product_code":"apig", + "code":"146", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", + "doc_type":"usermanual", "kw":"API Authentication", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"API Authentication", "githuburl":"" }, { "uri":"apig-faq-2005013.html", + "node_id":"apig-faq-2005013.xml", "product_code":"apig", - "code":"131", - "des":"Dedicated gateway: Yes.Backend two-way authentication: When creating an API, enable two-way authentication for the backend service. For details, see the description about", + "code":"147", + "des":"Dedicated gateway: Yes.Frontend two-way authentication: When binding an independent domain name, select an SSL certificate that contains a CA certificate. Client authenti", "doc_type":"usermanual", "kw":"Does APIG Support HTTPS Two-Way Authentication?,API Authentication,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Does APIG Support HTTPS Two-Way Authentication?", "githuburl":"" }, { "uri":"apig-faq-2005020.html", + "node_id":"apig-faq-2005020.xml", "product_code":"apig", - "code":"132", + "code":"148", "des":"To call APIs that do not require authentication, construct standard HTTP requests and send them to APIG.APIG transparently transmits requests to call an API that does not", "doc_type":"usermanual", "kw":"How Do I Call an API That Does Not Require Authentication?,API Authentication,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Call an API That Does Not Require Authentication?", "githuburl":"" }, { "uri":"apig-faq-2005015.html", + "node_id":"apig-faq-2005015.xml", "product_code":"apig", - "code":"133", - "des":"APIG supports TLS 1.1 and TLS 1.2, but does not support TLS 1.0 or TLS 1.3.", + "code":"149", + "des":"APIG supports TLS 1.1 and TLS 1.2, but does not support TLS 1.0 or TLS 1.3.For details, see section \"Binding a Domain Name\" in the API Gateway User Guide.", "doc_type":"usermanual", "kw":"Which TLS Versions Does APIG Support?,API Authentication,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Which TLS Versions Does APIG Support?", "githuburl":"" }, { "uri":"apig-faq-2005016.html", + "node_id":"apig-faq-2005016.xml", "product_code":"apig", - "code":"134", - "des":"Yes. For details, see \"Custom Authorizers\" in the User Guide.", + "code":"150", + "des":"Yes.For details, see section \"Custom Authorizers\" in the API Gateway User Guide.", "doc_type":"usermanual", "kw":"Does APIG Support Custom Authentication?,API Authentication,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Does APIG Support Custom Authentication?", "githuburl":"" }, { "uri":"apig-faq-2005018.html", + "node_id":"apig-faq-2005018.xml", "product_code":"apig", - "code":"135", + "code":"151", "des":"Yes. The request body is another element that needs to be signed in addition to the mandatory request header parameters. For example, when an API used to upload a file us", "doc_type":"usermanual", "kw":"Will the Request Body Be Signed for Security Authentication?,API Authentication,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Will the Request Body Be Signed for Security Authentication?", "githuburl":"" }, { "uri":"apig-faq-0003.html", - "product_code":"", - "code":"136", - "des":"You may encounter the following errors related to IAM authentication information:Incorrect IAM authentication information: verify aksk signature failIncorrect IAM authent", - "doc_type":"", + "node_id":"apig-faq-0003.xml", + "product_code":"apig", + "code":"152", + "des":"You may encounter the following errors related to IAM authentication information:Incorrect IAM authentication information: AK access failed to reach the limit,forbiddenIn", + "doc_type":"usermanual", "kw":"Common Errors Related to IAM Authentication Information,API Authentication,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Common Errors Related to IAM Authentication Information", "githuburl":"" }, + { + "uri":"apig-faq-0009.html", + "node_id":"apig-faq-0009.xml", + "product_code":"apig", + "code":"153", + "des":"You may encounter the following errors related to app authentication information:Incorrect app authentication information: app not found, appkey xxxIncorrect app authenti", + "doc_type":"usermanual", + "kw":"What Should I Do If the App Authentication Information Is Incorrect?,API Authentication,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"What Should I Do If the App Authentication Information Is Incorrect?", + "githuburl":"" + }, { "uri":"apig-faq-0002.html", - "product_code":"", - "code":"137", + "node_id":"apig-faq-0002.xml", + "product_code":"apig", + "code":"154", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", + "doc_type":"usermanual", "kw":"API Control Policies", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"API Control Policies", "githuburl":"" }, { "uri":"apig-faq-2005032.html", + "node_id":"apig-faq-2005032.xml", "product_code":"apig", - "code":"138", + "code":"155", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Request Throttling", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Request Throttling", "githuburl":"" }, { "uri":"apig-faq-2005026.html", + "node_id":"apig-faq-2005026.xml", "product_code":"apig", - "code":"139", - "des":"No, but you can limit the maximum number of API calls allowed within a specific period of time.", + "code":"156", + "des":"No,but you can limit the maximum number of API calls allowed within a specific period of time.", "doc_type":"usermanual", "kw":"Can I Configure the Maximum Number of Concurrent Requests?,Request Throttling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can I Configure the Maximum Number of Concurrent Requests?", "githuburl":"" }, { "uri":"apig-faq-190627032.html", - "product_code":"", - "code":"140", - "des":"Yes.", - "doc_type":"", - "kw":"Is the Restriction of 1000 Requests to a Subdomain Name Applied to Enterprise Accounts?,Request Thro", - "title":"Is the Restriction of 1000 Requests to a Subdomain Name Applied to Enterprise Accounts?", + "node_id":"apig-faq-190627032.xml", + "product_code":"apig", + "code":"157", + "des":"Yes.For details about subdomain names (debugging domain names), see section \"Binding a Domain Name\" in the API Gateway User Guide.", + "doc_type":"usermanual", + "kw":"Is the Restriction of 1000 Requests per Day to a Subdomain Name (Debugging Domain Name) Applied to E", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"Is the Restriction of 1000 Requests per Day to a Subdomain Name (Debugging Domain Name) Applied to Enterprise Accounts?", "githuburl":"" }, { "uri":"apig-faq-19122002.html", - "product_code":"", - "code":"141", + "node_id":"apig-faq-19122002.xml", + "product_code":"apig", + "code":"158", "des":"Dedicated gateways have bandwidth limits. When you create a dedicated gateway, you can set the bandwidth for public inbound and outbound access.", - "doc_type":"", - "kw":"Does APIG Has Bandwidth Limits?,Request Throttling,User Guide", - "title":"Does APIG Has Bandwidth Limits?", + "doc_type":"usermanual", + "kw":"Does APIG Have Bandwidth Limits?,Request Throttling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"Does APIG Have Bandwidth Limits?", "githuburl":"" }, { "uri":"apig-faq-0001.html", - "product_code":"", - "code":"142", + "node_id":"apig-faq-0001.xml", + "product_code":"apig", + "code":"159", "des":"API call limit or source IP address request limit of the policy does not take effect.Check whether the policy has been bound to an API.Check whether the policy has been b", - "doc_type":"", + "doc_type":"usermanual", "kw":"Why Doesn't a Request Throttling Policy Take Effect?,Request Throttling,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Why Doesn't a Request Throttling Policy Take Effect?", "githuburl":"" }, { "uri":"apig-faq-2005033.html", + "node_id":"apig-faq-2005033.xml", "product_code":"apig", - "code":"143", + "code":"160", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Access Control", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Access Control", "githuburl":"" }, { "uri":"apig-faq-2005008.html", + "node_id":"apig-faq-2005008.xml", "product_code":"apig", - "code":"144", + "code":"161", "des":"You can provide an open API to specific users in either of the following ways:Select app authentication when you create the API, and share the AppKey and AppSecret with t", "doc_type":"usermanual", "kw":"How Do I Provide an Open API to Specific Users?,Access Control,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Provide an Open API to Specific Users?", "githuburl":"" }, { "uri":"apig-faq-2005023.html", + "node_id":"apig-faq-2005023.xml", "product_code":"apig", - "code":"145", + "code":"162", "des":"You can choose either of the following solutions:Solution 1: Create an API that does not require authentication, and configure an access control policy to whitelist the I", "doc_type":"usermanual", "kw":"How Do I Exclude a Specific IP Address for Identity Authentication of an API?,Access Control,User Gu", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Exclude a Specific IP Address for Identity Authentication of an API?", "githuburl":"" }, { - "uri":"apig-en-faq-180919016.html", - "product_code":"", - "code":"146", + "uri":"apig-faq-0008.html", + "node_id":"apig-faq-0008.xml", + "product_code":"apig", + "code":"163", + "des":"Not necessarily.In APIG, access control is based on the value of $remote_addr. $remote_addr indicates a client IP address and is determined by the access mode. If a clien", + "doc_type":"usermanual", + "kw":"Are Client IP Addresses Verified for Access Control?,Access Control,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"Are Client IP Addresses Verified for Access Control?", + "githuburl":"" + }, + { + "uri":"apig-faq-180919016.html", + "node_id":"apig-faq-180919016.xml", + "product_code":"apig", + "code":"164", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", + "doc_type":"usermanual", "kw":"API Publishing", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"API Publishing", "githuburl":"" }, { - "uri":"apig-en-faq-180307002.html", - "product_code":"", - "code":"147", - "des":"Yes. After you modify the parameters of a published API, you must publish the API again to synchronize the modifications to the environment.", - "doc_type":"", + "uri":"apig-faq-180307002.html", + "node_id":"apig-faq-180307002.xml", + "product_code":"apig", + "code":"165", + "des":"Yes.After you modify the parameters of a published API, you must publish the API again to synchronize the modifications to the environment.For details, see section \"Publi", + "doc_type":"usermanual", "kw":"Do I Need to Publish an API Again After Modification?,API Publishing,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Do I Need to Publish an API Again After Modification?", "githuburl":"" }, { - "uri":"apig-en-faq-180606011.html", - "product_code":"", - "code":"148", - "des":"To make an API published in a non-RELEASE environment accessible, add the x-stage header to the API request.Example:", - "doc_type":"", - "kw":"Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?,API Publishing,User Guide", - "title":"Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?", + "uri":"apig-faq-180606011.html", + "node_id":"apig-faq-180606011.xml", + "product_code":"apig", + "code":"166", + "des":"Yes. To access an API published in a non-RELEASE environment, add the x-stage header to the API request.Example:You can also refer to examples of section \"Quickly Opening", + "doc_type":"usermanual", + "kw":"Can I Access an API Published in a Non-RELEASE Environment?,API Publishing,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"Can I Access an API Published in a Non-RELEASE Environment?", "githuburl":"" }, { - "uri":"apig-en-faq-181016019.html", - "product_code":"", - "code":"149", - "des":"Yes, you can invoke different backend services by publishing an API in different environments while specifying environment variables and backend parameters.", - "doc_type":"", + "uri":"apig-faq-181016019.html", + "node_id":"apig-faq-181016019.xml", + "product_code":"apig", + "code":"167", + "des":"Yes, you can invoke different backend services by publishing an API in different environments while specifying environment variables and backend parameters.For details ab", + "doc_type":"usermanual", "kw":"Can I Invoke Different Backend Services by Publishing an API in Different Environments?,API Publishi", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can I Invoke Different Backend Services by Publishing an API in Different Environments?", "githuburl":"" }, { "uri":"apig-faq-2005027.html", + "node_id":"apig-faq-2005027.xml", "product_code":"apig", - "code":"150", - "des":"APIG debugs APIs in a specific debugging environment. After debugging is completed, you need to publish your API in an environment, and use code or postman to add the X-S", + "code":"168", + "des":"No.APIG debugs APIs in a specific debugging environment. After debugging is completed, you need to publish your API in an environment, and use code or Postman to add the ", "doc_type":"usermanual", - "kw":"How Do I Specify an Environment for API Debugging?,API Publishing,User Guide", - "title":"How Do I Specify an Environment for API Debugging?", + "kw":"Can I Specify an Environment for API Debugging?,API Publishing,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"Can I Specify an Environment for API Debugging?", "githuburl":"" }, { "uri":"apig-faq-2005035.html", + "node_id":"apig-faq-2005035.xml", "product_code":"apig", - "code":"151", + "code":"169", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"API Import and Export", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"API Import and Export", "githuburl":"" }, { "uri":"apig-faq-2005024.html", + "node_id":"apig-faq-2005024.xml", "product_code":"apig", - "code":"152", + "code":"170", "des":"Possible cause 1: The number of APIs exceeds the maximum allowed limit for a single import. For more APIs (300), import them in batches or submit a service ticket to incr", "doc_type":"usermanual", "kw":"Why Does API Import Fail?,API Import and Export,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Why Does API Import Fail?", "githuburl":"" }, { "uri":"apig-faq-2005025.html", + "node_id":"apig-faq-2005025.xml", "product_code":"apig", - "code":"153", + "code":"171", "des":"The template is being developed.Currently, you can configure one or two APIs in APIG, and then export them to use as templates.", "doc_type":"usermanual", "kw":"Does APIG Provide a Template for Importing APIs from Swagger Files?,API Import and Export,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Does APIG Provide a Template for Importing APIs from Swagger Files?", "githuburl":"" }, { - "uri":"apig-en-faq-180919015.html", - "product_code":"", - "code":"154", + "uri":"apig-faq-180919015.html", + "node_id":"apig-faq-180919015.xml", + "product_code":"apig", + "code":"172", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", + "doc_type":"usermanual", "kw":"API Security", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"API Security", "githuburl":"" }, { - "uri":"apig-en-faq-180307003.html", - "product_code":"", - "code":"155", + "uri":"apig-faq-180307003.html", + "node_id":"apig-faq-180307003.xml", + "product_code":"apig", + "code":"173", "des":"Identity authenticationConfigure IAM or App authentication for APIs to prevent malicious calling.Configure IAM or App authentication for APIs to prevent malicious calling", - "doc_type":"", + "doc_type":"usermanual", "kw":"How Can I Protect My APIs?,API Security,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Can I Protect My APIs?", "githuburl":"" }, { - "uri":"apig-en-faq-180307009.html", - "product_code":"", - "code":"156", + "uri":"apig-faq-180307009.html", + "node_id":"apig-faq-180307009.xml", + "product_code":"apig", + "code":"174", "des":"You can ensure the security of backend services invoked by APIG by using the following methods:Bind signature keys to APIsAfter a signature key is bound to an API, APIG a", - "doc_type":"", + "doc_type":"usermanual", "kw":"How Do I Ensure the Security of Backend Services Invoked by APIG?,API Security,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Do I Ensure the Security of Backend Services Invoked by APIG?", "githuburl":"" }, { "uri":"apig-faq-191201.html", - "product_code":"", - "code":"157", + "node_id":"apig-faq-191201.xml", + "product_code":"apig", + "code":"175", "des":"No.", - "doc_type":"", + "doc_type":"usermanual", "kw":"Can I Control Access to the Private IP Addresses of the ECSs in a VPC Channel (or Load Balance Chann", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can I Control Access to the Private IP Addresses of the ECSs in a VPC Channel (or Load Balance Channel)?", "githuburl":"" }, { - "uri":"apig-en-faq-180919014.html", - "product_code":"", - "code":"158", + "uri":"apig-faq-180919014.html", + "node_id":"apig-faq-180919014.xml", + "product_code":"apig", + "code":"176", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"", + "doc_type":"usermanual", "kw":"Other FAQs", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Other FAQs", "githuburl":"" }, { - "uri":"en-us_topic_0084464485.html", - "product_code":"", - "code":"159", - "des":"An API can be published in different environments, such as RELEASE (online environment) and BETA (test environment).An app refers to the identity of an API caller. After ", - "doc_type":"", - "kw":"What Are the Relationships Between an API, Environment, and App?,Other FAQs,User Guide", - "title":"What Are the Relationships Between an API, Environment, and App?", + "uri":"apig_0084464485.html", + "node_id":"apig_0084464485.xml", + "product_code":"apig", + "code":"177", + "des":"An API can be published in different environments, such as RELEASE (online environment) and BETA (test environment).An app (credential) refers to the identity of an API c", + "doc_type":"usermanual", + "kw":"What Are the Relationships Between an API, Environment, and App (Credential)?,Other FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], + "title":"What Are the Relationships Between an API, Environment, and App (Credential)?", "githuburl":"" }, { - "uri":"en-us_topic_0084464486.html", - "product_code":"", - "code":"160", + "uri":"apig_0084464486.html", + "node_id":"apig_0084464486.xml", + "product_code":"apig", + "code":"178", "des":"You can use APIG to manage and call APIs in the following ways:Management console, a web-based service management platformIf you have already registered an account, log i", - "doc_type":"", + "doc_type":"usermanual", "kw":"How Can I Use APIG?,Other FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"How Can I Use APIG?", "githuburl":"" }, { - "uri":"apig-en-faq-180606010.html", - "product_code":"", - "code":"161", - "des":"APIG supports Java, Go, Python, C#, JavaScript, PHP, C++, C, and Android SDKs.", - "doc_type":"", + "uri":"apig-faq-180606010.html", + "node_id":"apig-faq-180606010.xml", + "product_code":"apig", + "code":"179", + "des":"APIG supports Java, Go, Python, C#, JavaScript, PHP, C++, C, and Android SDKs.For details about SDKs, see the API Gateway Developer Guide.", + "doc_type":"usermanual", "kw":"What SDK Languages Does APIG Support?,Other FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What SDK Languages Does APIG Support?", "githuburl":"" }, { - "uri":"apig-en-faq-180307006.html", - "product_code":"", - "code":"162", + "uri":"apig-faq-180307006.html", + "node_id":"apig-faq-180307006.xml", + "product_code":"apig", + "code":"180", "des":"Yes.If you are using dedicated gateways, configure the maximum request body size allowed by setting the request_body_size parameter. The value ranges from 1 MB to 9536 MB", - "doc_type":"", + "doc_type":"usermanual", "kw":"Can I Upload Files Using the POST Method?,Other FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"Can I Upload Files Using the POST Method?", "githuburl":"" }, { - "uri":"apig-en-faq-180307001.html", - "product_code":"", - "code":"163", + "uri":"apig-faq-180307001.html", + "node_id":"apig-faq-180307001.xml", + "product_code":"apig", + "code":"181", "des":"When receiving an API request, APIG returns a response. A similar response body is as follows:\"error_code\": error code\"error_msg\": description of the error", - "doc_type":"", + "doc_type":"usermanual", "kw":"What Are the Error Messages Returned by APIG Like?,Other FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual", + "IsBot":"Yes" + } + ], "title":"What Are the Error Messages Returned by APIG Like?", "githuburl":"" }, { - "uri":"apig-faq-20210414.html", - "product_code":"", - "code":"164", - "des":"No. APIG cannot be deployed in a local data center.", - "doc_type":"", - "kw":"Can APIG Be Deployed in a Local Data Center?,Other FAQs,User Guide", - "title":"Can APIG Be Deployed in a Local Data Center?", - "githuburl":"" - }, - { - "uri":"apig-en-ug-180307075.html", + "uri":"apig_03_0081.html", + "node_id":"apig_03_0081.xml", "product_code":"apig", - "code":"165", + "code":"182", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Change History,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"apig", + "documenttype":"usermanual" + } + ], "title":"Change History", "githuburl":"" } diff --git a/docs/apig/umn/CLASS.TXT.json b/docs/apig/umn/CLASS.TXT.json index f79ffa95..0fcfe833 100644 --- a/docs/apig/umn/CLASS.TXT.json +++ b/docs/apig/umn/CLASS.TXT.json @@ -3,25 +3,25 @@ "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"Service Overview", - "uri":"apig-ug-0016.html", + "uri":"apig_03_0200.html", "doc_type":"usermanual", "p_code":"", "code":"1" }, { - "desc":"API Gateway (APIG) is a high-performance, high-availability, and high-security API hosting service that helps you build, manage, and deploy APIs at any scale. With just a", + "desc":"API Gateway (APIG) is your fully managed API hosting service. With APIG, you can build, manage, and deploy APIs at any scale to package your capabilities. With just a few", "product_code":"apig", "title":"What Is APIG?", - "uri":"apig-ug-0017.html", + "uri":"apig_0080101651.html", "doc_type":"usermanual", "p_code":"1", "code":"2" }, { - "desc":"You can quickly create APIs by configuring the required settings on the API Gateway console. API Gateway provides an inline debugging tool to simplify API development, an", + "desc":"You can quickly create APIs by configuring the required settings on the APIG console. APIG provides an inline debugging tool to simplify API development, and allows you t", "product_code":"apig", "title":"Product Advantages", - "uri":"apig-zh-pd-180307002.html", + "uri":"apig-pd-180307002.html", "doc_type":"usermanual", "p_code":"1", "code":"3" @@ -30,13 +30,13 @@ "desc":"As enterprises develop rapidly with quick business changes, internal systems of enterprises need to keep pace with the development. However, it is difficult to ensure sys", "product_code":"apig", "title":"Application Scenarios", - "uri":"apig-zh-pd-180307003.html", + "uri":"apig-pd-180307003.html", "doc_type":"usermanual", "p_code":"1", "code":"4" }, { - "desc":"Table 1 lists the specifications of dedicated API gateways.For dedicated gateways, you can adjust the maximum number of requests per second for each API.The specification", + "desc":"The following table lists the specifications of dedicated gateways.For dedicated gateways, you can adjust the maximum number of requests per second for each API.The speci", "product_code":"apig", "title":"Specifications", "uri":"apig-specifications.html", @@ -45,16 +45,16 @@ "code":"5" }, { - "desc":"To change the default restrictions, increase the quota by referring to Help Center > Others > FAQs > How Do I Apply for a Higher Quota?", + "desc":"To change the default restrictions, contact technical support to increase the quota.It takes 5 to 10 seconds for a new or modified APIG resource to take effect.The maximu", "product_code":"apig", "title":"Notes and Constraints", - "uri":"apig-zh-pd-180307005.html", + "uri":"apig-pd-180307005.html", "doc_type":"usermanual", "p_code":"1", "code":"6" }, { - "desc":"If you need to assign different permissions to employees in your enterprise to access your APIG resources, Identity and Access Management (IAM) is a good choice for fine-", + "desc":"If you need to assign different permissions to personnel in your enterprise to access your APIG resources, Identity and Access Management (IAM) is a good choice for fine-", "product_code":"apig", "title":"Permissions Management", "uri":"apig-pd-190529006.html", @@ -66,28 +66,19 @@ "desc":"A set of predefined functions that encapsulates application capabilities. You can create APIs and make them accessible to users.When creating an API, you need to configur", "product_code":"apig", "title":"Basic Concepts", - "uri":"apig-zh-pd-180307004.html", + "uri":"apig-pd-180307004.html", "doc_type":"usermanual", "p_code":"1", "code":"8" }, - { - "desc":"API Gateway (APIG) is a fully managed service that enables you to securely build, manage, and deploy APIs at any scale with high performance and availability. With APIG, ", - "product_code":"apig", - "title":"Using APIG", - "uri":"en-us_topic_0080101651.html", - "doc_type":"usermanual", - "p_code":"", - "code":"9" - }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"Getting Started", - "uri":"apig-ug-0012.html", + "uri":"apig_03_1002.html", "doc_type":"usermanual", "p_code":"", - "code":"10" + "code":"9" }, { "desc":"API Gateway (APIG) is a fully managed service that enables you to securely build, manage, and deploy APIs at any scale with high performance and availability. With APIG, ", @@ -95,35 +86,35 @@ "title":"Introduction", "uri":"apig-ug-0013.html", "doc_type":"usermanual", - "p_code":"10", - "code":"11" + "p_code":"9", + "code":"10" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"Opening APIs", - "uri":"apig-en-ug-180307001.html", + "uri":"apig-ug-180307001.html", "doc_type":"usermanual", - "p_code":"10", + "p_code":"9", + "code":"11" + }, + { + "desc":"The following figure shows the process of exposing an API.Creating a GatewayCreate a dedicated gateway.Create a dedicated gateway.Creating an API GroupAn API group facili", + "product_code":"apig", + "title":"Process Flow", + "uri":"apig_02_0001.html", + "doc_type":"usermanual", + "p_code":"11", "code":"12" }, { - "desc":"The following figure shows the process of exposing an API.Creating a GatewayBuy a dedicated gateway. For details, see Buying a Dedicated Gateway.Buy a dedicated gateway. ", - "product_code":"apig", - "title":"Process Flow", - "uri":"apig-en-ug-180307002.html", - "doc_type":"usermanual", - "p_code":"12", - "code":"13" - }, - { - "desc":"API group informationParameterDescriptionNameAPI group name. It is recommended that you enter a name based on naming rules to facilitate search.DescriptionDescription of ", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"Creating an API Group", - "uri":"apig-en-ug-180307003.html", + "uri":"apig-ug-180307003.html", "doc_type":"usermanual", - "p_code":"12", - "code":"14" + "p_code":"11", + "code":"13" }, { "desc":"The independent domain name must be registered and resolved. For details, see \"Prerequisites\" in Binding a Domain Name.", @@ -131,791 +122,944 @@ "title":"Binding a Domain Name", "uri":"apig-ug-190419107.html", "doc_type":"usermanual", - "p_code":"12", + "p_code":"11", + "code":"14" + }, + { + "desc":"Procedure:Configuring Frontend SettingsConfiguring Backend SettingsFrontend definitionParameterDescriptionNameAPI name. It is recommended that you enter a name based on n", + "product_code":"apig", + "title":"Creating an API", + "uri":"apig_0080101678.html", + "doc_type":"usermanual", + "p_code":"11", "code":"15" }, { - "desc":"Create an API with the following steps:Setting Basic InformationDefining API RequestDefining Backend ServiceDefining ResponsesSetting basic informationParameterDescriptio", - "product_code":"apig", - "title":"Creating an API", - "uri":"en-us_topic_0080101678.html", - "doc_type":"usermanual", - "p_code":"12", - "code":"16" - }, - { - "desc":"If the API is called successfully, the status code 200 is displayed.", + "desc":"If the API is called successfully, the status code 200 is displayed. Otherwise, rectify the fault by referring to Error Codes.", "product_code":"apig", "title":"Debugging an API", "uri":"apig-ug-190419108.html", "doc_type":"usermanual", - "p_code":"12", + "p_code":"11", + "code":"16" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"apig", + "title":"(Optional) Creating an Environment", + "uri":"apig-ug-180307004.html", + "doc_type":"usermanual", + "p_code":"11", "code":"17" }, { - "desc":"Environment informationParameterDescriptionNameEnvironment name. It is recommended that you enter a name based on naming rules to facilitate search.DescriptionDescription", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"(Optional) Creating an Environment", - "uri":"apig-en-ug-180307004.html", + "title":"Publishing an API", + "uri":"apig-ug-180307005.html", "doc_type":"usermanual", - "p_code":"12", + "p_code":"11", "code":"18" }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"apig", - "title":"Publishing an API", - "uri":"apig-en-ug-180307005.html", - "doc_type":"usermanual", - "p_code":"12", - "code":"19" - }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"Calling APIs", - "uri":"apig-en-ug-180307007.html", + "uri":"apig-ug-180307007.html", "doc_type":"usermanual", - "p_code":"10", - "code":"20" + "p_code":"9", + "code":"19" }, { "desc":"The following figure shows the process of calling an API.Obtaining an APIObtain an API and its documentation from an API provider.Obtain an API and its documentation from", "product_code":"apig", "title":"Process Flow", - "uri":"apig-en-ug-180307008.html", + "uri":"apig-ug-180307008.html", "doc_type":"usermanual", - "p_code":"20", + "p_code":"19", + "code":"20" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"apig", + "title":"Creating a Credential and Getting Authorized", + "uri":"apig-ug-180307010.html", + "doc_type":"usermanual", + "p_code":"19", "code":"21" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"Creating an App and Getting Authorized", - "uri":"apig-en-ug-180307010.html", + "title":"Adding an AppCode for Simple Authentication", + "uri":"apig-ug-180307009.html", "doc_type":"usermanual", - "p_code":"20", + "p_code":"19", "code":"22" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Use the API test tool to configure the API request and authentication. For details about how to call an API, see section \"Calling Published APIs\" > Calling APIs.For illus", "product_code":"apig", - "title":"Adding an AppCode for Simple Authentication", - "uri":"apig-en-ug-180307009.html", + "title":"Calling an API", + "uri":"apig-ug-180307011.html", "doc_type":"usermanual", - "p_code":"20", + "p_code":"19", "code":"23" }, { - "desc":"Use an API test tool to configure the API calling information.For illustration purposes, an API and its documentation are obtained through offline channels. You can also ", + "desc":"APIG is a fully managed service that enables you to securely build, manage, and deploy APIs at any scale with high performance and availability. With APIG, you can easily", "product_code":"apig", - "title":"Calling an API", - "uri":"apig-en-ug-180307011.html", + "title":"Overview", + "uri":"apig_03_0001.html", "doc_type":"usermanual", - "p_code":"20", + "p_code":"", "code":"24" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"Gateway Management", - "uri":"apig-ug-0006.html", + "title":"API Management", + "uri":"apig_03_0003.html", "doc_type":"usermanual", "p_code":"", "code":"25" }, { - "desc":"This section describes how to buy a dedicated gateway. You can create APIs and use them to provide services only after a dedicated gateway is created.There are some limit", + "desc":"An API group contains APIs used for the same service. You can manage APIs by group, and must create a group before creating an API.You can create an API group using the f", "product_code":"apig", - "title":"Buying a Dedicated Gateway", - "uri":"apig-ug-191004.html", + "title":"Creating an API Group", + "uri":"apig_03_0005.html", "doc_type":"usermanual", "p_code":"25", "code":"26" }, { - "desc":"You can modify the basic information and configuration parameters of dedicated gateways.To modify the basic information about a dedicated gateway, do as follows:", + "desc":"By importing Cloud Container Engine (CCE) workloads, you can open your CCE service capabilities through APIs.If your gateway does not support CCE workload import, contact", "product_code":"apig", - "title":"Modifying a Dedicated Gateway", - "uri":"apig-ug-200801.html", + "title":"Importing a CCE Workload", + "uri":"apig_03_0071.html", "doc_type":"usermanual", "p_code":"25", "code":"27" }, { - "desc":"VPC endpoints are secure and private channels for connecting VPCs to VPC endpoint services.APIs can be exposed and accessed across VPCs in the same region of the same clo", + "desc":"Before you expose an API, bind an independent domain name to the API group so that APIs in the group can be accessed with the domain name. A maximum of five independent d", "product_code":"apig", - "title":"Managing VPC Endpoints", - "uri":"apig-ug-0019.html", + "title":"Binding a Domain Name", + "uri":"apig_03_0006.html", "doc_type":"usermanual", "p_code":"25", "code":"28" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"You can define environment variables to allow an API to be called in different environments.Environment variables are manageable and specific to environments. You can add", "product_code":"apig", - "title":"API Opening", - "uri":"apig-ug-0008.html", + "title":"Creating an Environment Variable", + "uri":"apig_03_0007.html", "doc_type":"usermanual", - "p_code":"", + "p_code":"25", "code":"29" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"A gateway response is displayed if APIG fails to process an API request. APIG provides a set of default responses and also allows you to create responses with custom stat", "product_code":"apig", - "title":"API Group Management", - "uri":"apig-en-ug-180307014.html", + "title":"Creating a Gateway Response", + "uri":"apig_03_0008.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"25", "code":"30" }, { - "desc":"Before creating an API, you must create an API group. An API group contains different APIs used for the same service.Each API can only belong to one API group.After the A", + "desc":"You can selectively expose your backends by configuring their APIs in APIG. To create an API, perform the following steps:Configuring Frontend SettingsFrontend definition", "product_code":"apig", - "title":"Creating an API Group", - "uri":"apig-en-ug-180307015.html", + "title":"Creating an API", + "uri":"apig_03_0010.html", "doc_type":"usermanual", - "p_code":"30", + "p_code":"25", "code":"31" }, { - "desc":"Before you open an API, you must bind one or more independent domain names to the group to which the API belongs.In a dedicated gateway, you cannot bind the same independ", + "desc":"APIG supports gRPC API creation. gRPC is a modern, open-source, high-performance Remote Procedure Call (RPC) framework that can run in any environment. You only need to d", "product_code":"apig", - "title":"Binding a Domain Name", - "uri":"apig-en-ug-180327076.html", + "title":"Creating a gRPC API", + "uri":"apig_03_0078.html", "doc_type":"usermanual", - "p_code":"30", + "p_code":"25", "code":"32" }, { - "desc":"You can delete an API group if you do not require it.API groups that contain APIs cannot be deleted.You have created an API group.In the Operation column of the target AP", + "desc":"To improve API creation efficiency, you can clone an API with a custom name and path.Policies bound to an API cannot be cloned and can only be manually bound to the new A", "product_code":"apig", - "title":"Deleting an API Group", - "uri":"apig-en-ug-180307018.html", + "title":"Cloning an API", + "uri":"apig_03_0076.html", "doc_type":"usermanual", - "p_code":"30", + "p_code":"25", "code":"33" }, - { - "desc":"A gateway response is displayed if APIG fails to process an API request. APIG provides a set of default responses and also allows you to create gateway responses with cus", - "product_code":"apig", - "title":"Adding a Gateway Response", - "uri":"apig-lgug-200226001.html", - "doc_type":"usermanual", - "p_code":"30", - "code":"34" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"apig", - "title":"API Management", - "uri":"apig-en-ug-180307019.html", - "doc_type":"usermanual", - "p_code":"29", - "code":"35" - }, - { - "desc":"You can selectively expose your services by configuring their APIs in APIG.To create an API, set the basic information and define the API request, backend service, and re", - "product_code":"apig", - "title":"Creating an API", - "uri":"apig-en-ug-180307020.html", - "doc_type":"usermanual", - "p_code":"35", - "code":"36" - }, { "desc":"For security reasons, browsers restrict cross-origin requests initiated from within scripts. This means that a web application can only request resources from its origin.", "product_code":"apig", "title":"CORS", - "uri":"apig-en-ug-180621094.html", + "uri":"apig_03_0011.html", "doc_type":"usermanual", - "p_code":"35", - "code":"37" + "p_code":"25", + "code":"34" }, { - "desc":"After creating an API, debug it on the APIG console by setting HTTP headers and body parameters to verify whether the API is running normally.APIs with backend request pa", + "desc":"After creating an API, debug it on the APIG console by setting HTTP headers and body to verify whether the API is running normally.APIs with backend request paths contain", "product_code":"apig", "title":"Debugging an API", - "uri":"apig-en-ug-180307025.html", + "uri":"apig_03_0012.html", "doc_type":"usermanual", - "p_code":"35", - "code":"38" + "p_code":"25", + "code":"35" }, { - "desc":"APIs using app authentication can only be called by apps that have been authorized to call them.You can only authorize apps to call published APIs.You can authorize apps ", + "desc":"APIs using app authentication can only be called by credentials that have been authorized to call them.You can authorize credentials only to call APIs that use app authen", "product_code":"apig", - "title":"Authorizing Apps to Call an API", - "uri":"apig-en-ug-180307021.html", + "title":"Authorizing API Access", + "uri":"apig_03_0013.html", "doc_type":"usermanual", - "p_code":"35", - "code":"39" + "p_code":"25", + "code":"36" }, { "desc":"APIs can be called only after they have been published in an environment. You can publish APIs in different environments. APIG allows you to view the publication history ", "product_code":"apig", "title":"Publishing an API", - "uri":"apig-en-ug-180307023.html", + "uri":"apig_03_0014.html", "doc_type":"usermanual", - "p_code":"35", - "code":"40" + "p_code":"25", + "code":"37" }, { "desc":"You can remove APIs that you do not need from the environments where the APIs have been published.This operation will cause the APIs to be inaccessible in the environment", "product_code":"apig", "title":"Taking an API Offline", - "uri":"apig-en-ug-180307024.html", + "uri":"apig_03_0070.html", "doc_type":"usermanual", - "p_code":"35", + "p_code":"25", + "code":"38" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"apig", + "title":"Importing and Exorting APIs", + "uri":"apig_03_0082.html", + "doc_type":"usermanual", + "p_code":"25", + "code":"39" + }, + { + "desc":"Note the following restrictions and compatibility issues when importing or exporting APIs on APIG:APIG parameter restrictions:APIG does not support the configuration of r", + "product_code":"apig", + "title":"Restrictions and Compatibility", + "uri":"apig_03_0083.html", + "doc_type":"usermanual", + "p_code":"39", + "code":"40" + }, + { + "desc":"You can import Swagger and OpenAPI APIs to a new or existing API group on APIG. Before importing APIs, complete the extended definition of APIG.When you import APIs to a ", + "product_code":"apig", + "title":"Importing APIs", + "uri":"apig_03_0067.html", + "doc_type":"usermanual", + "p_code":"39", "code":"41" }, { - "desc":"You can delete published APIs you no longer require.Deleted APIs cannot be accessed by apps or users who were using the APIs, so make sure you notify users before the del", + "desc":"You can export APIs one by one or in batches as JSON, YAML, or YML files.Or choose API Management > APIs, and click Export APIs.", "product_code":"apig", - "title":"Deleting an API", - "uri":"apig-en-ug-180307027.html", + "title":"Exporting APIs", + "uri":"apig_03_0015.html", "doc_type":"usermanual", - "p_code":"35", + "p_code":"39", "code":"42" }, { - "desc":"APIG allows you to import Swagger 2.0 APIs to existing or new API groups. Swagger is an open-source tool built based on OpenAPI specifications to design, build, record, a", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"Importing APIs", - "uri":"apig-en-ug-181025104.html", + "title":"Extended Definition", + "uri":"apig_03_0084.html", "doc_type":"usermanual", - "p_code":"35", + "p_code":"39", "code":"43" }, { - "desc":"You can export APIs one by one or in batches as JSON or YAML files.You have created an API group and API.The export result is displayed on the right.", + "desc":"Meaning: Swagger-based apiKey authentication format, which defines an authentication mode provided by APIG.Scope of effect: Security Scheme Object (2.0)/Security Scheme O", "product_code":"apig", - "title":"Exporting APIs", - "uri":"apig-en-ug-181204105.html", + "title":"x-apigateway-auth-type", + "uri":"apig_03_0085.html", "doc_type":"usermanual", - "p_code":"35", + "p_code":"43", "code":"44" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Meaning: API request type, which can be public or private.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", "product_code":"apig", - "title":"Request Throttling", - "uri":"apig-en-ug-180307028.html", + "title":"x-apigateway-request-type", + "uri":"apig_03_0086.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"43", "code":"45" }, { - "desc":"Request throttling controls the number of times an API can be called within a time period to protect backend services.To provide stable, uninterrupted services, you can c", + "desc":"Meaning: Request URL matching mode, which can be NORMAL or SWA.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", "product_code":"apig", - "title":"Creating a Request Throttling Policy", - "uri":"apig-en-ug-180307029.html", + "title":"x-apigateway-match-mode", + "uri":"apig_03_0087.html", "doc_type":"usermanual", - "p_code":"45", + "p_code":"43", "code":"46" }, { - "desc":"You can delete request throttling policies you no longer require.You have created a request throttling policy.In the Operation column of the request throttling policy you", + "desc":"Meaning: Specifies whether CORS is supported. The value is of the Boolean type.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:For the API request f", "product_code":"apig", - "title":"Deleting a Request Throttling Policy", - "uri":"apig-en-ug-180307032.html", + "title":"x-apigateway-cors", + "uri":"apig_03_0088.html", "doc_type":"usermanual", - "p_code":"45", + "p_code":"43", "code":"47" }, { - "desc":"If you want to control the number of API calls received from a specific app or tenant, add an excluded app or tenant to a request throttling policy.You have created an ap", + "desc":"Meaning: Whether to perform Base64 encoding on the request body used for interaction with FunctionGraph. The value is of the Boolean type.Scope of effect: Operation Objec", "product_code":"apig", - "title":"Adding an Excluded App or Tenant", - "uri":"apig-en-ug-180307033.html", + "title":"x-apigateway-is-send-fg-body-base64", + "uri":"apig_03_0106.html", "doc_type":"usermanual", - "p_code":"45", + "p_code":"43", "code":"48" }, { - "desc":"You can remove excluded apps or tenants from a request throttling policy. This section takes an excluded app as an example.You have created a request throttling policy.Yo", + "desc":"Meaning: API request method used by default if no HTTP request method is specified.Scope of effect: Path Item Object (2.0)/Path Item Object (3.0)Example:", "product_code":"apig", - "title":"Removing an Excluded App or Tenant", - "uri":"apig-en-ug-180307035.html", + "title":"x-apigateway-any-method", + "uri":"apig_03_0089.html", "doc_type":"usermanual", - "p_code":"45", + "p_code":"43", "code":"49" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Meaning: API backend definition.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", "product_code":"apig", - "title":"Access Control", - "uri":"apig-en-ug-180712096.html", + "title":"x-apigateway-backend", + "uri":"apig_03_0090.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"43", "code":"50" }, { - "desc":"Access control policies are a type of security measures provided by APIG. You can use them to allow or deny API access from specific IP addresses or accounts.Access contr", + "desc":"Meaning: API backend service definition.Scope of effect: x-apigateway-backendExample:", "product_code":"apig", - "title":"Creating an Access Control Policy", - "uri":"apig-en-ug-180712097.html", + "title":"x-apigateway-backend.parameters", + "uri":"apig_03_0091.html", "doc_type":"usermanual", - "p_code":"50", + "p_code":"43", "code":"51" }, { - "desc":"You can delete access control policies you no longer require.You have created an access control policy.In the Operation column of the access control policy you want to de", + "desc":"Meaning: HTTP backend service definition.Scope of effect: x-apigateway-backendExample:", "product_code":"apig", - "title":"Deleting an Access Control Policy", - "uri":"apig-en-ug-180712100.html", + "title":"x-apigateway-backend.httpEndpoints", + "uri":"apig_03_0092.html", "doc_type":"usermanual", - "p_code":"50", + "p_code":"43", "code":"52" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Meaning: HTTP VPC backend service definition.Scope of effect: x-apigateway-backendExample:", "product_code":"apig", - "title":"Environment Management", - "uri":"apig-en-ug-180307036.html", + "title":"x-apigateway-backend.httpVpcEndpoints", + "uri":"apig_03_0093.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"43", "code":"53" }, { - "desc":"An API can be called in different environments, such as production, testing, and development environments. RELEASE is the default environment provided by APIG. You can de", + "desc":"Meaning: Function backend service definition.Scope of effect: x-apigateway-backendExample:", "product_code":"apig", - "title":"Creating an Environment and Environment Variable", - "uri":"apig-en-ug-180307037.html", + "title":"x-apigateway-backend.functionEndpoints", + "uri":"apig_03_0094.html", "doc_type":"usermanual", - "p_code":"53", + "p_code":"43", "code":"54" }, { - "desc":"You can delete environments you no longer require.You have created an environment.You can delete an environment only if no APIs have been published in the environment.", + "desc":"Meaning: Mock backend service definition.Scope of effect: x-apigateway-backendExample:", "product_code":"apig", - "title":"Deleting an Environment", - "uri":"apig-en-ug-180307039.html", + "title":"x-apigateway-backend.mockEndpoints", + "uri":"apig_03_0095.html", "doc_type":"usermanual", - "p_code":"53", + "p_code":"43", "code":"55" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Meaning: API backend policy.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", "product_code":"apig", - "title":"Signature Key Management", - "uri":"apig-en-ug-180307040.html", + "title":"x-apigateway-backend-policies", + "uri":"apig_03_0096.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"43", "code":"56" }, { - "desc":"Signature keys are used by backend services to verify the identity of APIG.A signature key consists of a key and secret, and can be used only after being bound to an API.", + "desc":"Meaning: API backend policy conditions.Scope of effect: x-apigateway-backend-policiesExample:", "product_code":"apig", - "title":"Creating and Using a Signature Key", - "uri":"apig-en-ug-180307041.html", + "title":"x-apigateway-backend-policies.conditions", + "uri":"apig_03_0097.html", "doc_type":"usermanual", - "p_code":"56", + "p_code":"43", "code":"57" }, { - "desc":"You can delete signature keys you no longer require.You have created a signature key.In the Operation column of the signature key you want to delete, click Delete.Click t", + "desc":"Meaning: Request throttling policy.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", "product_code":"apig", - "title":"Deleting a Signature Key", - "uri":"apig-en-ug-180307045.html", + "title":"x-apigateway-ratelimit", + "uri":"apig_03_0098.html", "doc_type":"usermanual", - "p_code":"56", + "p_code":"43", "code":"58" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Meaning: Mapping between a request throttling policy name and limit values.Scope of effect: Swagger ObjectExample:", "product_code":"apig", - "title":"VPC Channel Management", - "uri":"apig-en-ug-180425080.html", + "title":"x-apigateway-ratelimits", + "uri":"apig_03_0099.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"43", "code":"59" }, { - "desc":"VPC channels allow services deployed in VPCs to be accessed through their subnets, lowering latency and balancing loads of backend services.After creating a VPC channel, ", + "desc":"Meaning: Definition of a request throttling policy.Scope of effect: x-apigateway-ratelimitsExample:", "product_code":"apig", - "title":"Creating a VPC Channel", - "uri":"apig-en-ug-180425081.html", + "title":"x-apigateway-ratelimits.policy", + "uri":"apig_03_0100.html", "doc_type":"usermanual", - "p_code":"59", + "p_code":"43", "code":"60" }, { - "desc":"You can delete VPC channels you no longer require.VPC channels that are currently in use by published APIs cannot be deleted.You have created a VPC channel.In the Operati", + "desc":"Meaning: Definition of a special request throttling policy.Scope of effect: x-apigateway-ratelimits.policyExample:", "product_code":"apig", - "title":"Deleting a VPC Channel", - "uri":"apig-en-ug-180425083.html", + "title":"x-apigateway-ratelimits.policy.special", + "uri":"apig_03_0101.html", "doc_type":"usermanual", - "p_code":"59", + "p_code":"43", "code":"61" }, { - "desc":"You can modify the health check configurations of a VPC channel to meet service requirements.You have created a VPC channel.Health check configurationsParameterDescriptio", + "desc":"Meaning: Access control policy.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", "product_code":"apig", - "title":"Editing Health Check Configurations", - "uri":"apig-en-ug-180425084.html", + "title":"x-apigateway-access-control", + "uri":"apig_03_0102.html", "doc_type":"usermanual", - "p_code":"59", + "p_code":"43", "code":"62" }, { - "desc":"You can add or remove cloud servers and edit cloud server weights for VPC channels to meet service requirements.You have created a VPC channel.Adding cloud serversClick S", + "desc":"Meaning: Mapping between an access control policy name and limit settings.Scope of effect: Swagger ObjectExample:", "product_code":"apig", - "title":"Editing Cloud Server Configurations of a VPC Channel", - "uri":"apig-en-ug-180502087.html", + "title":"x-apigateway-access-controls", + "uri":"apig_03_0103.html", "doc_type":"usermanual", - "p_code":"59", + "p_code":"43", "code":"63" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Meaning: Definition of an access control policy.Scope of effect: x-apigateway-access-controlsExample:", "product_code":"apig", - "title":"Custom Authorizers", - "uri":"apic-ug-190430104.html", + "title":"x-apigateway-access-controls.policy", + "uri":"apig_03_0104.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"43", "code":"64" }, { - "desc":"This feature is currently unavailable because FunctionGraph has not been launched.APIG supports custom authentication of both frontend and backend requests.Frontend custo", + "desc":"Meaning: API plug-in service.Scope of effect: Operation Object (2.0)/Operation Object (3.0)Example:", "product_code":"apig", - "title":"Creating a Custom Authorizer", - "uri":"apic-ug-190430105.html", + "title":"x-apigateway-plugins", + "uri":"apig_03_0105.html", "doc_type":"usermanual", - "p_code":"64", + "p_code":"43", "code":"65" }, { - "desc":"You can delete custom authorizers you no longer require.Custom authentication is implemented using FunctionGraph and not supported if FunctionGraph is unavailable in the ", + "desc":"The APIs page displays all APIs of the current gateway, including the URL, running environment, and authentication mode.", "product_code":"apig", - "title":"Deleting a Custom Authorizer", - "uri":"apic-ug-190430106.html", + "title":"Viewing APIs", + "uri":"apig_03_0016.html", "doc_type":"usermanual", - "p_code":"64", + "p_code":"25", "code":"66" }, + { + "desc":"APIG supports HTTP/2, which is a major revision of HTTP and was originally named HTTP 2.0. It provides binary encoding, request multiplexing over a single connection, and", + "product_code":"apig", + "title":"HTTP 2.0", + "uri":"apig_03_0069.html", + "doc_type":"usermanual", + "p_code":"25", + "code":"67" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"Plug-ins", - "uri":"apig-ug-0001.html", + "title":"API Policies", + "uri":"apig_03_0017.html", "doc_type":"usermanual", - "p_code":"29", - "code":"67" + "p_code":"", + "code":"68" }, { - "desc":"APIG provides flexible extension capabilities for APIs through plug-ins.Plug-in parameters will be stored as plaintext. To prevent information leakage, do not contain sen", + "desc":"APIG provides flexible API control policies.Policy parameters will be stored as plaintext. To prevent information leakage, do not contain sensitive information in these p", "product_code":"apig", - "title":"Creating a Plug-in", - "uri":"apig-ug-0004.html", + "title":"Creating a Policy and Binding It to APIs", + "uri":"apig_03_0019.html", "doc_type":"usermanual", - "p_code":"67", - "code":"68" + "p_code":"68", + "code":"69" }, { "desc":"For security purposes, the browser restricts cross-domain requests from being initiated from a page script. In this case, the page can access only the resources from the ", "product_code":"apig", - "title":"CORS Plug-in", - "uri":"apig-ug-0002.html", + "title":"CORS", + "uri":"apig_03_0021.html", "doc_type":"usermanual", - "p_code":"67", - "code":"69" + "p_code":"68", + "code":"70" }, { "desc":"HTTP response headers are part of the response returned by APIG to a client that calls an API. You can customize HTTP response headers that will be contained in an API re", "product_code":"apig", - "title":"HTTP Response Header Management Plug-in", - "uri":"apig-ug-0005.html", + "title":"HTTP Response Header Management", + "uri":"apig_03_0022.html", "doc_type":"usermanual", - "p_code":"67", - "code":"70" - }, - { - "desc":"The request throttling plug-in limits the number of times an API can be called within a specific time period. It supports parameter-based, basic, and excluded throttling.", - "product_code":"apig", - "title":"Request Throttling Plug-in", - "uri":"apig-ug-0015.html", - "doc_type":"usermanual", - "p_code":"67", + "p_code":"68", "code":"71" }, { - "desc":"You can delete plug-ins you no longer require. To delete a plug-in that has been bound to APIs, unbind the plug-in from the APIs and then delete it.You have created a plu", + "desc":"A request throttling 2.0 policy limits the number of times that an API can be called within a specific time period. Parameter-based, basic, and excluded throttling is sup", "product_code":"apig", - "title":"Deleting a Plug-in", - "uri":"apig-ug-0003.html", + "title":"Request Throttling 2.0", + "uri":"apig_03_0054.html", "doc_type":"usermanual", - "p_code":"67", + "p_code":"68", "code":"72" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Kafka log push policies push calling logs of open APIs to Kafka for analysis.If your gateway does not support this policy, contact technical support to upgrade the gatewa", "product_code":"apig", - "title":"Monitoring", - "uri":"apig-en-ug-180413077.html", + "title":"Kafka Log Push", + "uri":"apig_03_0061.html", "doc_type":"usermanual", - "p_code":"29", + "p_code":"68", "code":"73" }, { - "desc":"This section describes the metrics that APIG reports to the Cloud Eye service. You can view metrics and alarms by using the Cloud Eye console.Dedicated gateway: SYS.APIC", + "desc":"Circuit breaker policies protect your backend services when a performance issue occurs. If the backend service of an API times out for N consecutive times or if the laten", "product_code":"apig", - "title":"APIG Metrics", - "uri":"apig-en-ug-180427085.html", + "title":"Circuit Breaker", + "uri":"apig_03_0023.html", "doc_type":"usermanual", - "p_code":"73", + "p_code":"68", "code":"74" }, { - "desc":"You can create alarm rules to monitor the status of your APIs.An alarm rule consists of a rule name, monitored objects, metrics, alarm thresholds, monitoring interval, an", + "desc":"You can configure your own service to authenticate API requests. APIG first invokes this service for authentication, and then invokes the backend service after receiving ", "product_code":"apig", - "title":"Creating Alarm Rules", - "uri":"apig-en-ug-180524089.html", + "title":"Third-Party Authorizer", + "uri":"apig_03_0077.html", "doc_type":"usermanual", - "p_code":"73", + "p_code":"68", "code":"75" }, { - "desc":"Cloud Eye monitors the status of your APIs and allows you to view their metrics.You have created an API group and API.API metrics are displayed on the Dashboard tab page.", + "desc":"Request throttling limits the number of times APIs can be called by a user or app within a specific time period to protect backend services. The throttling can be down to", "product_code":"apig", - "title":"Viewing Metrics", - "uri":"apig-en-ug-180427086.html", + "title":"Request Throttling", + "uri":"apig_03_0025.html", "doc_type":"usermanual", - "p_code":"73", + "p_code":"68", "code":"76" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Access control policies are a type of security measures provided by APIG. You can use them to allow or deny API access from specific IP addresses, account names, or accou", "product_code":"apig", - "title":"API Calling", - "uri":"apig-ug-0009.html", + "title":"Access Control", + "uri":"apig_03_0027.html", "doc_type":"usermanual", - "p_code":"", + "p_code":"68", "code":"77" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Signature keys are used by backend services to verify the identity of APIG.A signature key consists of a key and secret, and can be used only after being bound to an API.", "product_code":"apig", - "title":"App Management", - "uri":"apig-en-ug-180307048.html", + "title":"Signature Keys", + "uri":"apig_03_0028.html", "doc_type":"usermanual", - "p_code":"77", + "p_code":"68", "code":"78" }, { - "desc":"For an API that uses app authentication, you can create an app and use the app and its ID and key pair (AppKey and AppSecret) to call the API. You can use an app to call ", + "desc":"APIG supports custom authentication of both frontend and backend requests.Frontend custom authentication: If you already have an authentication system, you can configure ", "product_code":"apig", - "title":"Creating an App and Obtaining Authorization", - "uri":"apig-en-ug-180307049.html", + "title":"Custom Authorizers", + "uri":"apig_03_0029.html", "doc_type":"usermanual", - "p_code":"78", + "p_code":"68", "code":"79" }, { - "desc":"You can delete apps you no longer require.You have created an app.In the Operation column of the app you want to delete, click Delete.Click the name of the target app, an", + "desc":"API groups that contain HTTPS-compatible APIs must have their independent domain names bound with SSL certificates. SSL certificates are used for data encryption and iden", "product_code":"apig", - "title":"Deleting an App", - "uri":"apig-en-ug-180307051.html", + "title":"SSL Certificates", + "uri":"apig_03_0055.html", "doc_type":"usermanual", - "p_code":"78", + "p_code":"68", "code":"80" }, { - "desc":"You can reset the AppSecret of an app. The AppKey is unique and cannot be reset. When you reset the AppSecret, it becomes invalid and APIs bound to the app cannot be call", + "desc":"Load balance channels expose your services through dedicated gateways, and are accessed through subnets in VPCs for lower latency. The server channel balances loads of ba", "product_code":"apig", - "title":"Resetting the AppSecret of an App", - "uri":"apig-en-ug-180307053.html", + "title":"Load Balance Channels", + "uri":"apig_03_0040.html", "doc_type":"usermanual", - "p_code":"78", + "p_code":"68", "code":"81" }, { - "desc":"AppCodes are identity credentials of an app used to call APIs in simple authentication mode. In this mode, the X-Apig-AppCode parameter (whose value is an AppCode on the ", + "desc":"An API can be called in different environments, such as production, testing, and development environments. RELEASE is the default environment provided by APIG.After the e", "product_code":"apig", - "title":"Adding an AppCode for Simple Authentication", - "uri":"apig-lgug-200227001.html", + "title":"Managing Environments", + "uri":"apig_03_0041.html", "doc_type":"usermanual", - "p_code":"78", + "p_code":"68", "code":"82" }, - { - "desc":"You can view the details of an API to which an app has been bound.You have created an app.The app has been bound to an API.", - "product_code":"apig", - "title":"Viewing API Details", - "uri":"apig-en-ug-180307054.html", - "doc_type":"usermanual", - "p_code":"78", - "code":"83" - }, - { - "desc":"This section describes how to obtain and analyze the API calling logs of dedicated gateways.APIs have been called.Fields in access logs are separated using spaces. The fo", - "product_code":"apig", - "title":"Log Analysis", - "uri":"en-us_topic_0000001174497029.html", - "doc_type":"usermanual", - "p_code":"77", - "code":"84" - }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"Calling Published APIs", - "uri":"apig-ug-0010.html", + "title":"Credentials", + "uri":"apig_03_0030.html", "doc_type":"usermanual", - "p_code":"77", + "p_code":"", + "code":"83" + }, + { + "desc":"For APIs that use app authentication, create credentials to generate credential IDs and key/secret pairs. When calling such an API, bind a credential to the API, use the ", + "product_code":"apig", + "title":"Creating a Credential and Binding It to APIs", + "uri":"apig_03_0056.html", + "doc_type":"usermanual", + "p_code":"83", + "code":"84" + }, + { + "desc":"Reset the secret of a credential as necessary. After resetting, the original secret becomes invalid and APIs to which the credential is bound cannot be called. To call th", + "product_code":"apig", + "title":"Resetting Secret", + "uri":"apig_03_0057.html", + "doc_type":"usermanual", + "p_code":"83", "code":"85" }, { - "desc":"Before calling APIs, obtain the request information from the API provider, including the access domain name, protocol, method, path, and request parameters.Obtain APIs: f", + "desc":"AppCodes are identity credentials of a credential used to call APIs in simple authentication mode. In this mode, the X-Apig-AppCode parameter (whose value is an AppCode o", "product_code":"apig", - "title":"Calling APIs", - "uri":"apig-ug-0011.html", + "title":"Adding an AppCode for Simple Authentication", + "uri":"apig_03_0058.html", "doc_type":"usermanual", - "p_code":"85", + "p_code":"83", "code":"86" }, { - "desc":"The following table describes the response headers that APIG adds to the response returned when an API is called.X-Apig-Mode: debug indicates API debugging information.", + "desc":"A credential quota policy limits the number of API calls that a credential can make during a specified period.Existing policy: Select a policy.New policy: Configure a pol", "product_code":"apig", - "title":"Response Headers", - "uri":"apig-en-ug-180830102.html", + "title":"Binding a Credential Quota Policy", + "uri":"apig_03_0059.html", "doc_type":"usermanual", - "p_code":"85", + "p_code":"83", "code":"87" }, { - "desc":"Table 1 lists the error codes that you may encounter when calling APIs.For details about the error codes that may occur when you manage APIs, see section \"Error Codes\" in", + "desc":"As a protection mechanism for backend services, access control policies control the client (API caller) IP addresses that can access APIs. You can bind an access control ", "product_code":"apig", - "title":"Error Codes", - "uri":"apig-en-ug-180530090.html", + "title":"Binding an Access Control Policy", + "uri":"apig_03_0060.html", "doc_type":"usermanual", - "p_code":"85", + "p_code":"83", "code":"88" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"Permissions Management", - "uri":"apig-ug-190529107.html", + "title":"Monitoring & Analysis", + "uri":"apig_03_0031.html", "doc_type":"usermanual", "p_code":"", "code":"89" }, { - "desc":"This topic describes how to use Identity and Access Management (IAM) to implement permissions control for your APIG resources. With IAM, you can:Create IAM users for empl", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"Creating a User and Granting APIG Permissions", - "uri":"apig-ug-190529109.html", + "title":"API Monitoring", + "uri":"apig_03_0072.html", "doc_type":"usermanual", "p_code":"89", "code":"90" }, { - "desc":"Custom policies can be created to supplement the system-defined policies of APIG. For the actions that can be added to custom policies, see section \"Permissions Policies ", + "desc":"This section describes the metrics that APIG reports to the Cloud Eye service. You can view metrics and alarms by using the Cloud Eye console.SYS.APIC", "product_code":"apig", - "title":"APIG Custom Policies", - "uri":"apig-custom-policy.html", + "title":"Monitoring Metrics", + "uri":"apig_03_0032.html", "doc_type":"usermanual", - "p_code":"89", + "p_code":"90", "code":"91" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"You can create alarm rules to monitor the status of your APIs.An alarm rule consists of a rule name, monitored objects, metrics, alarm thresholds, monitoring interval, an", "product_code":"apig", - "title":"Key Operations Recorded by CTS", - "uri":"apig-ug-0020.html", + "title":"Creating Alarm Rules", + "uri":"apig_03_0033.html", "doc_type":"usermanual", - "p_code":"", + "p_code":"90", "code":"92" }, { - "desc":"If you want to collect, record, or query operation logs for APIG in common scenarios such as security analysis, audit, and problem locating, enable Cloud Trace Service (C", + "desc":"Cloud Eye monitors the status of your APIs and allows you to view their metrics.View the call statistics of an API, including Requests, Latency (ms), Data Traffic (bytes)", "product_code":"apig", - "title":"APIG operations that can be recorded by CTS", - "uri":"apig-en-ug-180307058.html", + "title":"Viewing Metrics", + "uri":"apig_03_0034.html", "doc_type":"usermanual", - "p_code":"92", + "p_code":"90", "code":"93" }, { - "desc":"Query audit logs by following the procedure in section \"Querying Real-Time Traces\" in the Cloud Trace Service User Guide.", + "desc":"This section describes how to obtain and analyze the API calling logs of a dedicatedgateway.APIs have been called.Fields in access logs are separated using spaces. The fo", "product_code":"apig", - "title":"Querying Audit Logs", - "uri":"apig-ug-0021.html", + "title":"Log Analysis", + "uri":"apig_03_0042.html", "doc_type":"usermanual", - "p_code":"92", + "p_code":"89", "code":"94" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", - "title":"FAQs", - "uri":"apig-ug-cmccfaq.html", + "title":"Gateway Management", + "uri":"apig_03_0035.html", "doc_type":"usermanual", "p_code":"", "code":"95" }, { - "desc":"How Do I Set the Backend Address If I Will Not Use a VPC Channel (or Load Balance Channel)?How Can I Configure the Backend Service Address?Can I Specify a Private Network", + "desc":"This section describes how to create a gateway. You can create APIs and use them to provide services only after a gateway is created.There are some limitations on creatin", "product_code":"apig", - "title":"Common FAQs", - "uri":"apig-faq-190803.html", + "title":"Creating a Gateway", + "uri":"apig_03_0037.html", "doc_type":"usermanual", "p_code":"95", "code":"96" }, + { + "desc":"You can view and modify the configuration of your gateways on the console.", + "product_code":"apig", + "title":"Viewing or Modifying Gateway Information", + "uri":"apig_03_0038.html", + "doc_type":"usermanual", + "p_code":"95", + "code":"97" + }, + { + "desc":"This section describes how to configure common parameters for a gateway to adjust component functions.Modifying gateway configuration parameters will interrupt services. ", + "product_code":"apig", + "title":"Configuring Parameters", + "uri":"apig_03_0039.html", + "doc_type":"usermanual", + "p_code":"95", + "code":"98" + }, + { + "desc":"Tags classify your gateways to facilitate search, analysis, and management.You can search, analyze, and manage your resources on the Tag Management Service (TMS) console.", + "product_code":"apig", + "title":"Managing Tags", + "uri":"apig_03_0075.html", + "doc_type":"usermanual", + "p_code":"95", + "code":"99" + }, + { + "desc":"VPC endpoints are secure and private channels for connecting VPCs to VPC endpoint services.APIs can be exposed and accessed across VPCs in the same region of the same clo", + "product_code":"apig", + "title":"Managing VPC Endpoints", + "uri":"apig_03_0063.html", + "doc_type":"usermanual", + "p_code":"95", + "code":"100" + }, + { + "desc":"If the specifications of a gateway cannot meet your service requirements, upgrade the specifications.During the specification change, the persistent connection is intermi", + "product_code":"apig", + "title":"Modifying Specifications", + "uri":"apig_03_0064.html", + "doc_type":"usermanual", + "p_code":"95", + "code":"101" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"apig", + "title":"Published API Calling", + "uri":"apig_03_0045.html", + "doc_type":"usermanual", + "p_code":"", + "code":"102" + }, + { + "desc":"You can call APIs opened by others in APIG.An API can be accessed 1000 times by using the debugging domain name allocated when the API's group is created.If the CA parame", + "product_code":"apig", + "title":"Calling APIs", + "uri":"apig_03_0046.html", + "doc_type":"usermanual", + "p_code":"102", + "code":"103" + }, + { + "desc":"The following table describes the response headers that APIG adds to the response returned when an API is called.X-Apig-Mode: debug indicates API debugging information.", + "product_code":"apig", + "title":"Response Headers", + "uri":"apig_03_0047.html", + "doc_type":"usermanual", + "p_code":"102", + "code":"104" + }, + { + "desc":"The following table lists the error codes that you may encounter when calling APIs.For details about the error codes that may occur when you manage APIs, see section \"Err", + "product_code":"apig", + "title":"Error Codes", + "uri":"apig_03_0048.html", + "doc_type":"usermanual", + "p_code":"102", + "code":"105" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"apig", + "title":"Permissions Management", + "uri":"apig_03_0049.html", + "doc_type":"usermanual", + "p_code":"", + "code":"106" + }, + { + "desc":"This topic describes how to use Identity and Access Management (IAM) to implement fine-grained permissions control for your APIG resources. With IAM, you can:Create IAM u", + "product_code":"apig", + "title":"Creating a User and Granting APIG Permissions", + "uri":"apig_03_0050.html", + "doc_type":"usermanual", + "p_code":"106", + "code":"107" + }, + { + "desc":"Custom policies can be created to supplement the system-defined policies of APIG. For the actions that can be added to custom policies, see .You can create custom policie", + "product_code":"apig", + "title":"APIG Custom Policies", + "uri":"apig_03_0051.html", + "doc_type":"usermanual", + "p_code":"106", + "code":"108" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"apig", + "title":"Auditing", + "uri":"apig_03_0065.html", + "doc_type":"usermanual", + "p_code":"", + "code":"109" + }, + { + "desc":"If you want to collect, record, or query operation logs for APIG in common scenarios such as security analysis, audit, and problem locating, enable Cloud Trace Service (C", + "product_code":"apig", + "title":"APIG Operations Recorded by CTS", + "uri":"apig_03_0052.html", + "doc_type":"usermanual", + "p_code":"109", + "code":"110" + }, + { + "desc":"After you enable CTS and the management tracker is created, CTS starts recording operations on cloud resources. CTS stores operation records generated in the last seven d", + "product_code":"apig", + "title":"Querying Real-Time Traces", + "uri":"apig_03_0053.html", + "doc_type":"usermanual", + "p_code":"109", + "code":"111" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"apig", + "title":"FAQs", + "uri":"apig_03_0079.html", + "doc_type":"usermanual", + "p_code":"", + "code":"112" + }, + { + "desc":"How Do I Set the Backend Address If I Will Not Use a VPC Channel (or Load Balance Channel)?How Can I Configure the Backend Service Address?Can I Specify a Private Network", + "product_code":"apig", + "title":"Common FAQs", + "uri":"index.html", + "doc_type":"usermanual", + "p_code":"112", + "code":"113" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"API Creation", "uri":"apig-faq-create.html", "doc_type":"usermanual", - "p_code":"95", - "code":"97" + "p_code":"112", + "code":"114" }, { - "desc":"The creation of APIs is free of charge. If you cannot create APIs, your account must be in arrears.", - "product_code":"apig", - "title":"Why Can't I Create APIs?", - "uri":"apig-faq-2005007.html", - "doc_type":"usermanual", - "p_code":"97", - "code":"98" - }, - { - "desc":"API responses are defined by backend services (API providers). API Gateway (APIG) only transparently transmits responses to API callers.", + "desc":"There are two types of responses:Gateway response codes: returned by the gateway for API requests that are throttled, denied, or failed in authentication. For details abo", "product_code":"apig", "title":"How Do I Define Response Codes for an API?", "uri":"apig-faq-2005001.html", "doc_type":"usermanual", - "p_code":"97", - "code":"99" + "p_code":"114", + "code":"115" }, { - "desc":"Use the port of the API backend service.", + "desc":"Use the port of the API backend service.For details about how to configure the API backend, see section \"Creating an API\" in the API Gateway User Guide.", "product_code":"apig", "title":"How Do I Specify the Host Port for a VPC Channel (or Load Balance Channel)?", "uri":"apig-faq-2005002.html", "doc_type":"usermanual", - "p_code":"97", - "code":"100" + "p_code":"114", + "code":"116" }, { - "desc":"You can specify the backend address as a public domain name or a public IP address, such as the Elastic IP (EIP) of an Elastic Cloud Server (ECS).", + "desc":"Specify the backend address as a public domain name or a public IP address, such as the Elastic IP (EIP) of an Elastic Cloud Server (ECS). To do this, enable public outbo", "product_code":"apig", "title":"How Do I Set the Backend Address If I Will Not Use a VPC Channel (or Load Balance Channel)?", "uri":"apig-faq-2005004.html", "doc_type":"usermanual", - "p_code":"97", - "code":"101" + "p_code":"114", + "code":"117" }, { - "desc":"Configure the backend service address as an ECS EIP, or the public IP address or domain name of your own server.", + "desc":"Configure the backend service address as an ECS EIP, or the public IP address or domain name of your own server.For details about how to configure the API backend, see se", "product_code":"apig", "title":"How Can I Configure the Backend Service Address?", "uri":"apig-faq-190627028.html", "doc_type":"usermanual", - "p_code":"97", - "code":"102" + "p_code":"114", + "code":"118" }, { "desc":"For dedicated gateways, you can use private network load balancer addresses.Alternatively, you can use the EIP bound to a public network load balancer.", @@ -923,8 +1067,8 @@ "title":"Can I Specify a Private Network Load Balancer Address for the Backend Service?", "uri":"apig-faq-2005003.html", "doc_type":"usermanual", - "p_code":"97", - "code":"103" + "p_code":"114", + "code":"119" }, { "desc":"If you use a dedicated gateway, you can specify either an IP address that belongs to the same subnet where the gateway is deployed, or the private address of a local data", @@ -932,17 +1076,17 @@ "title":"Can I Specify the Backend Address as a Subnet IP Address?", "uri":"apig-faq-2005006.html", "doc_type":"usermanual", - "p_code":"97", - "code":"104" + "p_code":"114", + "code":"120" }, { - "desc":"Yes. APIG supports the configuration of multiple backend endpoints through a VPC channel (also called \"load balance channel\"). You can add multiple cloud servers to each ", + "desc":"YesAPIG supports the configuration of multiple backend endpoints through a VPC channel (also called \"load balance channel\"). You can add multiple cloud servers to each VP", "product_code":"apig", "title":"Does APIG Support Multiple Backend Endpoints?", - "uri":"apig-en-faq-180606012.html", + "uri":"apig-faq-180606012.html", "doc_type":"usermanual", - "p_code":"97", - "code":"105" + "p_code":"114", + "code":"121" }, { "desc":"If you are using a dedicated gateway, add an A record that points the independent domain name to the inbound access address of the gateway. You can bind five independent ", @@ -950,17 +1094,17 @@ "title":"What Should I Do After Applying for an Independent Domain Name?", "uri":"apig-faq-2005009.html", "doc_type":"usermanual", - "p_code":"97", - "code":"106" + "p_code":"114", + "code":"122" }, { - "desc":"In a dedicated gateway, you can add a private domain name, and add an A record to point the domain name to the inbound access address of the gateway.", + "desc":"In a dedicated gateway, you can add a private domain name (filing not required), and add an A record to point the domain name to the inbound access address of the gateway", "product_code":"apig", "title":"Can I Bind Private Domain Names for API Access?", "uri":"apig-faq-2005021.html", "doc_type":"usermanual", - "p_code":"97", - "code":"107" + "p_code":"114", + "code":"123" }, { "desc":"Ensure that CORS has been enabled for the API.Go to the API details page, click Edit, and check whether CORS is enabled. If it is not, enable it.Go to the API details pag", @@ -968,17 +1112,17 @@ "title":"Why Does an API Failed to Be Called Across Domains?", "uri":"apig-faq-190627027.html", "doc_type":"usermanual", - "p_code":"97", - "code":"108" + "p_code":"114", + "code":"124" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"API Calling", - "uri":"apig-en-faq-180919017.html", + "uri":"apig-faq-180919017.html", "doc_type":"usermanual", - "p_code":"95", - "code":"109" + "p_code":"112", + "code":"125" }, { "desc":"API calling failures may occur in three scenarios: within a VPC, between VPCs, and on a public network.Within a VPC: Check whether the domain name is the same as that aut", @@ -986,26 +1130,26 @@ "title":"What Are the Possible Causes for an API Calling Failure?", "uri":"apig-faq-2005010.html", "doc_type":"usermanual", - "p_code":"109", - "code":"110" + "p_code":"125", + "code":"126" }, { - "desc":"If an error code is returned when you call your own APIs, see User Guide > Calling Published APIs > Error Codes.If an error code is returned when you manage your APIs, se", + "desc":"If an error code is returned when you call your own APIs, see Error Codes.If an error code is returned when you manage your APIs,see section \"Error Codes\" in the API Gate", "product_code":"apig", "title":"What Should I Do If an Error Code Is Returned During API Calling?", "uri":"apig-faq-2005012.html", "doc_type":"usermanual", - "p_code":"109", - "code":"111" + "p_code":"125", + "code":"127" }, { - "desc":"The request URL (including request parameters) is too long. Place the request parameters in the request body and try again.", + "desc":"The request URL (including request parameters) is too long. Place the request parameters in the request body and try again.For details about API calling errors, see secti", "product_code":"apig", - "title":"Why Am I Seeing the Error Message \"414 Request-URI Too Large\" When I Call an API?", + "title":"Why Am I Seeing the Error Message \"414 Request URI too large\" When I Call an API?", "uri":"apig-faq-2005022.html", "doc_type":"usermanual", - "p_code":"109", - "code":"112" + "p_code":"125", + "code":"128" }, { "desc":"If an open API in APIG failed to be called, troubleshoot the failure by performing the following operations:The domain name, request method, or path used for calling the ", @@ -1013,26 +1157,26 @@ "title":"What Should I Do If \"The API does not exist or has not been published in the environment.\" Is Displayed?", "uri":"apig-faq-19123002.html", "doc_type":"usermanual", - "p_code":"109", - "code":"113" + "p_code":"125", + "code":"129" }, { "desc":"Check whether the backend service is accessible, and modify the backend service if it is inaccessible.Check the ECS security group configurations of the backend service a", "product_code":"apig", "title":"Why Am I Seeing the Message \"No backend available\"?", - "uri":"apig-en-faq-181016018.html", + "uri":"apig-faq-181016018.html", "doc_type":"usermanual", - "p_code":"109", - "code":"114" + "p_code":"125", + "code":"130" }, { "desc":"The following table lists the possible causes if a backend service fails to be invoked or the invocation times out.", "product_code":"apig", "title":"What Are the Possible Causes If the Message \"Backend unavailable\" or \"Backend timeout\" Is Displayed?", - "uri":"en-us_topic_0087908599.html", + "uri":"apig_0087908599.html", "doc_type":"usermanual", - "p_code":"109", - "code":"115" + "p_code":"125", + "code":"131" }, { "desc":"An error message indicating a domain name resolution failure is displayed when the backend service is called, although private domain name resolution is completed for the", @@ -1040,98 +1184,98 @@ "title":"Why Am I Seeing the Message \"Backend domain name resolution failed\" When a Backend Service Is Called?", "uri":"apig-faq-0004.html", "doc_type":"usermanual", - "p_code":"109", - "code":"116" + "p_code":"125", + "code":"132" }, { - "desc":"Modification of the backend_timeout parameter in a dedicated gateway does not take effect.The Timeout (ms) parameter on the Define Backend Request page is not modified.Lo", + "desc":"Modification of the backend_timeout parameter in gateways does not take effect.The Timeout (ms) parameter on the Define Backend Request page is not modified.Log in to the", "product_code":"apig", "title":"Why Doesn't Modification of the backend_timeout Parameter Take Effect?", "uri":"apig-faq-19122004.html", "doc_type":"usermanual", - "p_code":"109", - "code":"117" + "p_code":"125", + "code":"133" }, { - "desc":"By default, the API in the RELEASE environment is called. If you want to call the same API in another environment, add the request header X-Stage to specify the environme", + "desc":"By default, the API in the RELEASE environment is called.If you want to call the same API in another environment, add the request header X-Stage to specify the environmen", "product_code":"apig", "title":"How Do I Switch the Environment for API Calling?", "uri":"apig-faq-2005011.html", "doc_type":"usermanual", - "p_code":"109", - "code":"118" + "p_code":"125", + "code":"134" }, { "desc":"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 req", "product_code":"apig", "title":"What Is the Maximum Size of an API Request Package?", - "uri":"apig-en-faq-180606013.html", + "uri":"apig-faq-180606013.html", "doc_type":"usermanual", - "p_code":"109", - "code":"119" + "p_code":"125", + "code":"135" }, { - "desc":"APIG provides SDKs and demos in multiple languages, such as Java, Python, C, PHP, and Go, for app authentication. To use Objective-C (for iOS) or other languages, see Dev", + "desc":"APIG provides SDKs and demos in multiple languages, such as Java, Python, C, PHP, and Go, for app authentication.To use Objective-C (for iOS) or other languages, see Deve", "product_code":"apig", "title":"How Do I Perform App Authentication in iOS System?", "uri":"apig-faq-190515025.html", "doc_type":"usermanual", - "p_code":"109", - "code":"120" + "p_code":"125", + "code":"136" }, { - "desc":"The header parameter x-auth-token has already been defined in APIG. To use this parameter to call an API, add the parameter and its value to the request header.", + "desc":"The header parameter x-auth-token has already been defined in APIG.To use this parameter to call an API, add the parameter and its value to the request header.", "product_code":"apig", "title":"Why Can't I Create a Header Parameter Named x-auth-token for an API Called Through IAM Authentication?", "uri":"apig-faq-190627029.html", "doc_type":"usermanual", - "p_code":"109", - "code":"121" + "p_code":"125", + "code":"137" }, { - "desc":"How many apps can I create?You can create a maximum of 50 apps.How do I isolate the calling information among the third parties that call the same API through app authent", + "desc":"How many apps (credentials) can I create?You can create a maximum of 50 apps (credentials).How do I isolate the calling information among the third parties that call the ", "product_code":"apig", - "title":"App FAQs", + "title":"App (Credential) FAQs", "uri":"apig-faq-190627030.html", "doc_type":"usermanual", - "p_code":"109", - "code":"122" + "p_code":"125", + "code":"138" }, { - "desc":"Yes, mobile apps can call APIs. In app authentication mode, the AppKey and AppSecret of a mobile app are replaced with those in the relevant SDK to sign the app.", + "desc":"Yes, mobile apps can call APIs.In app authentication mode, the AppKey and AppSecret of a mobile app are replaced with those in the relevant SDK to sign the app.", "product_code":"apig", "title":"Can Mobile Apps Call APIs?", - "uri":"apig-en-faq-180307004.html", + "uri":"apig-faq-180307004.html", "doc_type":"usermanual", - "p_code":"109", - "code":"123" + "p_code":"125", + "code":"139" }, { "desc":"Yes, applications deployed in a VPC can call APIs by default. If domain name resolution fails, configure a DNS server on the current endpoint by following the instruction", "product_code":"apig", "title":"Can Applications Deployed in a VPC Call APIs?", - "uri":"apig-en-faq-180307008.html", + "uri":"apig-faq-180307008.html", "doc_type":"usermanual", - "p_code":"109", - "code":"124" + "p_code":"125", + "code":"140" }, { - "desc":"APIG supports WebSocket data transmission. When creating an API, you can select HTTP, HTTPS, or HTTP&HTTPS. HTTP is equivalent to WebSocket (ws), and HTTPS is equivalent ", + "desc":"Yes.When creating an API, you can select HTTP, HTTPS, or HTTP&HTTPS. HTTP is equivalent to WebSocket (ws), and HTTPS is equivalent to WebSocket Secure (wss).", "product_code":"apig", - "title":"How Do I Implement WebSocket Data Transmission?", + "title":"Does APIG Support WebSocket Data Transmission?", "uri":"apig-faq-190627033.html", "doc_type":"usermanual", - "p_code":"109", - "code":"125" + "p_code":"125", + "code":"141" }, { - "desc":"Yes. But you should use persistent connections properly to avoid occupying too many resources.", + "desc":"Yes.But you should use persistent connections properly to avoid occupying too many resources.", "product_code":"apig", "title":"Does APIG Support Persistent Connections?", "uri":"apig-faq-19122001.html", "doc_type":"usermanual", - "p_code":"109", - "code":"126" + "p_code":"125", + "code":"142" }, { "desc":"If multiple backend policies are configured for an API, APIG will match the backend policies in sequence. If an API request matches one of the backend policies, APIG imme", @@ -1139,17 +1283,17 @@ "title":"How Will the Requests for an API with Multiple Backend Policies Be Matched and Executed?", "uri":"apig-faq-19123001.html", "doc_type":"usermanual", - "p_code":"109", - "code":"127" + "p_code":"125", + "code":"143" }, { - "desc":"No.", + "desc":"No.But there is a limit on the size of the request body. For details, see the request_body_size parameter in the API Gateway User Guide.", "product_code":"apig", "title":"Is There a Limit on the Size of the Response to an API Request?", "uri":"apig-faq-19122003.html", "doc_type":"usermanual", - "p_code":"109", - "code":"128" + "p_code":"125", + "code":"144" }, { "desc":"Enable public access for the relevant gateway to allow external services to call APIs.If you encounter a network problem when calling APIs, see What Are the Possible Caus", @@ -1157,8 +1301,8 @@ "title":"How Can I Access Backend Services over Public Networks Through APIG?", "uri":"apig-faq-0007.html", "doc_type":"usermanual", - "p_code":"109", - "code":"129" + "p_code":"125", + "code":"145" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1166,17 +1310,17 @@ "title":"API Authentication", "uri":"apig-faq-auth.html", "doc_type":"usermanual", - "p_code":"95", - "code":"130" + "p_code":"112", + "code":"146" }, { - "desc":"Dedicated gateway: Yes.Backend two-way authentication: When creating an API, enable two-way authentication for the backend service. For details, see the description about", + "desc":"Dedicated gateway: Yes.Frontend two-way authentication: When binding an independent domain name, select an SSL certificate that contains a CA certificate. Client authenti", "product_code":"apig", "title":"Does APIG Support HTTPS Two-Way Authentication?", "uri":"apig-faq-2005013.html", "doc_type":"usermanual", - "p_code":"130", - "code":"131" + "p_code":"146", + "code":"147" }, { "desc":"To call APIs that do not require authentication, construct standard HTTP requests and send them to APIG.APIG transparently transmits requests to call an API that does not", @@ -1184,26 +1328,26 @@ "title":"How Do I Call an API That Does Not Require Authentication?", "uri":"apig-faq-2005020.html", "doc_type":"usermanual", - "p_code":"130", - "code":"132" + "p_code":"146", + "code":"148" }, { - "desc":"APIG supports TLS 1.1 and TLS 1.2, but does not support TLS 1.0 or TLS 1.3.", + "desc":"APIG supports TLS 1.1 and TLS 1.2, but does not support TLS 1.0 or TLS 1.3.For details, see section \"Binding a Domain Name\" in the API Gateway User Guide.", "product_code":"apig", "title":"Which TLS Versions Does APIG Support?", "uri":"apig-faq-2005015.html", "doc_type":"usermanual", - "p_code":"130", - "code":"133" + "p_code":"146", + "code":"149" }, { - "desc":"Yes. For details, see \"Custom Authorizers\" in the User Guide.", + "desc":"Yes.For details, see section \"Custom Authorizers\" in the API Gateway User Guide.", "product_code":"apig", "title":"Does APIG Support Custom Authentication?", "uri":"apig-faq-2005016.html", "doc_type":"usermanual", - "p_code":"130", - "code":"134" + "p_code":"146", + "code":"150" }, { "desc":"Yes. The request body is another element that needs to be signed in addition to the mandatory request header parameters. For example, when an API used to upload a file us", @@ -1211,17 +1355,26 @@ "title":"Will the Request Body Be Signed for Security Authentication?", "uri":"apig-faq-2005018.html", "doc_type":"usermanual", - "p_code":"130", - "code":"135" + "p_code":"146", + "code":"151" }, { - "desc":"You may encounter the following errors related to IAM authentication information:Incorrect IAM authentication information: verify aksk signature failIncorrect IAM authent", + "desc":"You may encounter the following errors related to IAM authentication information:Incorrect IAM authentication information: AK access failed to reach the limit,forbiddenIn", "product_code":"apig", "title":"Common Errors Related to IAM Authentication Information", "uri":"apig-faq-0003.html", "doc_type":"usermanual", - "p_code":"130", - "code":"136" + "p_code":"146", + "code":"152" + }, + { + "desc":"You may encounter the following errors related to app authentication information:Incorrect app authentication information: app not found, appkey xxxIncorrect app authenti", + "product_code":"apig", + "title":"What Should I Do If the App Authentication Information Is Incorrect?", + "uri":"apig-faq-0009.html", + "doc_type":"usermanual", + "p_code":"146", + "code":"153" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1229,8 +1382,8 @@ "title":"API Control Policies", "uri":"apig-faq-0002.html", "doc_type":"usermanual", - "p_code":"95", - "code":"137" + "p_code":"112", + "code":"154" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1238,35 +1391,35 @@ "title":"Request Throttling", "uri":"apig-faq-2005032.html", "doc_type":"usermanual", - "p_code":"137", - "code":"138" + "p_code":"154", + "code":"155" }, { - "desc":"No, but you can limit the maximum number of API calls allowed within a specific period of time.", + "desc":"No,but you can limit the maximum number of API calls allowed within a specific period of time.", "product_code":"apig", "title":"Can I Configure the Maximum Number of Concurrent Requests?", "uri":"apig-faq-2005026.html", "doc_type":"usermanual", - "p_code":"138", - "code":"139" + "p_code":"155", + "code":"156" }, { - "desc":"Yes.", + "desc":"Yes.For details about subdomain names (debugging domain names), see section \"Binding a Domain Name\" in the API Gateway User Guide.", "product_code":"apig", - "title":"Is the Restriction of 1000 Requests to a Subdomain Name Applied to Enterprise Accounts?", + "title":"Is the Restriction of 1000 Requests per Day to a Subdomain Name (Debugging Domain Name) Applied to Enterprise Accounts?", "uri":"apig-faq-190627032.html", "doc_type":"usermanual", - "p_code":"138", - "code":"140" + "p_code":"155", + "code":"157" }, { "desc":"Dedicated gateways have bandwidth limits. When you create a dedicated gateway, you can set the bandwidth for public inbound and outbound access.", "product_code":"apig", - "title":"Does APIG Has Bandwidth Limits?", + "title":"Does APIG Have Bandwidth Limits?", "uri":"apig-faq-19122002.html", "doc_type":"usermanual", - "p_code":"138", - "code":"141" + "p_code":"155", + "code":"158" }, { "desc":"API call limit or source IP address request limit of the policy does not take effect.Check whether the policy has been bound to an API.Check whether the policy has been b", @@ -1274,8 +1427,8 @@ "title":"Why Doesn't a Request Throttling Policy Take Effect?", "uri":"apig-faq-0001.html", "doc_type":"usermanual", - "p_code":"138", - "code":"142" + "p_code":"155", + "code":"159" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1283,8 +1436,8 @@ "title":"Access Control", "uri":"apig-faq-2005033.html", "doc_type":"usermanual", - "p_code":"137", - "code":"143" + "p_code":"154", + "code":"160" }, { "desc":"You can provide an open API to specific users in either of the following ways:Select app authentication when you create the API, and share the AppKey and AppSecret with t", @@ -1292,8 +1445,8 @@ "title":"How Do I Provide an Open API to Specific Users?", "uri":"apig-faq-2005008.html", "doc_type":"usermanual", - "p_code":"143", - "code":"144" + "p_code":"160", + "code":"161" }, { "desc":"You can choose either of the following solutions:Solution 1: Create an API that does not require authentication, and configure an access control policy to whitelist the I", @@ -1301,53 +1454,62 @@ "title":"How Do I Exclude a Specific IP Address for Identity Authentication of an API?", "uri":"apig-faq-2005023.html", "doc_type":"usermanual", - "p_code":"143", - "code":"145" + "p_code":"160", + "code":"162" + }, + { + "desc":"Not necessarily.In APIG, access control is based on the value of $remote_addr. $remote_addr indicates a client IP address and is determined by the access mode. If a clien", + "product_code":"apig", + "title":"Are Client IP Addresses Verified for Access Control?", + "uri":"apig-faq-0008.html", + "doc_type":"usermanual", + "p_code":"160", + "code":"163" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"API Publishing", - "uri":"apig-en-faq-180919016.html", + "uri":"apig-faq-180919016.html", "doc_type":"usermanual", - "p_code":"95", - "code":"146" + "p_code":"112", + "code":"164" }, { - "desc":"Yes. After you modify the parameters of a published API, you must publish the API again to synchronize the modifications to the environment.", + "desc":"Yes.After you modify the parameters of a published API, you must publish the API again to synchronize the modifications to the environment.For details, see section \"Publi", "product_code":"apig", "title":"Do I Need to Publish an API Again After Modification?", - "uri":"apig-en-faq-180307002.html", + "uri":"apig-faq-180307002.html", "doc_type":"usermanual", - "p_code":"146", - "code":"147" + "p_code":"164", + "code":"165" }, { - "desc":"To make an API published in a non-RELEASE environment accessible, add the x-stage header to the API request.Example:", + "desc":"Yes. To access an API published in a non-RELEASE environment, add the x-stage header to the API request.Example:You can also refer to examples of section \"Quickly Opening", "product_code":"apig", - "title":"Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?", - "uri":"apig-en-faq-180606011.html", + "title":"Can I Access an API Published in a Non-RELEASE Environment?", + "uri":"apig-faq-180606011.html", "doc_type":"usermanual", - "p_code":"146", - "code":"148" + "p_code":"164", + "code":"166" }, { - "desc":"Yes, you can invoke different backend services by publishing an API in different environments while specifying environment variables and backend parameters.", + "desc":"Yes, you can invoke different backend services by publishing an API in different environments while specifying environment variables and backend parameters.For details ab", "product_code":"apig", "title":"Can I Invoke Different Backend Services by Publishing an API in Different Environments?", - "uri":"apig-en-faq-181016019.html", + "uri":"apig-faq-181016019.html", "doc_type":"usermanual", - "p_code":"146", - "code":"149" + "p_code":"164", + "code":"167" }, { - "desc":"APIG debugs APIs in a specific debugging environment. After debugging is completed, you need to publish your API in an environment, and use code or postman to add the X-S", + "desc":"No.APIG debugs APIs in a specific debugging environment. After debugging is completed, you need to publish your API in an environment, and use code or Postman to add the ", "product_code":"apig", - "title":"How Do I Specify an Environment for API Debugging?", + "title":"Can I Specify an Environment for API Debugging?", "uri":"apig-faq-2005027.html", "doc_type":"usermanual", - "p_code":"146", - "code":"150" + "p_code":"164", + "code":"168" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1355,8 +1517,8 @@ "title":"API Import and Export", "uri":"apig-faq-2005035.html", "doc_type":"usermanual", - "p_code":"95", - "code":"151" + "p_code":"112", + "code":"169" }, { "desc":"Possible cause 1: The number of APIs exceeds the maximum allowed limit for a single import. For more APIs (300), import them in batches or submit a service ticket to incr", @@ -1364,8 +1526,8 @@ "title":"Why Does API Import Fail?", "uri":"apig-faq-2005024.html", "doc_type":"usermanual", - "p_code":"151", - "code":"152" + "p_code":"169", + "code":"170" }, { "desc":"The template is being developed.Currently, you can configure one or two APIs in APIG, and then export them to use as templates.", @@ -1373,35 +1535,35 @@ "title":"Does APIG Provide a Template for Importing APIs from Swagger Files?", "uri":"apig-faq-2005025.html", "doc_type":"usermanual", - "p_code":"151", - "code":"153" + "p_code":"169", + "code":"171" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"API Security", - "uri":"apig-en-faq-180919015.html", + "uri":"apig-faq-180919015.html", "doc_type":"usermanual", - "p_code":"95", - "code":"154" + "p_code":"112", + "code":"172" }, { "desc":"Identity authenticationConfigure IAM or App authentication for APIs to prevent malicious calling.Configure IAM or App authentication for APIs to prevent malicious calling", "product_code":"apig", "title":"How Can I Protect My APIs?", - "uri":"apig-en-faq-180307003.html", + "uri":"apig-faq-180307003.html", "doc_type":"usermanual", - "p_code":"154", - "code":"155" + "p_code":"172", + "code":"173" }, { "desc":"You can ensure the security of backend services invoked by APIG by using the following methods:Bind signature keys to APIsAfter a signature key is bound to an API, APIG a", "product_code":"apig", "title":"How Do I Ensure the Security of Backend Services Invoked by APIG?", - "uri":"apig-en-faq-180307009.html", + "uri":"apig-faq-180307009.html", "doc_type":"usermanual", - "p_code":"154", - "code":"156" + "p_code":"172", + "code":"174" }, { "desc":"No.", @@ -1409,79 +1571,70 @@ "title":"Can I Control Access to the Private IP Addresses of the ECSs in a VPC Channel (or Load Balance Channel)?", "uri":"apig-faq-191201.html", "doc_type":"usermanual", - "p_code":"154", - "code":"157" + "p_code":"172", + "code":"175" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"Other FAQs", - "uri":"apig-en-faq-180919014.html", + "uri":"apig-faq-180919014.html", "doc_type":"usermanual", - "p_code":"95", - "code":"158" + "p_code":"112", + "code":"176" }, { - "desc":"An API can be published in different environments, such as RELEASE (online environment) and BETA (test environment).An app refers to the identity of an API caller. After ", + "desc":"An API can be published in different environments, such as RELEASE (online environment) and BETA (test environment).An app (credential) refers to the identity of an API c", "product_code":"apig", - "title":"What Are the Relationships Between an API, Environment, and App?", - "uri":"en-us_topic_0084464485.html", + "title":"What Are the Relationships Between an API, Environment, and App (Credential)?", + "uri":"apig_0084464485.html", "doc_type":"usermanual", - "p_code":"158", - "code":"159" + "p_code":"176", + "code":"177" }, { "desc":"You can use APIG to manage and call APIs in the following ways:Management console, a web-based service management platformIf you have already registered an account, log i", "product_code":"apig", "title":"How Can I Use APIG?", - "uri":"en-us_topic_0084464486.html", + "uri":"apig_0084464486.html", "doc_type":"usermanual", - "p_code":"158", - "code":"160" + "p_code":"176", + "code":"178" }, { - "desc":"APIG supports Java, Go, Python, C#, JavaScript, PHP, C++, C, and Android SDKs.", + "desc":"APIG supports Java, Go, Python, C#, JavaScript, PHP, C++, C, and Android SDKs.For details about SDKs, see the API Gateway Developer Guide.", "product_code":"apig", "title":"What SDK Languages Does APIG Support?", - "uri":"apig-en-faq-180606010.html", + "uri":"apig-faq-180606010.html", "doc_type":"usermanual", - "p_code":"158", - "code":"161" + "p_code":"176", + "code":"179" }, { "desc":"Yes.If you are using dedicated gateways, configure the maximum request body size allowed by setting the request_body_size parameter. The value ranges from 1 MB to 9536 MB", "product_code":"apig", "title":"Can I Upload Files Using the POST Method?", - "uri":"apig-en-faq-180307006.html", + "uri":"apig-faq-180307006.html", "doc_type":"usermanual", - "p_code":"158", - "code":"162" + "p_code":"176", + "code":"180" }, { "desc":"When receiving an API request, APIG returns a response. A similar response body is as follows:\"error_code\": error code\"error_msg\": description of the error", "product_code":"apig", "title":"What Are the Error Messages Returned by APIG Like?", - "uri":"apig-en-faq-180307001.html", + "uri":"apig-faq-180307001.html", "doc_type":"usermanual", - "p_code":"158", - "code":"163" - }, - { - "desc":"No. APIG cannot be deployed in a local data center.", - "product_code":"apig", - "title":"Can APIG Be Deployed in a Local Data Center?", - "uri":"apig-faq-20210414.html", - "doc_type":"usermanual", - "p_code":"158", - "code":"164" + "p_code":"176", + "code":"181" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apig", "title":"Change History", - "uri":"apig-en-ug-180307075.html", + "uri":"apig_03_0081.html", "doc_type":"usermanual", "p_code":"", - "code":"165" + "code":"182" } ] \ No newline at end of file diff --git a/docs/apig/umn/apic-ug-190430104.html b/docs/apig/umn/apic-ug-190430104.html deleted file mode 100644 index e146eaae..00000000 --- a/docs/apig/umn/apic-ug-190430104.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -

Custom Authorizers

- -

-
- -
- - - -
- diff --git a/docs/apig/umn/apic-ug-190430105.html b/docs/apig/umn/apic-ug-190430105.html deleted file mode 100644 index a6d9f879..00000000 --- a/docs/apig/umn/apic-ug-190430105.html +++ /dev/null @@ -1,74 +0,0 @@ - - -

Creating a Custom Authorizer

-

This feature is currently unavailable because FunctionGraph has not been launched.

-
-

Scenario

APIG supports custom authentication of both frontend and backend requests.

- -

Custom authentication is implemented using FunctionGraph and not supported if FunctionGraph is unavailable in the selected region.

-

For details about custom authentication, see Developer Guide.

-
-

The following figure shows the process of calling APIs through custom authentication.

-
Figure 1 Calling APIs through custom authentication
-
-

Prerequisites

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. Choose API Publishing > Custom Authorizers, and click Create Custom Authorizer.
  4. Set the parameters listed in Table 1.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Parameters for creating a custom authorizer

    Parameter

    -

    Description

    -

    Name

    -

    Authorizer name.

    -

    Type

    -
    • Frontend: Authenticates access to APIs.
    • Backend: Authenticates access to backend services.
    -

    Function URN

    -

    Select a FunctionGraph function.

    -

    Identity Sources

    -

    Request parameters for authentication. You can add headers and query strings. Header names are case-insensitive.

    -

    This parameter is mandatory only if you set Type to Frontend, and Max. Cache Age (s) is greater than 0. When the cache is used, this parameter is used as a search criterion to query authentication results.

    -

    Max. Cache Age (s)

    -

    The time for caching authentication results.

    -

    Value 0 means that authentication results will not be cached. The maximum value is 3600.

    -

    Send Request Body

    -

    Determine whether to send the body of each API request to the authentication function. If you enable this option, the request body will be sent to the authentication function in the same way as the headers and query strings.

    -
    NOTE:

    This option is available only for dedicated API gateways.

    -
    -

    User Data

    -

    Customized request parameters to be used together with Identity Sources when APIG invokes a function.

    -
    -
    -
    -

  5. Click OK.
-
-
-
- -
- diff --git a/docs/apig/umn/apic-ug-190430106.html b/docs/apig/umn/apic-ug-190430106.html deleted file mode 100644 index be15c5e7..00000000 --- a/docs/apig/umn/apic-ug-190430106.html +++ /dev/null @@ -1,18 +0,0 @@ - - -

Deleting a Custom Authorizer

-

Scenario

You can delete custom authorizers you no longer require.

-
  • Custom authentication is implemented using FunctionGraph and not supported if FunctionGraph is unavailable in the selected region.
  • Custom authorizers that have been configured for APIs cannot be deleted.
-
-
-

Prerequisites

You have created a custom authorizer.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. Choose API Publishing > Custom Authorizers, and click Delete in the row containing the custom authorizer you want to delete.
  4. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-custom-policy.html b/docs/apig/umn/apig-custom-policy.html deleted file mode 100644 index 70c3ec5b..00000000 --- a/docs/apig/umn/apig-custom-policy.html +++ /dev/null @@ -1,45 +0,0 @@ - - -

APIG Custom Policies

-

Custom policies can be created to supplement the system-defined policies of APIG. For the actions that can be added to custom policies, see section "Permissions Policies and Supported Actions" in the API Gateway API Reference.

-

You can create custom policies using one of the following methods:

- -

For details, see section "Creating a Custom Policy" in the Identity and Access Management User Guide. The following section contains examples of common APIG custom policies.

-

Only dedicated API gateways support system-defined policies and custom policies.

-
-

Example Custom Policies

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180307001.html b/docs/apig/umn/apig-en-faq-180307001.html deleted file mode 100644 index b89a3962..00000000 --- a/docs/apig/umn/apig-en-faq-180307001.html +++ /dev/null @@ -1,17 +0,0 @@ - - -

What Are the Error Messages Returned by APIG Like?

-

When receiving an API request, APIG returns a response. A similar response body is as follows:

-
{
-	"error_code": "APIG.0101",
-	"error_msg": "API does not exist or is not published in the environment.",
-	"request_id": "acbc548ac6f2a0dbdb9e3518a7c0ff84"
-}
- -
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180307002.html b/docs/apig/umn/apig-en-faq-180307002.html deleted file mode 100644 index f21121fd..00000000 --- a/docs/apig/umn/apig-en-faq-180307002.html +++ /dev/null @@ -1,11 +0,0 @@ - - -

Do I Need to Publish an API Again After Modification?

-

Yes. After you modify the parameters of a published API, you must publish the API again to synchronize the modifications to the environment.

-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180307003.html b/docs/apig/umn/apig-en-faq-180307003.html deleted file mode 100644 index bf3aaffa..00000000 --- a/docs/apig/umn/apig-en-faq-180307003.html +++ /dev/null @@ -1,14 +0,0 @@ - - -

How Can I Protect My APIs?

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180307004.html b/docs/apig/umn/apig-en-faq-180307004.html deleted file mode 100644 index 111d570e..00000000 --- a/docs/apig/umn/apig-en-faq-180307004.html +++ /dev/null @@ -1,11 +0,0 @@ - - -

Can Mobile Apps Call APIs?

-

Yes, mobile apps can call APIs. In app authentication mode, the AppKey and AppSecret of a mobile app are replaced with those in the relevant SDK to sign the app.

-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180307006.html b/docs/apig/umn/apig-en-faq-180307006.html deleted file mode 100644 index 49737dcf..00000000 --- a/docs/apig/umn/apig-en-faq-180307006.html +++ /dev/null @@ -1,14 +0,0 @@ - - -

Can I Upload Files Using the POST Method?

-

Yes.

-

If you are using dedicated gateways, configure the maximum request body size allowed by setting the request_body_size parameter. The value ranges from 1 MB to 9536 MB.

-

Currently, only the request body can be transparently transmitted.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180307008.html b/docs/apig/umn/apig-en-faq-180307008.html deleted file mode 100644 index 3916ed55..00000000 --- a/docs/apig/umn/apig-en-faq-180307008.html +++ /dev/null @@ -1,38 +0,0 @@ - - -

Can Applications Deployed in a VPC Call APIs?

-

Yes, applications deployed in a VPC can call APIs by default. If domain name resolution fails, configure a DNS server on the current endpoint by following the instructions in Configuring an Intranet DNS Server. After the configuration, applications deployed in the VPC can call APIs.

-

Configuring an Intranet DNS Server

To configure a DNS server, specify its IP address in the /etc/resolv.conf file.

-

The IP address of the intranet DNS server depends on which region you are located in. Find the IP address of the intranet DNS server in your region from the private DNS server addresses mentioned in the Domain Name Service FAQs.

-

Add an intranet DNS server with either of the following two methods:

- -
-

Method 1

Perform the following procedure to add a DNS server IP address to the subnet configurations of the ECS in the VPC.

-
  1. Log in to the management console.
  2. Click in the upper left corner to select a region.
  3. In the service list, choose Compute > Elastic Cloud Server.
  4. Click the name of the ECS you want to use.
  5. On the ECS details page, view the NIC information, and click to view the subnet name of the ECS.
  6. On the ECS basic information page, view the VPC name of the ECS.
  7. Click the VPC name to visit the VPC console.
  8. Choose Subnets in the left navigation pane.
  9. Locate the subnet mentioned in 5 and click the subnet name.
  10. Change the DNS server address of the subnet and click OK.

    For example, change the address to 100.125.1.250.

    -

  11. Restart the ECS. Check that the /etc/resolv.conf file contains the IP address of the DNS server to be configured, and the IP address is less than those of all other DNS servers.

    The following figure shows the IP address 100.125.1.250 of the DNS server to be configured.

    -

    -

    Modifying the subnet information of a VPC will affect all ECSs created using the subnet.

    -
    -

-
-

Method 2

Add the IP address of the intranet DNS server to the /etc/resolv.conf file.

-

For example, if you are located in region01, add an intranet DNS server of IP address 100.125.1.250 to the /etc/resolv.conf file.

-
  • The IP address of the new DNS server must be less than those of all other DNS servers.
  • The DNS configurations take effect immediately after the /etc/resolv.conf file is saved.
-
-
-
-
- -
- - - \ No newline at end of file diff --git a/docs/apig/umn/apig-en-faq-180307009.html b/docs/apig/umn/apig-en-faq-180307009.html deleted file mode 100644 index 4cb978eb..00000000 --- a/docs/apig/umn/apig-en-faq-180307009.html +++ /dev/null @@ -1,15 +0,0 @@ - - -

How Do I Ensure the Security of Backend Services Invoked by APIG?

-

You can ensure the security of backend services invoked by APIG by using the following methods:

- -
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180606010.html b/docs/apig/umn/apig-en-faq-180606010.html deleted file mode 100644 index 1bc9c693..00000000 --- a/docs/apig/umn/apig-en-faq-180606010.html +++ /dev/null @@ -1,11 +0,0 @@ - - -

What SDK Languages Does APIG Support?

-

APIG supports Java, Go, Python, C#, JavaScript, PHP, C++, C, and Android SDKs.

-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180606011.html b/docs/apig/umn/apig-en-faq-180606011.html deleted file mode 100644 index 66d851ac..00000000 --- a/docs/apig/umn/apig-en-faq-180606011.html +++ /dev/null @@ -1,13 +0,0 @@ - - -

Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?

-

To make an API published in a non-RELEASE environment accessible, add the x-stage header to the API request.

-

Example:

-
r.Header.Add("x-stage", "RELEASE")
-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180606012.html b/docs/apig/umn/apig-en-faq-180606012.html deleted file mode 100644 index 5a9992d7..00000000 --- a/docs/apig/umn/apig-en-faq-180606012.html +++ /dev/null @@ -1,11 +0,0 @@ - - -

Does APIG Support Multiple Backend Endpoints?

-

Yes. APIG supports the configuration of multiple backend endpoints through a VPC channel (also called "load balance channel"). You can add multiple cloud servers to each VPC channel.

-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180606013.html b/docs/apig/umn/apig-en-faq-180606013.html deleted file mode 100644 index 6187a8d4..00000000 --- a/docs/apig/umn/apig-en-faq-180606013.html +++ /dev/null @@ -1,11 +0,0 @@ - - -

What Is the Maximum Size of an API Request Package?

-

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. This parameter indicates the maximum request body size allowed. The value ranges from 1 MB to 9536 MB.

-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-180919014.html b/docs/apig/umn/apig-en-faq-180919014.html deleted file mode 100644 index c2522563..00000000 --- a/docs/apig/umn/apig-en-faq-180919014.html +++ /dev/null @@ -1,29 +0,0 @@ - - - -

Other FAQs

- -

-
- -
- - - -
- diff --git a/docs/apig/umn/apig-en-faq-180919015.html b/docs/apig/umn/apig-en-faq-180919015.html deleted file mode 100644 index 4056e151..00000000 --- a/docs/apig/umn/apig-en-faq-180919015.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

API Security

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-faq-180919016.html b/docs/apig/umn/apig-en-faq-180919016.html deleted file mode 100644 index 3020d265..00000000 --- a/docs/apig/umn/apig-en-faq-180919016.html +++ /dev/null @@ -1,25 +0,0 @@ - - - -

API Publishing

- -

-
- -
- - - -
- diff --git a/docs/apig/umn/apig-en-faq-181016018.html b/docs/apig/umn/apig-en-faq-181016018.html deleted file mode 100644 index 3d3ca5cc..00000000 --- a/docs/apig/umn/apig-en-faq-181016018.html +++ /dev/null @@ -1,11 +0,0 @@ - - -

Why Am I Seeing the Message "No backend available"?

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-faq-181016019.html b/docs/apig/umn/apig-en-faq-181016019.html deleted file mode 100644 index 137374f1..00000000 --- a/docs/apig/umn/apig-en-faq-181016019.html +++ /dev/null @@ -1,11 +0,0 @@ - - -

Can I Invoke Different Backend Services by Publishing an API in Different Environments?

-

Yes, you can invoke different backend services by publishing an API in different environments while specifying environment variables and backend parameters.

-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307001.html b/docs/apig/umn/apig-en-ug-180307001.html deleted file mode 100644 index fe5b147d..00000000 --- a/docs/apig/umn/apig-en-ug-180307001.html +++ /dev/null @@ -1,27 +0,0 @@ - - -

Opening APIs

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307002.html b/docs/apig/umn/apig-en-ug-180307002.html deleted file mode 100644 index e59b22e0..00000000 --- a/docs/apig/umn/apig-en-ug-180307002.html +++ /dev/null @@ -1,28 +0,0 @@ - - -

Process Flow

-

The following figure shows the process of exposing an API.

-

-
  1. Creating a Gateway

    Buy a dedicated gateway. For details, see Buying a Dedicated Gateway.

    -

    -
  2. Creating an API Group

    An API group facilitates management of APIs used for the same service. Create an API group and then create APIs.

    -
  3. Binding a Domain Name

    Before making the API available for users to access, bind an independent domain name (custom domain name) to the group to which the API belongs. Then API callers can use these domain names to call the API.

    -
  4. Creating an API

    When creating an API, configure the frontend and backend request paths, parameters, and protocols.

    -
  5. Debugging an API

    Debug the API to check whether it works normally.

    -
  6. (Optional) Creating an Environment

    An API can be called in different scenarios, such as the production environment (RELEASE) or other custom environments. RELEASE is the default environment defined in APIG.

    -
  7. Publishing an API

    Publish the API so that it can be called.

    -
-
-
- -
- - - \ No newline at end of file diff --git a/docs/apig/umn/apig-en-ug-180307003.html b/docs/apig/umn/apig-en-ug-180307003.html deleted file mode 100644 index 0232675e..00000000 --- a/docs/apig/umn/apig-en-ug-180307003.html +++ /dev/null @@ -1,32 +0,0 @@ - - -

Creating an API Group

-
  1. Log in to the APIG console.
  2. Access the dedicated gateway you purchased.
  3. In the navigation pane, choose API Publishing > API Groups.
  4. Click Create API Group and configure group information.

    -
    - - - - - - - - - - -
    Table 1 API group information

    Parameter

    -

    Description

    -

    Name

    -

    API group name. It is recommended that you enter a name based on naming rules to facilitate search.

    -

    Description

    -

    Description of the API group.

    -
    -
    -
    -

  5. Click OK. The system automatically allocates a subdomain name to the API group. APIs in the group can be debugged using the domain name.
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307004.html b/docs/apig/umn/apig-en-ug-180307004.html deleted file mode 100644 index f88925d9..00000000 --- a/docs/apig/umn/apig-en-ug-180307004.html +++ /dev/null @@ -1,32 +0,0 @@ - - -

(Optional) Creating an Environment

-
  1. In the navigation pane, choose API Publishing > Environments.
  2. Click Create Environment and set the environment information.

    -
    - - - - - - - - - - -
    Table 1 Environment information

    Parameter

    -

    Description

    -

    Name

    -

    Environment name. It is recommended that you enter a name based on naming rules to facilitate search.

    -

    Description

    -

    Description of the environment.

    -
    -
    -
    -

  3. Click OK.
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307005.html b/docs/apig/umn/apig-en-ug-180307005.html deleted file mode 100644 index eb3f2dff..00000000 --- a/docs/apig/umn/apig-en-ug-180307005.html +++ /dev/null @@ -1,12 +0,0 @@ - - -

Publishing an API

-
  1. In the navigation pane, choose API Publishing > APIs.
  2. Locate the API created in Creating an API, and click Publish.
  3. Select the environment where the API will be published.

    -

  4. Click Publish.
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307007.html b/docs/apig/umn/apig-en-ug-180307007.html deleted file mode 100644 index 1a63a98c..00000000 --- a/docs/apig/umn/apig-en-ug-180307007.html +++ /dev/null @@ -1,21 +0,0 @@ - - -

Calling APIs

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307008.html b/docs/apig/umn/apig-en-ug-180307008.html deleted file mode 100644 index 935d05f7..00000000 --- a/docs/apig/umn/apig-en-ug-180307008.html +++ /dev/null @@ -1,18 +0,0 @@ - - -

Process Flow

-

The following figure shows the process of calling an API.

-

-

-
  1. Obtaining an API

    Obtain an API and its documentation from an API provider.

    -
  2. Creating an App and Getting Authorized

    APIs that use app authentication can only be called using apps bound to them.

    -
  3. Adding an AppCode for Simple Authentication

    APIG only verifies the AppCode during simple authentication.

    -
  4. Calling the API

    Use an API test tool to call the API with app authentication credentials.

    -
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307009.html b/docs/apig/umn/apig-en-ug-180307009.html deleted file mode 100644 index 8b22bef9..00000000 --- a/docs/apig/umn/apig-en-ug-180307009.html +++ /dev/null @@ -1,12 +0,0 @@ - - -

Adding an AppCode for Simple Authentication

-
  1. In the app list, click the app created in Creating an App and Getting Authorized to go to the app details page.
  2. Click the AppCodes tab.
  3. Click Add AppCode.
  4. Select Automatically generated.

    -

  5. Click OK.
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307010.html b/docs/apig/umn/apig-en-ug-180307010.html deleted file mode 100644 index f1c0d5b1..00000000 --- a/docs/apig/umn/apig-en-ug-180307010.html +++ /dev/null @@ -1,35 +0,0 @@ - - -

Creating an App and Getting Authorized

-

Creating an App

  1. In the navigation pane, choose API Calling > Apps.
  2. Click Create App and set basic app information.

    -

    - - - - - - - - - - -
    Table 1 App information

    Parameter

    -

    Description

    -

    Name

    -

    App name. It is recommended that you enter a name based on naming rules to facilitate search.

    -

    Description

    -

    Description of the app.

    -
    -
    -

  3. Click OK.
-
-

Binding an App to an API

  1. In the Operation column of the created app, click Bind to API, and then click Select API.
  2. At the top of the API list, click Select API.
  3. Select the environment, API group, and API created in Opening APIs, and click OK.

    -

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307011.html b/docs/apig/umn/apig-en-ug-180307011.html deleted file mode 100644 index 534cf458..00000000 --- a/docs/apig/umn/apig-en-ug-180307011.html +++ /dev/null @@ -1,22 +0,0 @@ - - -

Calling an API

-

Use an API test tool to configure the API calling information.

-
  1. Obtain the API request information.

    For illustration purposes, an API and its documentation are obtained through offline channels. You can also obtain the authentication mode, request method, request path, and other information about the API.

    -

  2. Add the header parameter X-Apig-AppCode and set the parameter value to the generated AppCode.
  3. Add the header parameter x-stage and set the parameter value to the running environment. Skip this step if the API has been published in the RELEASE environment.
  4. Click Send to send a request.

    If the API is called successfully, the message 200 OK is displayed.

    -

    -

-
-
- -
- - - \ No newline at end of file diff --git a/docs/apig/umn/apig-en-ug-180307014.html b/docs/apig/umn/apig-en-ug-180307014.html deleted file mode 100644 index 9c3f6c3e..00000000 --- a/docs/apig/umn/apig-en-ug-180307014.html +++ /dev/null @@ -1,21 +0,0 @@ - - -

API Group Management

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307015.html b/docs/apig/umn/apig-en-ug-180307015.html deleted file mode 100644 index ad969641..00000000 --- a/docs/apig/umn/apig-en-ug-180307015.html +++ /dev/null @@ -1,41 +0,0 @@ - - -

Creating an API Group

-

Scenario

Before creating an API, you must create an API group. An API group contains different APIs used for the same service.

-

Each API can only belong to one API group.

-
-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > API Groups.
  4. Click Create API Group, and set the parameters described in Table 1.

    -

    - - - - - - - - - - -
    Table 1 Parameters for creating an API group

    Parameter

    -

    Description

    -

    Name

    -

    API group name.

    -

    Description

    -

    Description of the API group.

    -
    -
    -

  5. Click OK.

    After the API group is created, it is displayed in the API group list.
    • The system automatically allocates a subdomain name to the API group for internal testing. The subdomain name can be accessed 1000 times a day.
    • A default API group is automatically generated for each dedicated gateway. APIs in the default group can be called using the IP address of the VPC where the dedicated gateway is deployed.
    • To make your APIs available for users to access, bind independent domain names to the API group to which the APIs belong.
    -
    -
    -

-
-

Follow-Up Operations

After the API group is created, bind independent domain names to it so that API callers can use the domain names to call APIs in the group. For more information, see Binding a Domain Name.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307018.html b/docs/apig/umn/apig-en-ug-180307018.html deleted file mode 100644 index 4056b3bf..00000000 --- a/docs/apig/umn/apig-en-ug-180307018.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Deleting an API Group

-

Scenario

You can delete an API group if you do not require it.

-

API groups that contain APIs cannot be deleted.

-
-
-

Prerequisites

You have created an API group.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > API Groups.
  4. Delete an API group. You can use one of the following methods:

    • In the Operation column of the target API group, choose More > Delete.
    • Click the name of the target API group, and click Delete Group in the upper right corner of the displayed API group details page.
    -

  5. Enter DELETE and click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307019.html b/docs/apig/umn/apig-en-ug-180307019.html deleted file mode 100644 index 95699edd..00000000 --- a/docs/apig/umn/apig-en-ug-180307019.html +++ /dev/null @@ -1,31 +0,0 @@ - - -

API Management

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307020.html b/docs/apig/umn/apig-en-ug-180307020.html deleted file mode 100644 index 0b7b3d4f..00000000 --- a/docs/apig/umn/apig-en-ug-180307020.html +++ /dev/null @@ -1,517 +0,0 @@ - - -

Creating an API

-

Scenario

You can selectively expose your services by configuring their APIs in APIG.

-

To create an API, set the basic information and define the API request, backend service, and responses.

-

APIG uses a REST-based API architecture, so API opening and calling must comply with related RESTful API specifications.

-
-
-

Prerequisites

-
-

Setting Basic Information

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Click Create API, and set the parameters listed in Table 1.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Basic information

    Parameter

    -

    Description

    -

    Name

    -

    API name. It is recommended that you enter a name based on naming rules to facilitate search.

    -

    API Group

    -

    The group to which the API belongs.

    -

    If no API group is available, click Create API Group to create one.

    -

    Gateway Response

    -

    Displayed if APIG fails to process an API request.

    -

    APIG provides a set of default responses and also allows you to create gateway responses with custom status codes and content, on the API Groups page. The response content must be in JSON format.

    -

    Visibility

    -

    Determine whether the API is available to the public. Options:

    -
    • Public
    -

    Security Authentication

    -

    The following authentication modes are available:

    -
    • App: Requests for the API will be authenticated by APIG.
    • IAM: Requests for the API will be authenticated by Identity and Access Management (IAM).
    • Custom: Requests for the API will be authenticated by using your own authentication system or service (for example, an OAuth-based authentication system).
    • None: No authentication will be required.
    -

    The API calling method varies depending on the authentication mode. For details, see Developer Guide.

    -

    App authentication is recommended.

    -
    NOTICE:
    • If you set the authentication mode of an API to IAM, any APIG user can access the API, which can result in excessive charges if the API is bombarded with malicious requests.
    • If you set the authentication mode of an API to None, any user can access the API over public networks, which can result in excessive charges if the API is bombarded with malicious requests.
    • If you set the authentication mode of an API to Custom, you can create a function in FunctionGraph to interconnect with your own authentication system or service. This authentication mode is not supported in regions where FunctionGraph is unavailable.
    -
    -

    Simple Authentication

    -

    This parameter is available only if you set Security Authentication to App.

    -

    If you select app authentication, you can configure whether to enable simple authentication. In simple authentication, the X-Apig-AppCode parameter is added to the HTTP request header for quick response. APIG verifies only the AppCode and the request content does not need to be signed.

    -

    Simple authentication only supports HTTPS requests and does not support HTTP requests. For details, see Adding an AppCode for Simple Authentication.

    -
    NOTE:

    After you enable simple authentication for an existing API, you need to publish the API again. For details, see Publishing an API.

    -
    -

    Custom Authorizer

    -

    This parameter is mandatory if Security Authentication is set to Custom.

    -

    Select a custom authorizer if you set Security Authentication to Custom. If no custom authorizer is available, click Create Custom Authorizer to create one.

    -

    Tag Name

    -

    Classification attribute used to quickly identify the API from other APIs.

    -

    Description

    -

    Description of the API.

    -
    -
    -
    -

  5. Click Next.
-
-

Defining API Request

  1. On the Define API Request page, set the parameters listed in Table 2.

    -
    - - - - - - - - - - - - - - - - - - - - - - -
    Table 2 Parameters for defining API requests

    Parameter

    -

    Description

    -

    Domain Name

    -

    The subdomain automatically allocated to the API group.

    -

    Protocol

    -

    The protocol used for calling the API. Options:

    -
    • HTTP
    • HTTPS
    • HTTP&HTTPS
    -

    HTTPS is recommended for transmitting important or sensitive data.

    -

    Path

    -

    The path for requesting the API.

    -

    Enter a path in the format of "/users/{userId}/projects".

    -
    • The variable in braces ({}) is a request parameter. Ensure that it is an entire segment between a pair of slashes (/). A segment that is not marked by a pair of slashes, for example, /abc{userId}, is not supported. If you set the matching mode to Exact match, you can add a plus sign (+) to the end of the request parameter, for example, /users/{p+}. The variable p matches the segments between one or multiple pairs of slashes (/).
    • Ensure that you define the parameters contained in the request path as input parameters.
    • The content is case-sensitive.
    -

    Matching

    -

    Options:

    -
    • Exact match: The API can be called only using the specified request path.
    • Prefix match: The API can be called using paths starting with the matching characters.

      For example, if you set the request path to /test/AA and the matching mode to Prefix match, the API can be called using /test/AA/CC but cannot be called using /test/AACC.

      -
    -
    NOTE:
    • Exact match takes precedence over prefix match. Prefix match with a short prefix has a lower priority.

      For example, for request path /a/b/c (exact match), /a (prefix match), and /a/b (prefix match), the matching order is /a/b/c > /a/b > /a.

      -
    • If you set the matching mode to Prefix match, the characters of the API request path excluding the prefix are transparently transmitted to the backend service.

      For example, if you define the frontend and backend request paths of an API as /test/ and /test2/, respectively, and the API is called using /test/AA/CC, the characters AA/CC will be transparently transmitted to the backend service. The request URL received by the backend service is /test2/AA/CC/.

      -
    -
    -

    Method

    -

    The API calling method. The options are GET, POST, DELETE, PUT, PATCH, HEAD, OPTIONS, and ANY.

    -
    • ANY indicates that the API can be called using any request method.
    • If you set Method to POST, PUT, PATCH, or ANY, set the request body.
    -

    CORS

    -

    Determine whether to enable cross-origin resource sharing (CORS).

    -

    CORS allows browsers to send XMLHttpRequest to servers in other domains, overcoming the limitation that Asynchronous JavaScript and XML (AJAX) can be used only within the same domain.

    -

    There are two types of CORS requests:

    -
    • Simple requests: requests that have the Origin field in the header.
    • Not-so-simple requests: HTTP requests sent before the actual request.
    -

    If you enable CORS, you need to create another API that uses the OPTIONS method. For details, see CORS.

    -
    -
    -
    -

  2. (Optional) Set input parameters.

    Input parameters are transmitted together with the request when the API is called.
    1. Click Add Input Parameter.
    2. Set the parameters listed in Table 3. -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 3 Input parameter definition

      Parameter

      -

      Description

      -

      Name

      -

      Name of the input parameter. If you set the parameter location to PATH, ensure that the parameter name is the same as that defined in the request path.

      -
      NOTE:
      • The parameter name is not case-sensitive. It cannot start with x-apig- or x-sdk-.
      • The parameter name cannot be x-stage.
      • If you set the parameter location to HEADER, ensure that the parameter name is not Authorization or X-Auth-Token and does not contain underscores (_).
      -
      -

      Location

      -

      Position of the parameter in requests. The options are PATH, HEADER, and QUERY.

      -
      NOTE:

      If you set the parameter location to PATH, you must include the parameter in the request path.

      -
      -

      Type

      -

      Type of the parameter value. Options: STRING and NUMBER.

      -
      NOTE:

      Set the type of Boolean parameters to STRING.

      -
      -

      Mandatory

      -

      Determine whether the input parameter is required in each request sent to call the API. If you select Yes, API requests that do not contain the input parameter will be rejected.

      -

      Passthrough

      -

      Determine whether to transparently transmit the input parameter to the backend service.

      -

      Default Value

      -

      The value that will be used if no value is specified for the input parameter when the API is called. If the input parameter is not specified in a request, APIG will automatically send the default value to the backend service.

      -

      Enumerated Value

      -

      Enumerated value of the input parameter. Use commas (,) to separate multiple enumerated values. The value of this input parameter can only be one of the enumerated values.

      -

      Minimum Length

      -

      The minimum length of the parameter value. Only numbers are allowed.

      -

      Maximum Length

      -

      The maximum length of the parameter value. Only numbers are allowed.

      -

      Example

      -

      Example value for the parameter.

      -

      Description

      -

      Description of the parameter.

      -
      -
      -
    3. Click OK.
    -
    -

  3. Click Next.
-
-

Defining Backend Service

APIG allows you to define multiple backend policies for different scenarios. Requests that meet specified conditions will be forwarded to the corresponding backend. For example, you can have certain requests to an API forwarded to a specific backend by specifying the source IP address in the policy conditions of the backend.

-

You can define a maximum of five backend policies for an API in addition to the default backend.

-
  1. Define the default backend.

    API requests that do not meet the conditions of any backend will be forwarded to the default backend.

    -

    On the Define Backend Request page, select a backend type.

    -

    Table 4 and Table 5 describe the backend service parameters.

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 4 Parameters for defining an HTTP/HTTPS backend service

    Parameter

    -

    Description

    -

    Protocol

    -

    HTTP or HTTPS. This protocol must be the one used by the backend service.

    -
    NOTE:
    • WebSocket is supported for HTTP and HTTPS.
    • HTTPS is recommended for transmitting important or sensitive data.
    -
    -

    Method

    -

    The API calling method. The options are GET, POST, DELETE, PUT, PATCH, HEAD, OPTIONS, and ANY.

    -

    ANY indicates that the API can be called using any request method.

    -

    VPC Channel

    -

    Determine whether the backend service will be accessed using a VPC channel.

    -
    • If yes, select a VPC channel.

      To ensure a successful health check and service availability, configure the security groups of cloud servers in each VPC channel to allow access from 100.125.0.0/16.

      -
    • If no, configure the backend service address.

      Enter a backend address in the format of "backend service IP address or domain name":"port number". The default port (80 for HTTP and 443 for HTTPS) will be used if no port is specified.

      -

      To use environment variables in the backend address, enclose the variables with number signs (#), for example, #ipaddress#. You can use multiple environment variables, for example, #ipaddress##test#.

      -
    -

    Host Header (if applicable)

    -

    This parameter is available only if you set VPC Channel to Configure.

    -

    Define a host header for requests to be sent to cloud servers associated with the VPC channel. By default, the original host header in each request will be used.

    -

    Path

    -

    The request path (URI) of the backend service. Ensure that any parameters in the path are enclosed in braces ({}). For example, /getUserInfo/{userId}.

    -

    If the path contains an environment variable, enclose the environment variable in number signs (#), for example, /#path#. You can use multiple environment variables, for example, /#path##request#.

    -

    Timeout (ms)

    -

    Backend request timeout.

    -

    If a backend timeout error occurs during API debugging, increase the timeout to locate the reason.

    -
    NOTE:

    For dedicated gateways, you can modify the maximum timeout by referring to Configuration Parameters. The value range is 1 ms to 600,000 ms.

    -
    -

    Two-way Authentication

    -

    Determine whether to allow APIG to authenticate the API backend service through HTTPS. For details about how to configure the certificate for two-way authentication, see Configuration Parameters.

    -

    Backend Authentication

    -

    Determine whether your backend service needs to authenticate API requests.

    -

    If you enable this option, select a custom authorizer for backend authentication. Custom authorizers are functions that are created in FunctionGraph to implement an authentication logic or to invoke an authentication service.

    -
    NOTE:

    Backend authentication relies on FunctionGraph and is only available in certain regions.

    -
    -
    -
    - -
    - - - - - - - - - - - - - - - - -
    Table 5 Parameters for defining a Mock backend service

    Parameter

    -

    Description

    -

    Status Code

    -

    This parameter is available only after you upgrade the Shubao component.

    -

    Response

    -

    You can use Mock for API development, debugging, and verification. It enables APIG to return a response without sending the request to the backend. This is useful if you need to test APIs when the backend is unavailable.

    -

    Backend Authentication

    -

    For details, see the description about backend authentication in Table 4.

    -

    Header Parameters

    -

    API response headers.

    -

    Click Add Header, and enter the parameter name, value, and description.

    -
    -
    -
    • If you have defined an environment variable in the backend request path, the API cannot be debugged on the API debugging page.
    • For variables defined in the backend request path of an API, corresponding environment variables and their values must be configured. Otherwise, the API cannot be published because there will be no values that can be assigned to the variables.
    • Environment variable names are case-sensitive.
    -
    -

  2. (Optional) Add a backend policy.

    You can add backend policies to forward requests to different backend services.

    -
    1. Click Add Backend Policy.
    2. Set parameters by referring to Table 6 and Table 4.
      -
      - - - - - - - - - - - - - -
      Table 6 Backend policy parameters

      Parameter

      -

      Description

      -

      Name

      -

      The backend policy name.

      -

      Effective Mode

      -
      • Any condition met: The backend policy takes effect if any of the policy conditions has been met.
      • All conditions met: The backend policy takes effect only when all the policy conditions have been met.
      -

      Policy Conditions

      -

      Conditions that must be met for the backend policy to take effect. Set conditions by referring to Table 7.

      -
      -
      - -
      - - - - - - - - - - - - - - - - - - - -
      Table 7 Policy conditions

      Parameter

      -

      Description

      -

      Source

      -
      • Source IP address
      • Input parameter
      -
      NOTICE:

      Input parameters (for example, headers) set as policy conditions must have already been defined in the API request settings.

      -
      -

      Parameter Name

      -
      • When setting Source to Input parameter, select an input parameter.
      -

      Parameter Location

      -

      The parameter location is displayed only if you set Source to Input parameter.

      -

      Condition Type

      -

      This parameter is required only if you set Source to Input parameter.

      -
      • Equal: The request parameter must be equal to the specified value.
      • Enumerated: The request parameter must be equal to any of the enumerated values.
      • Matching: The request parameter must be equal to any value of the regular expression.
      -

      Condition Value

      -
      Set a condition value according to the condition type.
      • Equal: Enter a value.
      • Enumerated: Enter multiple values and separate them using commas.
      • Matching: Enter a range, for example, [0-5].
      -
      -

      If you have set Source to Source IP address, enter one or more IP addresses and separate them using commas.

      -
      -
      -
      -
    -

  3. (Optional) Set backend parameters.

    Input parameters of the API are mapped to corresponding backend parameters in backend requests.

    -
    1. Click next to Backend Parameters, and define backend parameters. You can use one of the following methods:
      • Click Import Input Parameter. All the defined input parameters are automatically displayed.
      • Click Add Backend Parameter Mapping, and add required backend parameters.
      -
    2. Modify the mappings based on the parameters and their locations in backend requests. Figure 1 highlights the backend parameters.
      Figure 1 Configuring backend parameters
      -
      1. If you set the parameter location to PATH, ensure that the parameter name is the same as that defined in the backend request path.
      2. The name and location of an input parameter can be different from those of the mapped backend request parameter.
        • The parameter name is not case-sensitive. It cannot start with x-apig- or x-sdk-.
        • The parameter name cannot be x-stage.
        • If you set the parameter location to HEADER, ensure that the parameter name does not contain underscores (_).
        -
        -
      3. In the preceding figure, parameters test01 and test03 are located in the path and query positions of API requests, and their values will be received in the header of backend requests. test02 is located in the header of API requests, and its value will be received through test05 in the path of backend requests.

        For example, test01 is abc, test02 is def, and test03 is xyz.

        -

        API request:

        -
        curl -ik -H 'test02:def' -X GET https://www.example01.com/v1.0/abc?test03=xyz
        -

        Backend request:

        -
        curl -ik -H 'test01:abc' -H 'test03:xyz' -X GET https://www.example02.com/v1.0/def
        -
      -
    -

  4. (Optional) Set constant parameters.

    You can define constant parameters for the backend service to receive constants that are invisible to API callers. APIG adds constant parameters to specified positions in the request sent to the backend service.

    -

    Constant parameters will be stored as plaintext. To prevent information leakage, do not contain sensitive information in these parameters.

    -
    -
    1. Click next to Constant Parameters.
    2. Click Add Constant Parameter, and set the parameters listed in Table 8. -
      - - - - - - - - - - - - - - - - -
      Table 8 Setting constant parameters

      Parameter

      -

      Description

      -

      Name

      -

      Constant parameter name. If you set the parameter location to PATH, ensure that the parameter name is the same as that defined in the backend request path.

      -
      NOTE:
      • The parameter name is not case-sensitive. It cannot start with x-apig- or x-sdk-.
      • The parameter name cannot be x-stage.
      • If you set the parameter location to HEADER, ensure that the parameter name does not contain underscores (_).
      -
      -

      Location

      -

      Position of the parameter in requests.

      -

      The options are PATH, QUERY, and HEADER.

      -

      Value

      -

      Value of the parameter.

      -

      Description

      -

      Description of the constant parameter.

      -
      -
      -
      • APIG sends requests containing constant parameters to backend services after percent-encoding of special parameter values. Ensure that the backend services support percent-encoding. For example, parameter value [apig] becomes %5Bapig%5D after percent-encoding.
      • For values of path parameters, the following characters will be percent-encoded: ASCII codes 0–31, blank symbols, ASCII codes 127–255, and special characters ?></%#"[\]^`{|}
      • For values of query strings, the following characters will be percent-encoded: ASCII codes 0–31, blank symbols, ASCII codes 127–255, and special characters >=<+&%#"[\]^`{|}
      -
      -
    -

  5. (Optional) Set system parameters.

    System parameters refer to runtime parameters regarding gateway running and frontend and backend authentications. The parameters are transferred to the API backend service for access control and custom authentication.
    1. Click next to System Parameters.
    2. Click Add System Parameter, and set the parameters listed in Table 9.
      -
      - - - - - - - - - - - - - - - - - - - -
      Table 9 System parameters

      Parameter

      -

      Description

      -

      System Parameter Type

      -
      • Default gateway parameter: Default parameters supported by APIG.
      • Frontend authentication parameter: Parameters to be displayed in the frontend custom authentication result. This option is available only if you select Custom for Security Authentication on the Set Basic Information page.
      • Backend authentication parameter: Parameters to be displayed in the backend custom authentication result. This option is available only if you enable Backend Authentication on the Define Backend Request page.
      -

      System Parameter Name

      -
      • If System Parameter Type is Default gateway parameter, select any of the following parameters.
        • sourceIp: source IP address of the API caller
        • stage: environment in which the API is called
        • apiId: ID of the API
        • appId: ID of the app that calls the API
        • requestId: request ID generated when the API is called
        • serverAddr: IP address of the gateway server
        • serverName: name of the gateway server
        • handleTime: processing time of the API request
        • providerAppId: app ID of the API provider
        -
      • Ensure that the frontend and backend authentication parameters are consistent with the return result parameters defined for the corresponding custom authorizer function.

        For details about how to create a custom authorizer function and obtain returned result parameters, see API Gateway Developer Guide.

        -
      -

      Backend Parameter Name

      -

      Name of the backend parameter to which the system parameter will be mapped.

      -
      NOTE:
      • The parameter name is not case-sensitive. It cannot start with x-apig- or x-sdk-.
      • The parameter name cannot be x-stage.
      • If you set the parameter location to HEADER, ensure that the parameter name does not contain underscores (_).
      -
      -

      Backend Parameter Location

      -

      Position of the backend parameter in requests.

      -

      Description

      -

      Description of the system parameter.

      -
      -
      -
      -
    -
    -

  6. Click Next.
-
-

Defining Responses

  1. On the Define Response page, set the parameters listed in Table 10.

    -

    - - - - - - - - - - -
    Table 10 Defining responses

    Parameter

    -

    Description

    -

    Example Success Response

    -

    An example of a response returned when the API is called successfully.

    -

    Example Failure Response

    -

    An example of a response returned when the API fails to be called.

    -
    -
    -

  2. Click Finish.

    After the API is created, click its name in the API list to view details.

    -

-
-

Follow-Up Operations

After creating an API, verify it by following the procedure in Debugging an API.

-
-
-
- -
- - - \ No newline at end of file diff --git a/docs/apig/umn/apig-en-ug-180307021.html b/docs/apig/umn/apig-en-ug-180307021.html deleted file mode 100644 index d4950374..00000000 --- a/docs/apig/umn/apig-en-ug-180307021.html +++ /dev/null @@ -1,27 +0,0 @@ - - -

Authorizing Apps to Call an API

-

Scenario

APIs using app authentication can only be called by apps that have been authorized to call them.

-
  • You can only authorize apps to call published APIs.
  • You can authorize apps only to call APIs that use app authentication.
-
-
-

Prerequisites

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Authorize apps to call an API. You can use one of the following methods:

    • In the Operation column of the target API, choose More > Authorize App, and then click Select App.
    • Select the target API, click Authorize App over the API list, and then click Select App.
    • Authorize apps through the API details page.
      1. Click the name of the target API.
      2. Click the Authorization tab.
      3. Click Select App.
      -
    -

    To authorize an app to access multiple APIs, select the APIs, and click Authorize App. Click Select App, select the app you wish to authorize, and click OK. You can grant access to a maximum of 1000 APIs at a time.

    -
    -

  5. Select an environment, search for and select desired apps, and click OK.

    -

  6. After the authorization is complete, view the authorized apps on the Authorization tab page or the Authorize App page.

    If an app does not need to call the API, click Cancel Authorization in the row containing the app to unbind it.

    -
    -

-
-

Follow-Up Operations

After you authorize an app to call an API, the API can be called using SDKs of different programming languages.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307023.html b/docs/apig/umn/apig-en-ug-180307023.html deleted file mode 100644 index bc800d49..00000000 --- a/docs/apig/umn/apig-en-ug-180307023.html +++ /dev/null @@ -1,34 +0,0 @@ - - -

Publishing an API

-

Scenario

APIs can be called only after they have been published in an environment. You can publish APIs in different environments. APIG allows you to view the publication history (such as the version, description, time, and environment) of each API, and supports rollback of APIs to different historical versions.

-
  • If you modify a published API, you must publish it again for the modifications to take effect in the environment in which the API has been published.
  • A maximum of 10 publication records of an API are retained in an environment.
-
-
-

Prerequisites

-
-

Publishing an API

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Publish an API. You can use one of the following methods:

    • Click Publish in the row containing the API you want to publish.
    • Click the name of the target API, and click Publish in the upper right corner of the displayed API details page.
    -

    To publish multiple APIs, select the APIs, and click Publish. You can publish a maximum of 1000 APIs at a time.

    -
    -

  5. Select the environment where the API will be published, and enter a description.

    • If the API has already been published in the environment, publishing it again will overwrite its definition in that environment.
    • If there is no environment that meets your requirements, create a new one.
    -
    -

  6. Click Publish.
-
-

Viewing Publication History

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Click the name of the target API.
  5. Click the Publication History tab.

    The publication history of the API is displayed.

    -

  6. Click View Details in the Operation column of a version.

    The View Details dialog box displays the basic information, frontend and backend request information, input and constant parameters, parameter mappings, and example responses of the API.

    -

  7. To roll back the API to a historical version, click Switch Version in the row containing the target version, and click Yes.

    If "current version" is displayed next to the target version, the rollback was successful.

    -

    When the API is called, configuration of the current version is used instead of the previously saved configuration.

    -

    For example, an API was published in the RELEASE environment on August 1, 2018. On August 20, 2018, the API was published in the same environment after modification. If the version published on August 1 is set as the current version, configuration of this version will be used when the API is called.

    -

-
-

FAQs About API Publishing

Do I Need to Publish an API Again After Modification?

-

Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?

-

Can I Invoke Different Backend Services by Publishing an API in Different Environments?

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307024.html b/docs/apig/umn/apig-en-ug-180307024.html deleted file mode 100644 index 565b4a0b..00000000 --- a/docs/apig/umn/apig-en-ug-180307024.html +++ /dev/null @@ -1,23 +0,0 @@ - - -

Taking an API Offline

-

Scenario

You can remove APIs that you do not need from the environments where the APIs have been published.

-

This operation will cause the APIs to be inaccessible in the environments. Ensure that you have notified users before this operation.

-
-
-

Prerequisites

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Take the API offline. You can use one of the following methods:

    • In the Operation column of the target API, choose More > Take Offline.
    • Click the name of the target API, and click Take Offline in the upper right corner of the API details page.
    -

    To take multiple APIs offline, select the APIs, and click Take Offline. You can take a maximum of 1000 APIs offline at a time.

    -
    -

  5. Select the environment from which you want to take the API offline, and click Yes.
-
-

Follow-Up Operations

After taking an API offline, delete it based on the instructions provided in Deleting an API.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307025.html b/docs/apig/umn/apig-en-ug-180307025.html deleted file mode 100644 index a66d120b..00000000 --- a/docs/apig/umn/apig-en-ug-180307025.html +++ /dev/null @@ -1,78 +0,0 @@ - - -

Debugging an API

-

Scenario

After creating an API, debug it on the APIG console by setting HTTP headers and body parameters to verify whether the API is running normally.

-
  • APIs with backend request paths containing variables cannot be debugged.
  • If an API has been bound with a request throttling policy, the policy will not work during debugging of the API.
-
-
-

Prerequisites

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Debug an API. You can use one of the following methods:

    • In the Operation column of the API you want to debug, choose More > Debug.
    • Click the name of the target API, and click Debug in the upper right corner of the displayed API details page.
    -

    On the left side, set the API request parameters listed in Table 1. On the right side, view the API request and response information after you click Send Request.

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Parameters for debugging an API

    Parameter

    -

    Description

    -

    Protocol

    -

    This parameter can be modified only if you set Protocol to HTTP&HTTPS for the API.

    -

    Method

    -

    This parameter can be modified only if you set Method to ANY for the API.

    -

    Suffix

    -

    You can define a path only if you have set Matching to Prefix match for the API.

    -

    Path

    -

    Request path of the API.

    -

    Path Parameters

    -

    This parameter can be modified only if you have defined path parameters (such as {test}) for the API.

    -

    Query Strings

    -

    Query string parameters and values.

    -

    Headers

    -

    HTTP headers and values.

    -

    Body

    -

    This parameter can be modified only if you set Method to PATCH, POST, or PUT for the API.

    -
    -
    -

    The fields displayed on the debugging page vary according to the request type.

    -
    -

  5. After setting request parameters, click Send Request.

    The box on the lower right displays the response of the API request.

    -
    • If the debugging is successful, the HTTP status code 200 and response details are displayed.
    • If the request fails to be sent, an HTTP status code 4xx or 5xx is displayed. For details, see Error Codes.
    -

  6. You can send more requests with different parameters and values to verify the API.

    To modify the API configurations, click Edit in the upper right corner, and modify the parameters on the Edit API page.

    -
    -

-
-

Follow-Up Operations

After the API is successfully debugged, publish the API in a specific environment so that the API can be called by users. To ensure security of the API, create request throttling policies (see Creating a Request Throttling Policy), access control policies (Creating an Access Control Policy), and signature keys (Creating and Using a Signature Key) for the API.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307027.html b/docs/apig/umn/apig-en-ug-180307027.html deleted file mode 100644 index 717d8089..00000000 --- a/docs/apig/umn/apig-en-ug-180307027.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Deleting an API

-

Scenario

You can delete published APIs you no longer require.

-
  • Deleted APIs cannot be accessed by apps or users who were using the APIs, so make sure you notify users before the deletion.
  • Published APIs must be first taken offline and then deleted.
-
-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Delete the API. You can use one of the following methods:

    • In the Operation column of the API you want to delete, choose More > Delete.
    • Click the name of the target API, and click Delete in the upper right corner of the displayed API details page.
    -

    To delete multiple APIs, select the APIs, and click Delete. You can delete a maximum of 1000 APIs at a time.

    -
    -

  5. Enter DELETE and click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307028.html b/docs/apig/umn/apig-en-ug-180307028.html deleted file mode 100644 index fa303025..00000000 --- a/docs/apig/umn/apig-en-ug-180307028.html +++ /dev/null @@ -1,21 +0,0 @@ - - -

Request Throttling

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307029.html b/docs/apig/umn/apig-en-ug-180307029.html deleted file mode 100644 index 97173981..00000000 --- a/docs/apig/umn/apig-en-ug-180307029.html +++ /dev/null @@ -1,86 +0,0 @@ - - -

Creating a Request Throttling Policy

-

Scenario

Request throttling controls the number of times an API can be called within a time period to protect backend services.

-

To provide stable, uninterrupted services, you can create request throttling policies to control the number of calls made to your APIs.

-

Request throttling policies take effect for an API only if they have been bound to the API.

-
  • An API can be bound with only one request throttling policy for a given environment, but each request throttling policy can be bound to multiple APIs.
  • For a dedicated gateway, the limit is the value of ratelimit_api_limits you have configured on the Configuration Parameters page.
-
-
-

Prerequisites

You have published the API to which you want to bind a request throttling policy.

-
-

Creating a Request Throttling Policy

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Request Throttling.
  4. Click Create Request Throttling Policy, and set the parameters listed in Table 1.

    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Parameters for creating a request throttling policy

    Parameter

    -

    Description

    -

    Name

    -

    Request throttling policy name.

    -

    Type

    -

    API-based or API-shared request throttling.

    -
    • API-based: Request throttling is based on every API to which the policy is bound.
    • API-shared: Request throttling is based on all APIs as a whole to which the policy is bound.
    -

    Period

    -

    For how long you want to limit the number of API calls. This parameter can be used together with the following parameters:

    -
    • Max. API Requests: Limit the maximum number of times an API can be called within a specific period.
    • Max. User Requests: Limit the maximum number of times an API can be called by a user within a specific period.
    • Max. App Requests: Limit the maximum number of times an API can be called by an app within a specific period.
    • Max. IP Address Requests: Limit the maximum number of times an API can be called by an IP address within a specific period.
    -

    Max. API Requests

    -

    The maximum number of times each bound API can be called within the specified period.

    -

    This parameter must be used together with Period.

    -

    Max. User Requests

    -

    The maximum number of times each bound API can be called by a user within the specified period. This limit only applies to APIs that are accessed through app or IAM authentication.

    -
    • The value of this parameter cannot exceed that of Max. API Requests.
    • This parameter must be used together with Period.
    • If there are many users under your account that access an API, the request throttling limits of the API will apply to all these users.
    -

    Max. App Requests

    -

    The maximum number of times each bound API can be called by an app within the specified period. This limit only applies to APIs that are accessed through app authentication.

    -
    • The value of this parameter cannot exceed that of Max. User Requests.
    • This parameter must be used together with Period.
    -

    Max. IP Address Requests

    -

    The maximum number of times each bound API can be called by an IP address within the specified period.

    -
    • The value of this parameter cannot exceed that of Max. API Requests.
    • This parameter must be used together with Period.
    -

    Description

    -

    Description of the request throttling policy.

    -
    -
    -
    -

  5. Click OK.

    After the policy is created, it is displayed on the Request Throttling page. You can bind this policy to APIs to throttle API requests.

    -

-
-

Binding a Request Throttling Policy to an API

  1. Go to the page for binding a request throttling policy to an API. You can use one of the following methods:

    • In the Operation column of the request throttling policy to be bound, click Bind to API, and then click Select API.
    • Click the name of the target request throttling policy, and click Select API on the APIs tab page.
    -

  2. Specify an API group, environment, and API name keyword to search for the desired API.
  3. Select the API and click OK.

    If a request throttling policy is no longer needed for an API, you can unbind it. To unbind a request throttling policy from multiple APIs, select the APIs, and click Unbind. You can unbind a request throttling policy from a maximum of 1000 APIs at a time.

    -
    -

-
-

Follow-Up Operations

To control the maximum number of API calls received from a specific app or tenant, specify the app or tenant to exclude by referring to Adding an Excluded App or Tenant. If an app is excluded in a request throttling policy, any threshold configured for that app takes precedence over the request throttling policy. The API and user request limits of this policy are still valid. If a tenant is excluded in a request throttling policy, any threshold configured for that tenant will be applied. The API and app request limits of this policy are still valid.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307032.html b/docs/apig/umn/apig-en-ug-180307032.html deleted file mode 100644 index e57bc544..00000000 --- a/docs/apig/umn/apig-en-ug-180307032.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Deleting a Request Throttling Policy

-

Scenario

You can delete request throttling policies you no longer require.

-
-

Prerequisites

You have created a request throttling policy.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Request Throttling.
  4. Delete a request throttling policy. You can use one of the following methods:

    • In the Operation column of the request throttling policy you want to delete, click Delete.
    • Click the name of the target request throttling policy, and click Delete in the upper right corner of the displayed request throttling policy details page.
    -
    • If a request throttling policy has been bound to an API, unbind the policy and then delete it. To unbind a request throttling policy, go to the policy details page, click Unbind in the row that contains the API from which you want to unbind the policy, and click Yes.
    • To delete multiple request throttling policies, select the policies, and click Delete. You can delete a maximum of 1000 request throttling policies at a time.
    -
    -

  5. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307033.html b/docs/apig/umn/apig-en-ug-180307033.html deleted file mode 100644 index 2447746c..00000000 --- a/docs/apig/umn/apig-en-ug-180307033.html +++ /dev/null @@ -1,47 +0,0 @@ - - -

Adding an Excluded App or Tenant

-

Scenario

If you want to control the number of API calls received from a specific app or tenant, add an excluded app or tenant to a request throttling policy.

-
-

Prerequisites

You have created an app or obtained an app ID of another account or an account ID.

-
-

Adding an Excluded App

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Request Throttling.
  4. Click the name of the target request throttling policy.
  5. On the displayed request throttling policy details page, click the Excluded Apps tab.
  6. Click Select Excluded App.
  7. Select an app to exclude. You can use one of the following methods:

    • To select an existing app, click Existing, select an app, and enter a threshold.
    • To select an app of other tenants, click Cross-tenant, and enter the app ID and a threshold.

      Excluded app thresholds take precedence over the value of Max. App Requests.

      -

      For example, a request throttling policy has been configured, with Max. API Requests being 10, Max. App Requests being 3, Period being 1 minute, and two excluded apps (max. 2 API requests for app A and max. 4 API requests for app B). If the request throttling policy is bound to an API, apps A and B can access the API 2 and 4 times within 1 minute, respectively.

      -
      -
    -

-
-

Adding an Excluded Tenant

  1. Log in to the management console.
  2. Hover the mouse pointer over the username, click the username, and choose My Credentials from the drop-down list.
  3. On the My Credentials page, view the account ID and project ID.
  4. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  5. In the navigation pane, choose API Publishing > Request Throttling.
  6. Click the name of the target request throttling policy.
  7. Click the Excluded Tenants tab.
  8. Click Select Excluded Tenant.
  9. In the Select Excluded Tenant dialog box, set the parameters listed in Table 1.

    -

    - - - - - - - - - - -
    Table 1 Excluded tenant configuration

    Parameter

    -

    Description

    -

    Account ID

    -

    Account ID or project ID obtained in 3.

    -
    • Enter a project ID if you will bind or have bound this policy to an API that uses app authentication.
    • Enter an account ID if you will bind or have bound this policy to an API that uses IAM authentication.
    -

    Threshold

    -

    The maximum number of times an API can be called by the tenant within a specified period.

    -

    The value of this parameter cannot exceed that of Max. API Requests.

    -
    -
    -

  10. Click OK.

    Excluded tenant thresholds take precedence over the value of Max. User Requests.

    -

    For example, suppose a request throttling policy is configured, with Max. API Requests being 10, Max. User Requests being 3, Period being 1 minute, and two excluded tenants (max. 2 API requests for tenant A and max. 4 API requests for tenant B). If the request throttling policy is bound to an API, tenants A and B can access the API 2 and 4 times within 1 minute, respectively.

    -
    -

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307035.html b/docs/apig/umn/apig-en-ug-180307035.html deleted file mode 100644 index 219dab6a..00000000 --- a/docs/apig/umn/apig-en-ug-180307035.html +++ /dev/null @@ -1,18 +0,0 @@ - - -

Removing an Excluded App or Tenant

-

Scenario

You can remove excluded apps or tenants from a request throttling policy. This section takes an excluded app as an example.

-
-

Prerequisites

-
-

Removing an Excluded App

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Request Throttling.
  4. Click the name of the target request throttling policy.
  5. Click the Excluded Apps tab on the displayed request throttling policy details page.
  6. In the Operation column of the app you want to remove, click Remove.
  7. Click Yes.
-
-

Removing an Excluded Tenant

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Request Throttling.
  4. Click the name of the target request throttling policy.
  5. Click the Excluded Tenants tab.
  6. In the Operation column of the tenant you want to remove, click Remove.
  7. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307036.html b/docs/apig/umn/apig-en-ug-180307036.html deleted file mode 100644 index eba24837..00000000 --- a/docs/apig/umn/apig-en-ug-180307036.html +++ /dev/null @@ -1,17 +0,0 @@ - - -

Environment Management

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307037.html b/docs/apig/umn/apig-en-ug-180307037.html deleted file mode 100644 index 7e10b096..00000000 --- a/docs/apig/umn/apig-en-ug-180307037.html +++ /dev/null @@ -1,81 +0,0 @@ - - -

Creating an Environment and Environment Variable

-

Scenario

An API can be called in different environments, such as production, testing, and development environments. RELEASE is the default environment provided by APIG. You can define environment variables to allow an API to be called in different environments.

-

Environment variables are manageable and specific to environments. You can create variables in different environments to call different backend services using the same API.

-

For variables you define during API creation, you must create corresponding variables and values. For example, variable Path is defined for an API, and two variables with the same name are created and assigned values /Stage/test and /Stage/AA in environments 1 and 2, respectively. If the API is published and called in environment 1, the path /Stage/test is used. If the API is published and called in environment 2, the path /Stage/AA is used.

-
Figure 1 Use of environment variables
-

You can create a maximum of 50 variables for an API group in each environment.

-
-
-

Prerequisites

You have created an API group.

-
-

Creating an Environment

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Environments.
  4. Click Create Environment, and set the parameters listed in Table 1.

    -

    - - - - - - - - - - -
    Table 1 Environment information

    Parameter

    -

    Description

    -

    Name

    -

    Environment name.

    -

    Description

    -

    Description of the environment.

    -
    -
    -

  5. Click OK.

    After the environment is created, it is displayed in the environment list.

    -

-
-

Accessing an Environment

You can call an API in the RELEASE environment by using a RESTful API. To access the API in other environments, add the X-Stage header to the request to specify an environment name. For example, add X-Stage:DEVELOP to the request header to access an API in the DEVELOP environment.

-

APIG does not support API debugging using environment variables.

-
-
-

Creating an Environment Variable

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > API Groups.
  4. Create a variable. You can use one of the following methods:

    • Click the name of the target API group, and click the Variables tab on the displayed API group details page.
    • In the Operation column of the target API group, choose More > Manage Variable.
    -

  5. Select an environment from the Environment drop-down list, and click Create Variable.
  6. Set the parameters listed in Table 2.

    -

    - - - - - - - - - - -
    Table 2 Parameters for creating an environment variable

    Parameter

    -

    Description

    -

    Name

    -

    Name of the variable you want to create. Ensure that the name is the same as the name of the variable defined for the API.

    -

    Value

    -

    The path to be used in the selected environment.

    -
    -
    -

  7. Click OK.

    If a variable is not needed, click Delete in the row containing the variable to delete it.

    -

    Environment variable names and values will be displayed in plain text in API requests. Do not include sensitive information in the variable names and values.

    -
    -

-
-

Follow-Up Operations

After creating an environment and variable, publish APIs in the environment so that they can be called by API callers.

-
-
-
- -
- - - \ No newline at end of file diff --git a/docs/apig/umn/apig-en-ug-180307039.html b/docs/apig/umn/apig-en-ug-180307039.html deleted file mode 100644 index 165090f6..00000000 --- a/docs/apig/umn/apig-en-ug-180307039.html +++ /dev/null @@ -1,18 +0,0 @@ - - -

Deleting an Environment

-

Scenario

You can delete environments you no longer require.

-
-

Prerequisites

You have created an environment.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Environments.
  4. In the Operation column of the environment you want to delete, click Delete.

    You can delete an environment only if no APIs have been published in the environment.

    -
    -

  5. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307040.html b/docs/apig/umn/apig-en-ug-180307040.html deleted file mode 100644 index 79db4820..00000000 --- a/docs/apig/umn/apig-en-ug-180307040.html +++ /dev/null @@ -1,17 +0,0 @@ - - -

Signature Key Management

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307041.html b/docs/apig/umn/apig-en-ug-180307041.html deleted file mode 100644 index 4252a796..00000000 --- a/docs/apig/umn/apig-en-ug-180307041.html +++ /dev/null @@ -1,72 +0,0 @@ - - -

Creating and Using a Signature Key

-

Scenario

Signature keys are used by backend services to verify the identity of APIG.

-

A signature key consists of a key and secret, and can be used only after being bound to an API. When an API bound with a signature key is called, APIG adds signature details to the API request. The backend service of the API signs the request in the same way, and verifies the identity of APIG by checking whether the signature is consistent with that in the Authorization header sent by APIG.

-

Each API can only be bound with one signature key in a given environment, but each signature key can be bound to multiple APIs.

-
-
-

Procedure

  1. Create a signature key on the APIG console.
  2. Bind the signature key to an API.
  3. APIG sends signed requests containing a signature in the Authorization header to the backend service. The backend service can use different programming languages (such as Java, Go, Python, JavaScript, C#, PHP, C++, C, and Android) to sign each request, and check whether the two signatures are consistent.
-
Figure 1 Signature key process flow
-
-

Creating a Signature Key

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Signature Keys.
  4. Click Create Signature Key.
  5. In the Create Signature Key dialog box, set the parameters listed in Table 1.

    -
    - - - - - - - - - - - - - - - - - - - -
    Table 1 Parameters for creating a signature key

    Parameter

    -

    Description

    -

    Name

    -

    Signature key name.

    -

    Type

    -

    Type of the signature key. Select HMAC or Basic. This parameter is available only for dedicated gateways.

    -

    Key

    -

    Combined with Secret to form a signature key pair.

    -
    • If you set Type to HMAC, enter the key of the key pair used for hash-based message authentication code (HMAC) authentication.
    • If you set Type to Basic, enter the username used for basic authentication.
    -

    Secret

    -

    Combined with Key to form a signature key pair.

    -
    • If you set Type to HMAC, enter the secret of the key pair used for HMAC authentication.
    • If you set Type to Basic, enter the password used for basic authentication.
    -

    Confirm Secret

    -

    Enter the secret again.

    -
    -
    -
    -

  6. Click OK.
-
-

Binding a Signature Key to an API

  1. In the navigation pane, choose API Publishing > Signature Keys.
  2. Bind a signature key to an API. You can use one of the following methods:

    • In the Operation column of the signature key to be bound to an API, click Bind to API.
    • Click the name of the target signature key.
    -

  3. Click Select API.
  4. Specify an API group, environment, and API name keyword to search for the desired API.
  5. Select the API and click OK.

    If a signature key is no longer needed for an API, unbind it from the API.

    -
    -

-
-

Verifying the Signing Result

Sign each backend request by following the instructions in section "Creating Signatures for Backend Requests" of the API Gateway Developer Guide, and check whether the backend signature is consistent with the signature in the Authorization header of the API request.

-
-
-
- -
- - - \ No newline at end of file diff --git a/docs/apig/umn/apig-en-ug-180307045.html b/docs/apig/umn/apig-en-ug-180307045.html deleted file mode 100644 index 7b073480..00000000 --- a/docs/apig/umn/apig-en-ug-180307045.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Deleting a Signature Key

-

Scenario

You can delete signature keys you no longer require.

-
-

Prerequisites

You have created a signature key.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Signature Keys.
  4. Delete a signature key. You can use one of the following methods:

    • In the Operation column of the signature key you want to delete, click Delete.
    • Click the name of the target signature key, and click Delete in the upper right corner of the displayed signature key details page.
    -

    If the signature key has been bound to any APIs, unbind it and then delete it.

    -
    -

  5. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307048.html b/docs/apig/umn/apig-en-ug-180307048.html deleted file mode 100644 index b2d0fb2e..00000000 --- a/docs/apig/umn/apig-en-ug-180307048.html +++ /dev/null @@ -1,23 +0,0 @@ - - -

App Management

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180307049.html b/docs/apig/umn/apig-en-ug-180307049.html deleted file mode 100644 index 7988431c..00000000 --- a/docs/apig/umn/apig-en-ug-180307049.html +++ /dev/null @@ -1,47 +0,0 @@ - - -

Creating an App and Obtaining Authorization

-

Scenario

For an API that uses app authentication, you can create an app and use the app and its ID and key pair (AppKey and AppSecret) to call the API. You can use an app to call an API only after you bind the app to the API. When you call the API, replace the key pair in the SDK with your own key pair so that APIG can authenticate your identity. For details about app authentication, see Developer Guide.
  • If the authentication mode of the target API has been set to None or IAM, you do not need to create apps to call this API.
-
-
-
-

Creating an App

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Calling > Apps.
  4. Click Create App, and configure the app information.

    -

    - - - - - - - - - - -
    Table 1 App information

    Parameter

    -

    Description

    -

    Name

    -

    App name.

    -

    Description

    -

    Description of the app.

    -
    -
    -

    You can customize AppKeys and AppSecrets on dedicated gateways. An AppKey is an identifier and must be globally unique. It is automatically generated. You are not advised to customize one unless it is necessary.

    -
    -

  5. Click OK.

    After the app is created, its name and ID are displayed in the app list.

    -

  6. Click the app name, and view the AppKey and AppSecret on the app details page.
-
-

Binding an App to an API

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Calling > Apps.
  4. Bind an app to an API. You can use one of the following methods:

    • In the Operation column of the app, click Bind to API, and then click Select API.
    • Click the name of the target app, and click Select API.
    -

  5. Select an environment, select an API, and click OK.

    After the binding is complete, you can view the API on the app details page.
    • Only APIs using app authentication can be bound with apps.
    • An app can be bound to multiple APIs that use app authentication, and each such API can be bound with multiple apps.
    • To debug an API to which the app is bound, click Debug in the row containing the API.
    -
    -
    -

-
-

Follow-Up Operations

You can call APIs using different authentication methods. For details, see Calling APIs.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307051.html b/docs/apig/umn/apig-en-ug-180307051.html deleted file mode 100644 index 2b91cc61..00000000 --- a/docs/apig/umn/apig-en-ug-180307051.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Deleting an App

-

Scenario

You can delete apps you no longer require.

-
-

Prerequisites

You have created an app.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Calling > Apps.
  4. Delete an app. You can use one of the following methods:

    • In the Operation column of the app you want to delete, click Delete.
    • Click the name of the target app, and click Delete App in the upper right corner of the displayed app details page.
    -

    If the app has been bound to any APIs, you must unbind the app and then delete it.

    -
    -

  5. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307053.html b/docs/apig/umn/apig-en-ug-180307053.html deleted file mode 100644 index 402e13f1..00000000 --- a/docs/apig/umn/apig-en-ug-180307053.html +++ /dev/null @@ -1,16 +0,0 @@ - - -

Resetting the AppSecret of an App

-

Scenario

You can reset the AppSecret of an app. The AppKey is unique and cannot be reset. When you reset the AppSecret, it becomes invalid and APIs bound to the app cannot be called. To enable API calls for that app again, you will need to update the AppSecret of the app you use.

-
-

Prerequisites

You have created an app.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Calling > Apps.
  4. Click the name of the target app.
  5. In the upper right corner of the displayed app details page, click Reset AppSecret.
  6. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307054.html b/docs/apig/umn/apig-en-ug-180307054.html deleted file mode 100644 index 8d0acfb8..00000000 --- a/docs/apig/umn/apig-en-ug-180307054.html +++ /dev/null @@ -1,16 +0,0 @@ - - -

Viewing API Details

-

Scenario

You can view the details of an API to which an app has been bound.

-
-

Prerequisites

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Calling > Apps.
  4. Click the name of the target app.
  5. Click the name of the target API to view its details.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307058.html b/docs/apig/umn/apig-en-ug-180307058.html deleted file mode 100644 index ea07f47e..00000000 --- a/docs/apig/umn/apig-en-ug-180307058.html +++ /dev/null @@ -1,562 +0,0 @@ - - -

APIG operations that can be recorded by CTS

-

Enabling CTS

If you want to collect, record, or query operation logs for APIG in common scenarios such as security analysis, audit, and problem locating, enable Cloud Trace Service (CTS). For details, see section "Enabling CTS" in the Cloud Trace Service User Guide.

-

CTS provides the following functions:

- -
-

Viewing Key Operations

With CTS, you can record operations associated with APIG for future query, audit, and backtracking.

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 1 APIG operations that can be recorded by CTS

Operation

-

Resource Type

-

Trace Name

-

Creating an API group

-

ApiGroup

-

createApiGroup

-

Deleting an API group

-

ApiGroup

-

deleteApiGroup

-

Updating an API group

-

ApiGroup

-

updateApiGroup

-

Binding a domain name

-

ApiGroup

-

createDomainBinding

-

Change minimum TLS version

-

ApiGroup

-

modifySecureTransmission

-

Unbinding a domain name

-

ApiGroup

-

relieveDomainBinding

-

Adding a domain certificate

-

ApiGroup

-

addDomainCertificate

-

Deleting a domain certificate

-

ApiGroup

-

deleteDomainCertificate

-

Creating an API

-

Api

-

createApi

-

Deleting an API

-

Api

-

deleteApi

-

Deleting multiple APIs

-

Api

-

batchDeleteApi

-

Updating an API

-

Api

-

updateApi

-

Publishing an API

-

Api

-

publishApi

-

Taking an API offline

-

Api

-

offlineApi

-

Publishing multiple APIs or taking APIs offline

-

Api

-

batchPublishOrOfflineApi

-

Switching API versions

-

Api

-

switchApiVersion

-

Taking an API version offline

-

Api

-

offlineApiByVersion

-

Debugging an API

-

Api

-

debugApi

-

Creating an environment

-

Environment

-

createEnvironment

-

Deleting an environment

-

Environment

-

deleteEnvironment

-

Updating an environment

-

Environment

-

updateEnvironment

-

Creating an environment variable

-

EnvVariable

-

createEnvVariable

-

Updating an environment variable

-

EnvVariable

-

updateEnvVariable

-

Deleting an environment variable

-

EnvVariable

-

deleteEnvVariable

-

Creating an app

-

App

-

createApp

-

Deleting an app

-

App

-

deleteApp

-

Updating an application

-

App

-

updateApp

-

Resetting AppSecret

-

App

-

resetAppSecret

-

Binding a client to an API

-

AppAuth

-

grantAuth

-

Unbinding a client from an API

-

AppAuth

-

relieveAuth

-

Creating a signature key

-

Signature

-

createSignature

-

Deleting a signature key

-

Signature

-

deleteSignature

-

Updating a signature key

-

Signature

-

updateSignature

-

Binding a signature key

-

SignatureBinding

-

createSignatureBinding

-

Unbinding a signature key

-

SignatureBinding

-

relieveSignatureBinding

-

Creating an access control policy

-

Acl

-

createAcl

-

Deleting an access control policy

-

Acl

-

deleteAcl

-

Deleting access control policies

-

Acl

-

batchDeleteAcl

-

Updating an access control policy

-

Acl

-

updateAcl

-

Creating an access control blacklist

-

Acl

-

addAclValue

-

Deleting an access control blacklist

-

Acl

-

deleteAclValue

-

Binding an access control policy to an API

-

AclBinding

-

createAclBinding

-

Unbinding an access control policy from an API

-

AclBinding

-

relieveAclBinding

-

Unbinding multiple access control policies from APIs

-

AclBinding

-

batchRelieveAclBinding

-

Creating a request throttling policy

-

Throttle

-

createThrottle

-

Deleting a request throttling policy

-

Throttle

-

deleteThrottle

-

Deleting multiple request throttling policies

-

Throttle

-

batchDeleteThrottle

-

Updating a requesting throttling policy

-

Throttle

-

updateThrottle

-

Binding a request throttling policy

-

ThrottleBinding

-

createThrottleBinding

-

Unbinding a request throttling policy

-

ThrottleBinding

-

relieveThrottleBinding

-

Unbinding multiple request throttling policies

-

ThrottleBinding

-

batchRelieveThrottleBinding

-

Creating an excluded request throttling configuration

-

ThrottleSpecial

-

createSpecialThrottle

-

Deleting an excluded request throttling configuration

-

ThrottleSpecial

-

deleteSpecialThrottle

-

Updating an excluded request throttling configuration

-

ThrottleSpecial

-

updateSpecialThrottle

-

Creating a load balance channel

-

Vpc

-

createVpc

-

Deleting a load balance channel

-

Vpc

-

deleteVpc

-

Updating a load balance channel

-

Vpc

-

updateVpc

-

Adding members to a load balance channel

-

Vpc

-

addVpcMember

-

Deleting members from a load balance channel

-

Vpc

-

deleteVpcMember

-

Exporting an API

-

Swagger

-

swaggerExportApi

-

Exporting multiple APIs

-

Swagger

-

swaggerExportApiList

-

Exporting all APIs in a group

-

Swagger

-

swaggerExportApiByGroup

-

Importing APIs to a new group

-

Swagger

-

swaggerImportApiToNewGroup

-

Importing APIs to an existing group

-

Swagger

-

swaggerImportApiToExistGroup

-

Exporting all custom backends

-

Swagger

-

SwaggerExportLdApi

-

Importing custom backends

-

Swagger

-

SwaggerImportLdApi

-

Creating a custom authorizer

-

Authorizer

-

createAuthorizer

-

Deleting a custom authorizer

-

Authorizer

-

deleteAuthorizer

-

Updating a custom authorizer

-

Authorizer

-

updateAuthorizer

-

Creating a plug-in

-

Plugin

-

createPlugin

-

Updating a plug-in

-

Plugin

-

updatePlugin

-

Deleting a plug-in

-

Plugin

-

deletePlugin

-

Binding a plug-in to an API

-

Plugin

-

pluginAttachApi

-

Unbinding an API from a plug-in

-

Plugin

-

pluginDetachApi

-

Binding a plug-in to an API

-

Plugin

-

apiAttachPlugin

-

Unbinding a plug-in from an API

-

Plugin

-

apiDetachPlugin

-
-
-
-

Disabling CTS

Disable CTS by following the procedure in section "Deleting a Tracker" in the Cloud Trace Service User Guide.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180307075.html b/docs/apig/umn/apig-en-ug-180307075.html deleted file mode 100644 index 2d28ea76..00000000 --- a/docs/apig/umn/apig-en-ug-180307075.html +++ /dev/null @@ -1,20 +0,0 @@ - - -

Change History

-
-
- - - - - - - -
Table 1 Change history

Date

-

Description

-

2022-12-30

-

This issue is the first official release.

-
-
-
- diff --git a/docs/apig/umn/apig-en-ug-180327076.html b/docs/apig/umn/apig-en-ug-180327076.html deleted file mode 100644 index 98d5df64..00000000 --- a/docs/apig/umn/apig-en-ug-180327076.html +++ /dev/null @@ -1,32 +0,0 @@ - - -

Binding a Domain Name

-

Scenario

Before you open an API, you must bind one or more independent domain names to the group to which the API belongs.

-
  • In a dedicated gateway, you cannot bind the same independent domain name to different API groups.
-
-

Note the following points before you bind a domain name:

- -
-

Prerequisites

  1. There is an independent domain name available.
  2. Dedicated gateway: An A record points the independent domain name to the address of the gateway. For details, see section "Adding an A Record Set" in the Domain Name Service User Guide.

    -
  3. If the API group contains APIs that are called through HTTPS, there needs to be SSL certificates configured for the independent domain name. SSL certificates can only be added manually with a custom name, content, and a key.
-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > API Groups.
  4. Go to the Domain Names tab page using one of the following methods:

    • Click the name of the target API group, and click the Domain Names tab on the displayed API group details page.
    • In the Operation column of the target API group, choose More > Manage Domain Name.
    -

  5. Click Bind Independent Domain Name and enter a domain name.

    For API groups created under dedicated gateways, specify the minimum TLS version (TLS 1.1 or TLS 1.2) supported by domain names that you bind to the API groups. TLS 1.2 is recommended.

    -

  6. Click OK.

    If the domain name is not needed, click Unbind to unbind it from the API group.

    -

  7. (Optional) If the API group contains APIs that are accessed through HTTPS, add an SSL certificate.

    1. Click Add SSL Certificate.
    2. Enter the name, content, and key of the obtained SSL certificate, and click OK.
    -
    • Currently, you can only add SSL certificates in the PEM format. To add SSL certificates of other formats, convert the certificates into the PEM format first.
    • To replace or edit an SSL certificate, click next to the certificate name. The certificate content and key will not be visible after you click OK to add the certificate. If the content has been updated, add the entire content or key again.
    • If you do not require an SSL certificate, click Delete SSL Certificate in the row containing the certificate to delete it.
    -
    -
    -

-
-

Troubleshooting

-
-

Follow-Up Operations

After binding independent domain names to the API group, create APIs in the group to selectively expose backend capabilities. For details, see Creating an API.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180413077.html b/docs/apig/umn/apig-en-ug-180413077.html deleted file mode 100644 index 0a96e16b..00000000 --- a/docs/apig/umn/apig-en-ug-180413077.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Monitoring

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180425080.html b/docs/apig/umn/apig-en-ug-180425080.html deleted file mode 100644 index 582be2e6..00000000 --- a/docs/apig/umn/apig-en-ug-180425080.html +++ /dev/null @@ -1,21 +0,0 @@ - - -

VPC Channel Management

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180425081.html b/docs/apig/umn/apig-en-ug-180425081.html deleted file mode 100644 index fea3e756..00000000 --- a/docs/apig/umn/apig-en-ug-180425081.html +++ /dev/null @@ -1,114 +0,0 @@ - - -

Creating a VPC Channel

-

Scenario

VPC channels allow services deployed in VPCs to be accessed through their subnets, lowering latency and balancing loads of backend services.

-

After creating a VPC channel, you can configure it for an API with an HTTP/HTTPS backend service. For example, six ECSs have been deployed in a VPC, and a VPC channel has been created to reach ECS 01 and ECS 04. APIG can access these two ECSs through the VPC channel.

-
Figure 1 Accessing ECSs in a VPC channel through APIG
-

Dedicated gateways support VPC channels with a private network load balancer.

-
-
-

Prerequisites

-
-

Creating a Fast Channel

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > VPC Channels.
  4. Click Create VPC Channel, and set the parameters listed in Table 1.

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Parameters for creating a VPC channel

    Parameter

    -

    Description

    -

    Name

    -

    VPC channel name.

    -

    Port

    -

    The host port of the VPC channel, that is, the port of the backend service.

    -

    Range: 1–65535.

    -

    Member Type

    -

    Select a method that you want to use to specify servers for the VPC channel. The member type is a one-time configuration and cannot be changed after you create the VPC channel.

    -
    • Instance: Select cloud servers.
    • IP address: Specify cloud server IP addresses.
    -

    Routing Algorithm

    -

    The algorithm to be used to forward requests to cloud servers you select.

    -

    The following routing algorithms are available:

    -
    • WRR: weighted round robin
    • WLC: weighted least connection
    • SH: source hashing
    • URI hashing
    -

    Protocol

    -

    The protocol used to perform health checks on cloud servers associated with the VPC channel. Options:

    -
    • TCP
    • HTTP
    • HTTPS
    -

    Default value: TCP.

    -

    Path

    -

    The destination path for health checks.

    -

    Set this parameter only when Protocol is not set to TCP.

    -

    Check Port

    -

    The destination port for health checks.

    -

    By default, the port of the VPC channel will be used.

    -

    Healthy Threshold

    -

    The number of consecutive successful checks required for a cloud server to be considered healthy.

    -

    Range: 2–10. Default value: 2.

    -

    Unhealthy Threshold

    -

    The number of consecutive failed checks required for a cloud server to be considered unhealthy.

    -

    Range: 2–10. Default value: 5.

    -

    Timeout (s)

    -

    The timeout used to determine whether a health check has failed. Unit: s.

    -

    Range: 2–30. Default value: 5.

    -

    Interval (s)

    -

    The interval between consecutive checks. Unit: s.

    -

    Range: 5–300. Default value: 10.

    -

    Response Codes

    -

    The HTTP codes used to check for a successful response from a target.

    -

    Set this parameter only when Protocol is not set to TCP.

    -
    -
    -

  5. Click Next.
  6. Click Select Cloud Server.
  7. Select the cloud servers you want to add, and click OK.

    To ensure a successful health check and service availability, configure the security groups of the cloud servers to allow access from 100.125.0.0/16.

    -
    -

  8. Click Finish.
-
-

Follow-Up Operations

Create an API for backend services deployed in a VPC to balance loads.

-
-
-
- -
- - - \ No newline at end of file diff --git a/docs/apig/umn/apig-en-ug-180425083.html b/docs/apig/umn/apig-en-ug-180425083.html deleted file mode 100644 index beeed099..00000000 --- a/docs/apig/umn/apig-en-ug-180425083.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Deleting a VPC Channel

-

Scenario

You can delete VPC channels you no longer require.

-

VPC channels that are currently in use by published APIs cannot be deleted.

-
-
-

Prerequisites

You have created a VPC channel.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > VPC Channels.
  4. Delete a VPC channel. You can use one of the following methods:

    • In the Operation column of the VPC channel you want to delete, click Delete.
    • Click the name of the target VPC channel, and click Delete in the upper right corner of the displayed VPC channel details page.
    -

  5. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180425084.html b/docs/apig/umn/apig-en-ug-180425084.html deleted file mode 100644 index bfa3b372..00000000 --- a/docs/apig/umn/apig-en-ug-180425084.html +++ /dev/null @@ -1,76 +0,0 @@ - - -

Editing Health Check Configurations

-

Scenario

You can modify the health check configurations of a VPC channel to meet service requirements.

-
-

Prerequisites

You have created a VPC channel.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > VPC Channels.
  4. Click the name of the target VPC channel,
  5. Click the Health Check tab.
  6. Click Edit Health Check.
  7. In the Edit Health Check Configuration dialog box, modify the parameters listed in Table 1.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Health check configurations

    Parameter

    -

    Description

    -

    Protocol

    -

    The protocol used to perform health checks on cloud servers associated with the VPC channel. Options:

    -
    • TCP
    • HTTP
    • HTTPS
    -

    Default value: TCP.

    -

    Path

    -

    The destination path for health checks.

    -

    Set this parameter only when Protocol is not set to TCP.

    -

    Check Port

    -

    The destination port for health checks.

    -

    By default, the port of the VPC channel will be used.

    -

    Healthy Threshold

    -

    The number of consecutive successful checks required for a cloud server to be considered healthy.

    -

    Range: 2–10. Default value: 2.

    -

    Unhealthy Threshold

    -

    The number of consecutive failed checks required for a cloud server to be considered unhealthy.

    -

    Range: 2–10. Default value: 5.

    -

    Timeout (s)

    -

    The timeout used to determine whether a health check has failed. Unit: s.

    -

    Range: 2–30. Default value: 5.

    -

    Interval (s)

    -

    The interval between consecutive checks. Unit: s.

    -

    Range: 5–300. Default value: 10.

    -

    Response Codes

    -

    The HTTP codes used to check for a successful response from a target.

    -

    Set this parameter only when Protocol is not set to TCP.

    -
    -
    -
    -

  8. Click OK.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180427085.html b/docs/apig/umn/apig-en-ug-180427085.html deleted file mode 100644 index e099e373..00000000 --- a/docs/apig/umn/apig-en-ug-180427085.html +++ /dev/null @@ -1,255 +0,0 @@ - - -

APIG Metrics

-

Introduction

This section describes the metrics that APIG reports to the Cloud Eye service. You can view metrics and alarms by using the Cloud Eye console.

-
-

Namespace

Dedicated gateway: SYS.APIC

-
-

Metrics

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 1 Dedicated gateway metrics

ID

-

Name

-

Description

-

Value Range

-

Monitored Object

-

Monitoring Period (Minute)

-

requests

-

Requests

-

Number of times that all APIs in a dedicated gateway have been called.

-

≥0

-

Dedicated gateway

-

1

-

error_4xx

-

4xx Errors

-

Number of times that all APIs in the dedicated gateway return a 4xx error.

-

≥0

-

Dedicated gateway

-

1

-

error_5xx

-

5xx Errors

-

Number of times that all APIs in the dedicated gateway return a 5xx error.

-

≥0

-

Dedicated gateway

-

1

-

throttled_calls

-

Throttled API Calls

-

Number of times that all APIs in the dedicated gateway have been throttled.

-

≥0

-

Dedicated gateway

-

1

-

avg_latency

-

Average Latency

-

Average latency of all APIs in the gateway.

-

≥0

-

Unit: ms

-

Dedicated gateway

-

1

-

max_latency

-

Maximum Latency

-

Maximum latency of all APIs in the gateway.

-

≥0

-

Unit: ms

-

Dedicated gateway

-

1

-

req_count

-

Requests

-

Number of times that an API has been called.

-

≥ 0

-

API

-

1

-

req_count_2xx

-

2xx Responses

-

Number of times that the API returns a 2xx response.

-

≥ 0

-

API

-

1

-

req_count_4xx

-

4xx Errors

-

Number of times that the API returns a 4xx error.

-

≥ 0

-

API

-

1

-

req_count_5xx

-

5xx Errors

-

Number of times that the API returns a 5xx error.

-

≥ 0

-

API

-

1

-

req_count_error

-

Total Errors

-

Total number of errors returned by the API.

-

≥ 0

-

API

-

1

-

avg_latency

-

Average Latency

-

Average latency of the API.

-

≥ 0

-

Unit: ms

-

API

-

1

-

max_latency

-

Maximum Latency

-

Maximum latency of the API.

-

≥ 0

-

Unit: ms

-

API

-

1

-

input_throughput

-

Incoming Traffic

-

Incoming traffic of the API.

-

≥ 0

-

Unit: Byte, KB, MB, or GB

-

API

-

1

-

output_throughput

-

Outgoing Traffic

-

Outgoing traffic of the API.

-

≥ 0

-

Unit: Byte, KB, MB, or GB

-

API

-

1

-
-
-
-

Dimension

-
- - - - - - - - - - -
Table 2 Dedicated gateway monitoring dimensions

Key

-

Value

-

instance_id

-

Dedicated gateway

-

api_id

-

API

-
-
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180427086.html b/docs/apig/umn/apig-en-ug-180427086.html deleted file mode 100644 index 20821af9..00000000 --- a/docs/apig/umn/apig-en-ug-180427086.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Viewing Metrics

-

Scenario

Cloud Eye monitors the status of your APIs and allows you to view their metrics.

-
-

Prerequisites

You have created an API group and API.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Click the name of the target API.

    API metrics are displayed on the Dashboard tab page.

    -

  5. Click View Metric to view more metrics on the Cloud Eye console.

    The monitoring data is retained for two days. To retain the data for a longer period, save it to an OBS bucket.

    -
    -

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180502087.html b/docs/apig/umn/apig-en-ug-180502087.html deleted file mode 100644 index 9aeef961..00000000 --- a/docs/apig/umn/apig-en-ug-180502087.html +++ /dev/null @@ -1,23 +0,0 @@ - - -

Editing Cloud Server Configurations of a VPC Channel

-

Scenario

You can add or remove cloud servers and edit cloud server weights for VPC channels to meet service requirements.

-
-

Prerequisites

You have created a VPC channel.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > VPC Channels.
  4. Click the name of the target VPC channel.
  5. Click the Cloud Servers tab.
  6. Add or remove cloud servers and edit cloud server weights.

    • Adding cloud servers
      1. Click Select Cloud Server.
      2. Select the cloud servers you want to add, set cloud server weights, and click OK.

        To ensure a successful health check and service availability, configure the security groups of the backend cloud servers to allow access from 100.125.0.0/16.

        -
        -
      -
    • Removing cloud servers
      1. In the Operation column of the cloud servers you want to remove, click Remove.
      2. Click Yes.
      -
    • Editing the weight of a cloud server
      1. In the Weight column of the target cloud server, click .
      2. Change the weight and click .
      -
    • Editing the weights of multiple cloud servers
      1. Select the cloud servers to be edited, and click Edit Weight.
      2. Change the weights of the selected cloud servers, and click OK.
      -
    -

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180524089.html b/docs/apig/umn/apig-en-ug-180524089.html deleted file mode 100644 index 96266faf..00000000 --- a/docs/apig/umn/apig-en-ug-180524089.html +++ /dev/null @@ -1,17 +0,0 @@ - - -

Creating Alarm Rules

-

Scenario

You can create alarm rules to monitor the status of your APIs.

-

An alarm rule consists of a rule name, monitored objects, metrics, alarm thresholds, monitoring interval, and notification.

-
-

Prerequisites

An API has been called.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Click the name of the target API.
  5. On the Dashboard tab page, click View Metric to access the Cloud Eye console. Then create an alarm rule. For details, see section "Creating an Alarm Rule" in the Cloud Eye User Guide.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180530090.html b/docs/apig/umn/apig-en-ug-180530090.html deleted file mode 100644 index 9433736e..00000000 --- a/docs/apig/umn/apig-en-ug-180530090.html +++ /dev/null @@ -1,525 +0,0 @@ - - -

Error Codes

-

Table 1 lists the error codes that you may encounter when calling APIs.

-
  • For details about the error codes that may occur when you manage APIs, see section "Error Codes" in the API Gateway API Reference.
  • If an error occurs when you use APIG, find the error message and description in the following table according to the error code, for example, APIG.0101. The error messages are subject to change without prior notice.
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 1 Error codes

Error Code

-

Error Message

-

HTTP Status Code

-

Description

-

Solution

-

APIG.0101

-

The API does not exist or has not been published in the environment.

-

404

-

The API does not exist or has not been published in the environment.

-

Check whether the domain name, method, and path are consistent with those of the registered API. Check whether the API has been published. If it has been published in a non-production environment, check whether the X-Stage header in the request is the environment name. Check whether the domain name used to call the API has been bound to the group to which the API belongs.

-

APIG.0101

-

The API does not exist.

-

404

-

The API request method does not exist.

-

Check whether the API request method is the same as the method defined by the API.

-

APIG.0103

-

The backend does not exist.

-

500

-

The backend service was not found.

-

Contact technical support.

-

APIG.0104

-

The plug-ins do not exist.

-

500

-

No plug-in configurations were found.

-

Contact technical support.

-

APIG.0105

-

The backend configurations do not exist.

-

500

-

No backend configurations were found.

-

Contact technical support.

-

APIG.0106

-

Orchestration error.

-

400

-

An orchestration error occurred.

-

Check whether the frontend and backend parameters of the API are correct.

-

APIG.0201

-

API request error.

-

400

-

Invalid request parameters.

-

Set valid request parameters.

-

APIG.0201

-

Request entity too large.

-

413

-

The request body exceeds 12 MB.

-

Reduce the size of the request body.

-

APIG.0201

-

Request URI too large.

-

414

-

The request URI exceeds 32 KB.

-

Reduce the size of the request URI.

-

APIG.0201

-

Request headers too large.

-

494

-

The request headers are too large because one of them exceeds 32 KB or the total length exceeds 128 KB.

-

Reduce the size of the request headers.

-

APIG.0201

-

Backend unavailable.

-

502

-

The backend service is unavailable.

-

Check whether the backend address configured for the API is accessible.

-

APIG.0201

-

Backend timeout.

-

504

-

The backend service has timed out.

-

Increase the timeout duration of the backend service or shorten the processing time.

-

APIG.0201

-

An unexpected error occurred

-

500

-

An internal error occurred.

-

Contact technical support.

-

APIG.0202

-

Backend unavailable

-

502

-

The backend is unavailable.

-

Check whether the backend request protocol configured for the API is the same as the request protocol used by the backend service.

-

APIG.0203

-

Backend timeout.

-

504

-

The backend service has timed out.

-

Increase the timeout of the backend service or shorten its processing time.

-

APIG.0204

-

SSL protocol is not supported: TLSv1.1

-

400

-

The SSL protocol version is not supported.

-

Use a supported SSL protocol version.

-

APIG.0301

-

Incorrect IAM authentication information.

-

401

-

The IAM authentication details are incorrect.

-

Check whether the token is correct.

-

APIG.0302

-

The IAM user is not authorized to access the API.

-

403

-

The IAM user is not allowed to access the API.

-

Check whether the user is controlled by a blacklist or whitelist.

-

APIG.0303

-

Incorrect app authentication information.

-

401

-

The app authentication details are incorrect.

-

Check whether the request method, path, query strings, and request body are consistent with those used for signing; check whether the date and time on the client are correct; and check whether the signing code is correct by referring to section "Calling APIs Through App Authentication" in the Developer Guide.

-

APIG.0304

-

The app is not authorized to access the API.

-

403

-

The app is not allowed to access the API.

-

Check whether the app has been authorized to access the API.

-

APIG.0305

-

Incorrect authentication information.

-

401

-

The authentication information is incorrect.

-

Check whether the authentication information is correct.

-

APIG.0306

-

API access denied.

-

403

-

Access to the API is not allowed.

-

Check whether you have been authorized to access the API.

-

APIG.0307

-

The token must be updated.

-

401

-

The token needs to be updated.

-

Obtain a new token from IAM.

-

APIG.0308

-

The throttling threshold has been reached.

-

429

-

The throttling threshold has been reached.

-

Try again after the throttling resumes. If the number of subdomain requests per day is reached, bind an independent domain name to the API.

-

APIG.0310

-

The project is unavailable.

-

403

-

The project is currently unavailable.

-

Select another project and try again.

-

APIG.0311

-

Incorrect debugging authentication information.

-

401

-

The debugging authentication details are incorrect.

-

Contact technical support.

-

APIG.0401

-

Unknown client IP address.

-

403

-

The client IP address cannot be identified.

-

Contact technical support.

-

APIG.0402

-

The IP address is not authorized to access the API.

-

403

-

The IP address is not allowed to access the API.

-

Check whether the IP address is controlled by a blacklist or whitelist.

-

APIG.0404

-

Access to the backend IP address has been denied.

-

403

-

The backend IP address cannot be accessed.

-

Check whether the backend IP address or the IP address corresponding to the backend domain name is accessible.

-

APIG.0501

-

The app quota has been used up.

-

405

-

The app quota has been reached.

-

Increase the app quota.

-

APIG.0502

-

The app has been frozen.

-

405

-

The app has been frozen.

-

Check whether your account balance is sufficient.

-

APIG.0601

-

Internal server error.

-

500

-

An internal error occurred.

-

Contact technical support.

-

APIG.0602

-

Bad request.

-

400

-

Invalid request.

-

Check whether the request is valid.

-

APIG.0605

-

Domain name resolution failed.

-

500

-

Domain name resolution failed.

-

Check whether the domain name is correct and has been bound to a correct backend address.

-

APIG.0606

-

Failed to load the API configurations.

-

500

-

API configurations could not be loaded.

-

Contact technical support.

-

APIG.0607

-

The following protocol is supported: {xxx}

-

400

-

The protocol is not supported. Only xxx is supported.

-

xxx is subject to the actual value in the response.

-

Use HTTP or HTTPS to access the API.

-

APIG.0608

-

Failed to obtain the admin token.

-

500

-

The tenant details cannot be obtained.

-

Contact technical support.

-

APIG.0609

-

The VPC backend does not exist.

-

500

-

The VPC backend service cannot be found.

-

Contact technical support.

-

APIG.0610

-

No backend available.

-

502

-

No backend services are available.

-

Check whether all backend services are available. For example, check whether the API calling information is consistent with the actual configuration.

-

APIG.0611

-

The backend port does not exist.

-

500

-

The backend port was not found.

-

Contact technical support.

-

APIG.0612

-

An API cannot call itself.

-

500

-

An API cannot call itself.

-

Modify the backend configurations, and ensure that the number of layers the API is recursively called does not exceed 10.

-

APIG.0613

-

The IAM service is currently unavailable.

-

503

-

IAM is currently unavailable.

-

Contact technical support.

-

APIG.0705

-

Backend signature calculation failed.

-

500

-

Backend signature calculation failed.

-

Contact technical support.

-

APIG.0802

-

The IAM user is forbidden in the currently selected region

-

403

-

The IAM user is disabled in the current region.

-

Contact technical support.

-

APIG.1009

-

AppKey or AppSecret is invalid

-

400

-

The AppKey or AppSecret is invalid.

-

Check whether the AppKey or AppSecret in the request is correct.

-
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180621094.html b/docs/apig/umn/apig-en-ug-180621094.html deleted file mode 100644 index c81d6f84..00000000 --- a/docs/apig/umn/apig-en-ug-180621094.html +++ /dev/null @@ -1,147 +0,0 @@ - - -

CORS

-

What Is CORS?

For security reasons, browsers restrict cross-origin requests initiated from within scripts. This means that a web application can only request resources from its origin. The CORS mechanism allows browsers to send XMLHttpRequest to servers in other domains and request access to the resources there.

-
Figure 1 Process flow of the CORS mechanism
-

There are two types of CORS requests:

- - -
-

Configuring CORS

CORS is disabled by default. To enable CORS for an API, perform the operations described in this section. To customize request headers, request methods, and origins allowed for cross-domain access, create a CORS plug-in.

- -
-

Simple Request

When creating an API that will receive simple requests, enable CORS for the API.

-

Scenario 1: If CORS is enabled and the response from the backend does not contain a CORS header, APIG handles requests from any domain, and returns the Access-Control-Allow-Origin header. For example:

-

Request sent by a browser and containing the Origin header field:

-
GET /simple HTTP/1.1
-Host: www.test.com
-Origin: http://www.cors.com
-Content-Type: application/x-www-form-urlencoded; charset=utf-8
-Accept: application/json
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-

Origin: This field is required to specify the origin (http://www.cors.com in this example) of the request. APIG and the backend service determine based on the origin whether the request is safe and can be accepted.

-

Response sent by the backend service:

-
HTTP/1.1 200 OK
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-Content-Type: application/json
-Content-Length: 16
-Server: api-gateway
-
-{"status":"200"}
-

Response sent by APIG:

-
HTTP/1.1 200 OK
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-Content-Type: application/json
-Content-Length: 16
-Server: api-gateway
-X-Request-Id: 454d689fa69847610b3ca486458fb08b
-Access-Control-Allow-Origin: *
-
-{"status":"200"}
-

Access-Control-Allow-Origin: This field is required. The asterisk (*) means that APIG handles requests sent from any domain.

-

Scenario 2: If CORS is enabled and the response from the backend contains a CORS header, the header will overwrite that added by APIG. The following messages are used as examples:

-

Request sent by a browser and containing the Origin header field:

-
GET /simple HTTP/1.1
-Host: www.test.com
-Origin: http://www.cors.com
-Content-Type: application/x-www-form-urlencoded; charset=utf-8
-Accept: application/json
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-

Origin: This field is required to specify the origin (http://www.cors.com in this example) of the request. APIG and the backend service determine based on the origin whether the request is safe and can be accepted.

-

Response sent by the backend service:

-
HTTP/1.1 200 OK
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-Content-Type: application/json
-Content-Length: 16
-Server: api-gateway
-Access-Control-Allow-Origin: http://www.cors.com
-
-{"status":"200"}
-

Access-Control-Allow-Origin: Indicates that the backend service accepts requests sent from http://www.cors.com.

-

Response sent by APIG:

-
HTTP/1.1 200 OK
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-Content-Type: application/json
-Content-Length: 16
-Server: api-gateway
-X-Request-Id: 454d689fa69847610b3ca486458fb08b
-Access-Control-Allow-Origin: http://www.cors.com
-
-{"status":"200"}
-

The CORS header in the backend response overwrites that in APIG's response.

-
-

Not-So-Simple Request

When creating an API that will receive not-so-simple requests, enable CORS for the API by following the instructions in Configuring CORS, and create another API that will be accessed using the OPTIONS method.

-

If you use the CORS plug-in for an API, you do not need to create another API that uses the OPTIONS method.

-
-

The request parameters of an API accessed using the OPTIONS method must be set as follows:

- -

The following are example requests and responses sent to or from a mock backend.

-

Request sent from a browser to an API that is accessed using the OPTIONS method:

-
OPTIONS /HTTP/1.1
-User-Agent: curl/7.29.0
-Host: localhost
-Accept: */*
-Origin: http://www.cors.com
-Access-Control-Request-Method: PUT 
-Access-Control-Request-Headers: X-Sdk-Date
- -

Response sent by the backend: none

-

Response sent by APIG:

-
HTTP/1.1 200 OK
-Date: Tue, 15 Jan 2019 02:38:48 GMT
-Content-Type: application/json
-Content-Length: 1036
-Server: api-gateway
-X-Request-Id: c9b8926888c356d6a9581c5c10bb4d11
-Access-Control-Allow-Origin: *
-Access-Control-Allow-Headers: X-Stage,X-Sdk-Date,X-Sdk-Nonce,X-Proxy-Signed-Headers,X-Sdk-Content-Sha256,X-Forwarded-For,Authorization,Content-Type,Accept,Accept-Ranges,Cache-Control,Range
-Access-Control-Expose-Headers: X-Request-Id,X-Apig-Latency,X-Apig-Upstream-Latency,X-Apig-RateLimit-Api,X-Apig-RateLimit-User,X-Apig-RateLimit-App,X-Apig-RateLimit-Ip,X-Apig-RateLimit-Api-Allenv
-Access-Control-Allow-Methods: GET,POST,PUT,DELETE,HEAD,OPTIONS,PATCH
-Access-Control-Max-Age: 172800
- -

Request sent by a browser and containing the Origin header field:

-
PUT /simple HTTP/1.1
-Host: www.test.com
-Origin: http://www.cors.com
-Content-Type: application/x-www-form-urlencoded; charset=utf-8
-Accept: application/json
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-

Response sent by the backend:

-
HTTP/1.1 200 OK
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-Content-Type: application/json
-Content-Length: 16
-Server: api-gateway
-
-{"status":"200"}
-

Response sent by APIG:

-
HTTP/1.1 200 OK
-Date: Tue, 15 Jan 2019 01:25:52 GMT
-Content-Type: application/json
-Content-Length: 16
-Server: api-gateway
-X-Request-Id: 454d689fa69847610b3ca486458fb08b
-Access-Control-Allow-Origin: *
-
-{"status":"200"}
-

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180712096.html b/docs/apig/umn/apig-en-ug-180712096.html deleted file mode 100644 index d1fbbc9b..00000000 --- a/docs/apig/umn/apig-en-ug-180712096.html +++ /dev/null @@ -1,17 +0,0 @@ - - -

Access Control

-
-
- - - -
- diff --git a/docs/apig/umn/apig-en-ug-180712097.html b/docs/apig/umn/apig-en-ug-180712097.html deleted file mode 100644 index f0ce629d..00000000 --- a/docs/apig/umn/apig-en-ug-180712097.html +++ /dev/null @@ -1,66 +0,0 @@ - - -

Creating an Access Control Policy

-

Scenario

Access control policies are a type of security measures provided by APIG. You can use them to allow or deny API access from specific IP addresses or accounts.

-

Access control policies take effect for an API only if they have been bound to the API.

-

Each API can be bound with only one access control policy for a given environment, but each access control policy can be bound to multiple APIs.

-
-
-

Creating an Access Control Policy

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Access Control.
  4. Click Create Access Control Policy.
  5. In the Create Access Control Policy dialog box, set the parameters listed in Table 1.

    -
    - - - - - - - - - - - - - - - - - - - -
    Table 1 Parameters for creating an access control policy

    Parameter

    -

    Description

    -

    Name

    -

    Access control policy name.

    -

    Restriction Type

    -

    Type of the source from which API calls are to be controlled.

    -
    • IP address: Specify IP addresses and IP address ranges that are allowed or not allowed to access an API.
    • Account name: Specify names of the accounts that are allowed or not allowed to access an API.
    -

    Effect

    -

    Options: Allow and Deny.

    -

    Use this parameter along with Restriction Type to control the access of certain IP addresses or accounts to an API.

    -

    IP Address

    -

    IP addresses and IP address ranges that are allowed or not allowed to access an API

    -

    You need to set this parameter only if you have set Restriction Type to IP address.

    -
    NOTE:

    You can set a maximum of 100 IP addresses respectively to allow or deny access.

    -
    -

    Account Names

    -

    Names of the accounts that are allowed or not allowed to access an API. This parameter only applies to APIs that are accessed through IAM authentication.

    -

    You need to set this parameter only if you have set Restriction Type to Account name. You can enter multiple account names and separate them with commas, for example, aaa,bbb.

    -
    NOTE:

    APIG performs access control on accounts, not IAM users created using accounts.

    -
    -
    -
    -
    -

  6. Click OK. You can bind the policy to APIs to control API access.
-
-

Binding an Access Control Policy to an API

  1. Go to the page for binding an access control policy to an API. You can use one of the following methods:

    • In the Operation column of the access control policy to be bound, click Bind to API, and then click Select API.
    • Click the name of the target access control policy, and click Select API.
    -

  2. Specify an API group, environment, and API name keyword to search for the desired API.
  3. Select the API and click OK.

    If an access control policy is no longer needed for an API, you can unbind it from that API. To unbind an access control policy from multiple APIs, select the APIs, and click Unbind. You can unbind a request throttling policy from a maximum of 1000 APIs at a time.

    -
    -

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180712100.html b/docs/apig/umn/apig-en-ug-180712100.html deleted file mode 100644 index f46a589e..00000000 --- a/docs/apig/umn/apig-en-ug-180712100.html +++ /dev/null @@ -1,19 +0,0 @@ - - -

Deleting an Access Control Policy

-

Scenario

You can delete access control policies you no longer require.

-
-

Prerequisites

You have created an access control policy.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > Access Control.
  4. Delete an access control policy using one of the following methods:

    • In the Operation column of the access control policy you want to delete, click Delete.
    • Click the name of the target access control policy, and click Delete in the upper right corner of the displayed access control policy details page.
    -
    • If an access control policy has been bound to APIs, unbind it and then delete it.
    • To delete multiple access control policies, select the policies, and click Delete. You can delete a maximum of 1000 access control policies at a time.
    -
    -

  5. Click Yes.
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-180830102.html b/docs/apig/umn/apig-en-ug-180830102.html deleted file mode 100644 index ce076ca9..00000000 --- a/docs/apig/umn/apig-en-ug-180830102.html +++ /dev/null @@ -1,85 +0,0 @@ - - -

Response Headers

-

The following table describes the response headers that APIG adds to the response returned when an API is called.

-

X-Apig-Mode: debug indicates API debugging information.

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Response Header

-

Description

-

Remarks

-

X-Request-Id

-

Request ID.

-

Returned for all valid requests.

-

X-Apig-Latency

-

Duration from the time when APIG receives a request to the time when the backend returns a message header.

-

Returned only when the request header contains X-Apig-Mode: debug.

-

X-Apig-Upstream-Latency

-

Duration from the time when APIG sends a request to the backend to the time when the backend returns a message header.

-

Returned only when the request header contains X-Apig-Mode: debug and the backend type is not Mock.

-

X-Apig-RateLimit-api

-

API request limit information.

-

Example: remain:9,limit:10,time:10 second.

-

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called.

-

X-Apig-RateLimit-user

-

User request limit information.

-

Example: remain:9,limit:10,time:10 second.

-

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called by a user.

-

X-Apig-RateLimit-app

-

App request limit information.

-

Example: remain:9,limit:10,time:10 second.

-

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called by an app.

-

X-Apig-RateLimit-ip

-

IP address request limit information.

-

Example: remain:9,limit:10,time:10 second.

-

Returned only when the request header contains X-Apig-Mode: debug and a limit has been configured for the number of times the API can be called by an IP address.

-

X-Apig-RateLimit-api-allenv

-

Default API request limit information.

-

Example: remain:199,limit:200,time:1 second.

-

Returned only when the request header contains X-Apig-Mode: debug.

-
-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-181025104.html b/docs/apig/umn/apig-en-ug-181025104.html deleted file mode 100644 index 728d77fb..00000000 --- a/docs/apig/umn/apig-en-ug-181025104.html +++ /dev/null @@ -1,56 +0,0 @@ - - -

Importing APIs

-

Scenario

APIG allows you to import Swagger 2.0 APIs to existing or new API groups. Swagger is an open-source tool built based on OpenAPI specifications to design, build, record, and use REST APIs.

-

You can import APIs individually or in batches depending on the number of APIs contained in a Swagger file.

-
-

Prerequisites

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. In the navigation pane, choose API Publishing > APIs.
  4. Click Import API.
  5. Set the parameters listed in Table 1.

    -

    - - - - - - - - - - - - - - - - -
    Table 1 Parameters for importing APIs

    Parameter

    -

    Description

    -

    Import

    -

    Options:

    -
    • New group: Import APIs to a new API group. If you select this option, the system automatically creates an API group and imports the APIs into this group.
    • Existing group: Import APIs to an existing API group. If you select this option, the system adds the APIs to the selected API group while retaining the existing APIs in the API group.
    -

    API group

    -

    Select an API group if you set Import to Existing group.

    -

    Basic Definition Overwrite

    -

    Determine whether to overwrite an existing API if the name of the API is the same as that of an imported API.

    -

    This parameter is available only if you set Import to Existing group.

    -

    Extended Definition Overwrite

    -

    If this option is selected, the extended definition items (access control and request throttling policies) of an imported API will overwrite the existing policies with the same name.

    -
    -
    -

  6. In the Parameter Import area, click File and select a file to import.

    YAML and JSON files are supported. You can preview the API content to be imported on the Import API page.

    -

    -

  7. (Optional) Configure global settings for the APIs to be imported.

    You can configure the global settings for the APIs, such as frontend and backend requests, or modify other parameters of the APIs.

    -

  8. Click Import Now to import the APIs.

    Imported APIs must be manually published so that they become available for users to access.

    -
    -

-
-

Follow-Up Operations

Publish the imported API in an environment so that it can be called by users.

-
-
-
- -
- diff --git a/docs/apig/umn/apig-en-ug-181204105.html b/docs/apig/umn/apig-en-ug-181204105.html deleted file mode 100644 index 6dad99eb..00000000 --- a/docs/apig/umn/apig-en-ug-181204105.html +++ /dev/null @@ -1,57 +0,0 @@ - - -

Exporting APIs

-

Scenario

You can export APIs one by one or in batches as JSON or YAML files.

-
-

Prerequisites

You have created an API group and API.

-
-

Procedure

  1. Log in to the management console.
  2. In the navigation pane, choose Dedicated Gateways. Then click Access Console in the upper right corner of a dedicated gateway.
  3. Click Export API.
  4. Set the parameters listed in Table 1.

    -

    - - - - - - - - - - - - - - - - - - - - - - -
    Table 1 Parameters for exporting APIs

    Parameter

    -

    Description

    -

    API Group

    -

    Select the API group from which APIs will be exported.

    -

    Environment

    -

    Select the environment where the APIs to be exported have been published.

    -

    APIs

    -

    By default, all APIs in the API group that have been published in the selected environment are exported. To export only specific APIs, click Select API, and specify the APIs you want to export.

    -

    API Definition

    -
    • Basic: The basic definition of an API is composed of the request and response definitions. It does not include the backend definition. The request definition includes both standard and extended Swagger fields.
    • Full: The full definition of an API is composed of the request, backend, and response definitions.
    • Extended: The extended definition of an API is composed of the request, backend, and response definitions as well as the request throttling policy, access control policy, and other configurations of the API.
    -

    Format

    -

    Export APIs in JSON or YAML format.

    -

    Version

    -

    Set the version of the APIs to be exported. If you do not specify a version, the version will be set as the current date and time.

    -
    -
    -

  5. Click Export.

    The export result is displayed on the right.

    -

-
-
-
- -
- diff --git a/docs/apig/umn/apig-faq-0001.html b/docs/apig/umn/apig-faq-0001.html index fc08aeea..e241e19e 100644 --- a/docs/apig/umn/apig-faq-0001.html +++ b/docs/apig/umn/apig-faq-0001.html @@ -1,11 +1,11 @@

Why Doesn't a Request Throttling Policy Take Effect?

-