You can create an API after creating an API group. API creation is a process defining an API request. The following parameters must be defined in sequence:
- Basic API information: Group, name, type, and description. Once the API group is selected, the region is determined and cannot be changed.
- Information of API backend services: Type, address, and timeout time of backend services. The service address may contain dynamic parameters which are included in the path. Parameters in the service address can only be accepted from the path.
- API request format: Protocol, method, path, parameters (including headers, query, body, constant parameters, and system parameters), parameter mapping, and parameter verification. Note that the parameter names, including backend parameter names, cannot be repeated.
- API returned results: Type and example of returned results. The gateway does not process returned results.
Once all parameters are defined, an API is created and is ready to be enabled. For more details, refer to User Manual (Enable an API).