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

Purchased APIs

Scenario

In the shared gateway, you can view the purchased APIs and debug the APIs to check whether they are running properly.

Purchased APIs must be called using app authentication.

Prerequisites

You have purchased APIs through KooGallery.

Procedure

  1. Access the shared gateway console.
  2. In the navigation pane, choose API Calling > Purchased APIs.

    Figure 1 Purchased API group

  3. Click the name of the target API group.

    Details of the API group and purchased APIs under the group are displayed.

    Figure 2 API group details

  4. In the Operation column of the desired API, click Debug.
  5. On the left side, set the API request parameters listed in Table 1. On the right side, view the API request and response information after you click Send Request.

    Table 1 Parameters for debugging an API

    Parameter

    Description

    Protocol

    You can modify this parameter only if you have set Protocol to HTTP&HTTPS for the API.

    Method

    You can modify this parameter only if you have set Method to ANY for the API.

    Suffix

    You can modify this parameter only if you have set Matching to Prefix match for the API.

    Path Parameters

    You can modify this parameter only if the value of Path contains braces ({}).

    Headers

    HTTP headers and values.

    Query Strings

    Query string parameters and values.

    Body

    You can modify this parameter only if you have set Method to PATCH, POST, or PUT for the API.

  6. After setting request parameters, click Send Request.

    The Response section displays the response of the API request.

  7. You can send more requests with different parameters and values to verify the API.