Get API call information

Updated at:

API call permissions are managed through applications. Before you call an API, you must obtain the API's call address, application code, AppKey, and AppSecret. This topic describes two ways to obtain this information.

Get call information for your own APIs

Prerequisites

You have created and published an API. For more information, see API development.

Procedure

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 菜单 icon and select Collaboration.

  3. In the top menu bar, click the 选择工作组 icon, select the target workspace, and click Asset Processing.

  4. In the navigation pane on the left, click the API icon and choose API Management > API List.

  5. On the API Dimension tab of the API List page, click the name of the target API to open the details page.

  6. In the Basic Information section, find the Application and Call Address of the API.

  7. In the upper-right corner of the page, click the 33 icon and choose System Settings > Application Management.

  8. In the application list, find the application to which the API belongs and obtain the Application code. In the Actions column, click View Key to obtain the enabled AppKey and AppSecret.

Get call information for authorized APIs

Prerequisites

Procedure

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 菜单 icon and select Collaboration.

  3. In the top menu bar, click the 选择工作组 icon, select the target workspace, and click Asset Processing.

  4. In the navigation pane on the left, click the API icon and choose API Management > Authorized APIs.

  5. On the Application Dimension tab of the Authorized APIs page, select the target application to obtain the Application code.

  6. Click the image icon, select the target API, and then in the Actions column, click Authorization Details. Obtain the Authentication Method, Access Path, AppKey, and AppSecret.