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

  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.

    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.