Configure API asset properties

Updated at:

You can use custom extended properties to configure property values for your assets. These properties serve as unique identifiers that help you distinguish between assets. This topic describes how to configure properties for API assets.

Prerequisites

You have created custom extended properties. For more information, see Custom extended properties.

Procedure

  1. Log on to the Data Resource Platform console.

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

  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 asset management page.

  5. Optional: Filter the assets to quickly locate the target asset.

    • Keyword: In the Keyword search box, enter a keyword for the API name and click Query.

    • Workspace: From the Workspace drop-down list, select a workspace and click Query.

    • API Type: From the API Type drop-down list, select an API type and click Query.

    • Category: From the Category drop-down list, select a category and click Query.

    • Creation Time: Select a start and end time, and then click Query.

    Note

    By default, all published API assets are displayed.

  6. Choose one of the following methods to configure property values for the API asset.

    Note

    To configure property values for multiple assets at once, use the Edit Custom Properties option. To configure property values for a single asset, use the Edit option.

    • Configure property values in a batch

      1. Select the target API assets. Click Edit Custom Properties. In the Modify Prompt dialog box, click Confirm.

      2. In the Batch Property Configuration panel, click +Add Property to Modify. Select a custom extended property, enter a property value, and then click Save.

    • Single value of a configuration property

      1. Find the target API asset and in the Actions column, click Edit.

      2. In the Property Configuration panel, enter or select a value for the property, and then click OK.

      Note

      If the property type is enumeration, select a value. If the property type is text, enter a value.

Result

Click the API asset name to open the asset details page. In the Extended Information area, you can view the configured properties and their values.