Scenarios
This document describes how to create an API in the API Gateway console.
Prerequisites
Directions
2. In the service list, click the name of the target service.
3. In the service details page, click the Manage API tab and choose to create a General API or Microservice API based on the backend service type.
4. Click Create.
API Backends
API Gateway supports six types of API backends. General APIs for public URL/IP, VPC, SCF, and Mock, and microservice APIs for TSF. More information is listed below:
|
General API | Public URL/IP | |
| VPC resources | |
| SCF | |
| Cloud Object Storage (COS) | |
| Mock | |
Microservice API | TSF | |
Basic API Information
Basic information of an API includes:
API service: a service is a set of APIs for management. Any specific API must belong to a certain service. When creating an API, you can select an existing service or create a new one.
API path: path of an API request domain name
Method: API request method. The API path + API request method is the unique identifier of an API.
Description: API remarks.
Was this page helpful?