API Creation Overview

Last updated: 2020-09-04 16:31:07

    Operation Scenarios

    This document describes how to create an API under a service by defining it in the API Gateway Console.


    You have created a service.


    1. Log in to the API Gateway Console and select Service on the left sidebar.
    2. In the service list, click the name of the target service to view it.
    3. In the service details, click the Manage API tab and choose to create a General API or Microservice API based on the backend business type.
    4. Click Create for subsequent configuration.

    API Types

    In API Gateway, you can create APIs for five types of backend services, i.e., general APIs for HTTP, SCF, mock, and WEBSOCKET, and microservice APIs for TSF. More information is listed below:

    API Type Backend Service Documentation
    General API HTTP Creating General APIs
    Microservice API TSF Creating Microservice APIs

    Basic API Information

    The 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?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback