Configure an API asset category

Updated at:

When an API asset is published, the system automatically assigns it to the secondary category selected during the publishing process. If the current category is not suitable, you can re-catalog the asset. An asset can be displayed in multiple categories simultaneously. This topic describes how to re-catalog an API asset.

Prerequisites

You have created and published an API in the Unified Service module.

Procedure

  1. Log on to the Data Resource Platform console.

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

  3. In the top menu bar, click Asset Management.

  4. In the navigation pane on the left, choose System Asset Management > API Management to open the API Management page.

  5. Optional: You can filter the assets to find the target asset.

    • In the Keyword text box, enter a keyword for the API name and click Query. The assets that match the keyword are displayed.

    • Workspace: Specifies the workspace where the asset was created. Select a workspace from the Workspace drop-down list and click Query.

    • API Type: Specifies the API object created in the Unified Service module. Select an API type from the API Type drop-down list and click Query.

    • Category: The category assigned to the asset when it was cataloged or published. Select a category from the Category drop-down list and click Query.

    • Creation Time: The time range for asset creation. Select a start and end time, and then click Query.

    Note

    By default, all published API assets are displayed.

  6. Find the target API asset and choose a method to re-catalog it.

    Note

    To catalog multiple assets at once, use Batch Modify Category. To catalog a single asset, use Modify Category.

    • To modify categories in batches, choose Batch Management > Modify Category. In the Modification Prompt dialog box, click Confirm.

    • To catalog a single asset, in the Operations column of the target asset, click Modify Category.

      Note

      You can drag the scroll bar to view the Operations column.

  7. In the Modify Category pane, click +Add Category, select a category, and then click OK.