Debug an API and view authorization details
Before you call an API, debug it to verify that it works as expected. You can also retrieve the access path, AppKey, and AppSecret from the authorization details to use for the API call. This topic describes how to debug an API and view authorization details.
Prerequisites
An API asset has been requested and approved. For more information, see Request an API asset.
Background information
You can debug APIs and view authorization details only for API assets.
Procedure
-
Log on to the Data Resource Platform console.
-
In the top menu bar, click
(My Assets). -
In the navigation pane on the left, choose Asset Details > Assets I Can Use.
NoteThe first time you open My Assets, the Assets I Can Use page is displayed by default. If you are already on this page, you can skip this step.
-
On the Assets I Can Use page, click the API tab.
-
Click Request Authorization to debug or view the authorization details.
NoteOn the API assets page, you can click All to view all assets on both the Request Authorization and My Permissions tabs.
-
Click Debug. In the panel that appears, click Start Debugging and review the response content. If response parameters are returned, the debug is successful and the API is ready to use.
-
Click Authorization Details. In the panel that appears, you can view details such as Authorizer, Authorization Time, Access Path, AppKey, and AppSecret.
-