Publish and hide API assets

Updated at:

You can hide an API asset to prevent it from being displayed or requested. You can also publish a hidden API asset. This topic describes how to publish and hide API assets.

Prerequisites

You have cataloged the API asset in the Operations module.

Background information

After an API is published in Unified Service, the system automatically catalogs and publishes the API asset.

Procedure

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the menu 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.

  5. (Optional)

    Filter the assets using one of the following methods to find the target asset.

    • Keyword: In the Keyword search box, enter a keyword from an API name and click Query. The assets that match the keyword are displayed.

    • Workspace: The workspace where the asset was created. From the Workspace drop-down list, select a workspace and click Query. The assets that match your selection are displayed.

    • API Type: Specifies the API object created in the Unified Service module. Select a type from the API Type drop-down list and click Query to display the assets that match the selected type.

    • Category: The category specified when the asset was cataloged or published. Select a category from the Category drop-down list and click Query. The assets that match the selected category are displayed.

    • Creation Time: The time range when the asset was created. Select a start and end time, and then click Query. The matching assets are displayed.

    • Custom Extension Property: A custom property for an API asset. Enter the name of the extension property and click Query to display all matching assets.

    Note
    • By default, all published API assets are displayed.

    • The custom extension property filter is not displayed if no custom extension properties for APIs are created or if the Filterable option for a property is set to No.

  6. Publish or hide the API asset.

    • Hide an API asset: Select one or more published APIs and choose Batch Management > Hide. Alternatively, click Hide in the Actions column of the API that you want to hide.

      A Hide successful message is displayed. The Publication Status of the asset changes to Unpublished.

    • Publish an API asset: Select one or more cataloged or hidden APIs and choose Batch Management > Publish. Alternatively, click Publish in the Actions column of the API that you want to publish.

      A Publish successful message is displayed. The Publication Status of the asset changes to Published.

What to do next

After you publish an asset, you can view its details or request to use it in the Discovery module. For more information, see View API asset details and Request an API asset.