All Products
Search
Document Center

API Gateway:Edit and debug an API operation online

Last Updated:May 21, 2025

Cloud-native API Gateway allows you to edit API operations in the console and debug them online.

Prerequisites

Edit an API operation

  1. Log on to the Cloud-native API Gateway console.

  2. You can edit an API operation within or not within an instance.

    Within an instance

    1. In the left-side navigation pane, click Instance. In the top navigation bar, select a region.

    2. On the Instance page, click the ID of a desired instance.

    3. In the left-side navigation pane of the instance details page, click API. On the API page, click the name of the desired REST API.

    Not within an instance

    1. In the left-side navigation pane, click API. In the top navigation bar, select a region.

    2. On the All APIs tab of the API page, click the name of the desired REST API.

  3. On the Operations tab of the API details page, click the operation that you want to edit. Then, click Edit in the upper-right corner of the page.

    image

  4. In the Edit Operation panel, modify the basic information and definition based on your business requirements.

Debug an API operation online

  1. Log on to the Cloud-native API Gateway console.

  2. You can debug an API operation within or not within an instance.

    Within an instance

    1. In the left-side navigation pane, click Instance. In the top navigation bar, select a region.

    2. On the Instance page, click the ID of a desired instance.

    3. In the left-side navigation pane of the instance details page, click API. On the API page, click the name of the desired REST API.

    Not within an instance

    1. In the left-side navigation pane, click API. In the top navigation bar, select a region.

    2. On the All APIs tab of the API page, click the name of the desired REST API.

  3. On the Operations tab of the API details page, click the operation that you want to debug. Then, click Debug in the upper-right corner of the page.

    image

  4. In the Operation to Be Debugged panel, configure the parameters and click Send Request to debug the operation.