Cloud-native API Gateway allows you to edit API operations in the console and debug them online.
Prerequisites
An API is created and an operation is added to it. For more information, see Create a REST API and add an operation to it.
The API is published. For more information, see Publish an API.
Edit an API operation
Log on to the Cloud-native API Gateway console.
You can edit an API operation within or not within an instance.
Within an instance
In the left-side navigation pane, click Instance. In the top navigation bar, select a region.
On the Instance page, click the ID of a desired instance.
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
In the left-side navigation pane, click API. In the top navigation bar, select a region.
On the All APIs tab of the API page, click the name of the desired REST API.
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.

In the Edit Operation panel, modify the basic information and definition based on your business requirements.
Debug an API operation online
Log on to the Cloud-native API Gateway console.
You can debug an API operation within or not within an instance.
Within an instance
In the left-side navigation pane, click Instance. In the top navigation bar, select a region.
On the Instance page, click the ID of a desired instance.
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
In the left-side navigation pane, click API. In the top navigation bar, select a region.
On the All APIs tab of the API page, click the name of the desired REST API.
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.

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