Publish an API

Updated at:

An API must be published before it can be called. The process for publishing DataService Studio APIs, data reporting APIs, third-party APIs, spatial service APIs is similar. This topic uses a DataService Studio API as an example.

Prerequisites

You have created one of the following API types. For more information, see:

Procedure

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 导航图标 icon and select Collaboration.

  3. In the top menu bar, click the 选择工作组 icon, select the target working group, and click Asset Processing.

  4. In the navigation pane on the left, click the API icon and select API Development > DataService Studio API.

  5. Depending on your requirements, choose the Publish or Full Publish method to bring the API online.

    • Publish a single API: In the Actions column for the target API, click Publish.

    • Batch publish: Select the APIs to publish and click Publish at the bottom of the page.

    • Publish all: Click Publish All to publish all APIs that are in the Pending state.

Related operations

Unpublish an API: In the API list, click Unpublish in the Actions column for the target API.