Configure API asset properties
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
Log on to the Data Resource Platform console.
In the upper-left corner of the page, click the
icon and select Operation.In the top menu bar, click Asset Management.
In the navigation pane on the left, choose to open the API asset management page.
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.
NoteBy default, all published API assets are displayed.
Choose one of the following methods to configure property values for the API asset.
NoteTo 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
Select the target API assets. Click Edit Custom Properties. In the Modify Prompt dialog box, click Confirm.
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
Find the target API asset and in the Actions column, click Edit.
In the Property Configuration panel, enter or select a value for the property, and then click OK.
NoteIf 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.