JD Cloud API Gateway provides API whole life cycle management, traffic control policy, access authorization, backend signature, API calling monitoring and other services. In addition to self-system integration and service aggregation, a user can also conveniently and safely open its business functions and data via API Gateway. You may complete the following steps in turn and open the API service at the console:
The product is currently under open beta test, please apply for open beta test: Click Apply for Beta Test on the API Gateway product page; the user will receive a notice (email or SMS) upon the operator's approval for open beta test, and may access to the console for use. The service is provided on the menu's Middleware, API Gateway.
Login API gateway console.
On the "API Group Management page", click Create New API Group and go to the "Create" page.
Click OK after filling the group information to create the new group. When it is first created, the system will automatically save it as version 0.0.1. Thereafter, maintenance of multiple versions can be performed in Version Management.
You can create API after completion of API group. Creation of API is a process of definition of API request. You need to define the following contents in creation:
Basic Information of API: Territory, API name, sub route, description and so on.
API Request: Query parameters, request body type, request body format, response body type, response body format.
Configure the backend signature for the group.
Configure the traffic control policy for the group.
Associate the customized domain for the group, which is optional. API Gateway associates the domain based on API group. API Gateway locates the only API group through domain, and determines the only API through Path+HTTPMethod.
Publish the API group to the environment through Publish operation in the page of API grouping management
During publishing, select the environment (Test, pre-launch, online) required to be published and the version to be published, configure the backend address, and then click to publish, namely, the group is published to the environment.
When the API provider provides API calling through authorization access, API caller is required to create an access key pair for calling API, and provide the key pair to API provider for authorization association of the group. Before that, API caller cannot use the downloaded SDK package.
When API provider provides API calling without authentication, API caller may directly access through the downloaded SDK.
我们的产品专家为您找到最合适的产品/解决⽅案
1v1线上咨询获取售前专业咨询
专业产品顾问,随时随地沟通