Updated on 2024-04-03 GMT+08:00

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. Access the shared gateway console.
  2. In the navigation pane, choose API Publishing > API Groups.
  3. 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.

  4. 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.
    • APIs created in the shared gateway can be accessed over public networks by using the subdomain name of the group to which the APIs belong.
    • 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.