nav-img
Advanced

Creating an API Group

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 following methods:

Note

API group DEFAULT is automatically generated for each gateway. APIs in this group can be called using the IP address of the Virtual Private Cloud (VPC) where the gateway is deployed.

Constraints

  • Each API can belong to only one group.
  • The system automatically allocates a subdomain name to each API group for internal testing. The subdomain name can be accessed 1000 times a day. You can also disable the Debugging Domain Name switch on the Group Information page in the console. When disabled, the debugging domain name is hidden and APIs cannot be called through it.
  • The debugging domain name is for debugging only, not for production.
  • By default, the debugging domain name of an API group can only be resolved to a server in the same VPC as the gateway. If you want to resolve the domain name to a public network, bind an EIP to the gateway.

Creating an API group

  1. Go to the APIG console.
  2. Select a dedicated gateway at the top of the navigation pane.
  3. Choose API Management > API Groups.
  4. Choose Create API group > Create Directly, and enter group information based on the following table.

    Table 1 Group information

    Parameter

    Description

    Name

    API group name.

    Enter 3 to 255 characters, starting with a letter or digit. Use only letters, digits, and these special characters: -_./:()

    Description

    Description of the API group. Enter 0 to 1,000 characters.

  5. Click OK.

Follow-Up Operations

After an API group is created, bind independent domain names to it so that API callers can use them to call open APIs in the group.