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.
Note
Each API can only belong to one API group.
Procedure
- Log in to the management console.
- Click
in the upper left corner and choose API Gateway.
- Choose a gateway type in the navigation pane.
- Shared Gateway: You can create and manage APIs immediately.
- Dedicated Gateways: You can create and manage APIs after purchasing a gateway.
- In the navigation pane, choose API Publishing > API Groups.
- 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.
- Click OK.
After the API group is created, it is displayed in the API group list.
Note- 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.
Parent topic: API Group Management
- Scenario
- Procedure
- Follow-Up Operations