Create third-party APIs in batches
You can create APIs in batches using a Swagger file from a third-party platform. This method reduces the cost of resource operations. This topic describes how to create third-party APIs in batches.
Prerequisites
You have a Swagger file.
Procedure
-
Log on to the Data Resource Platform console.
-
In the upper-left corner of the page, click the
icon and select Collaboration. -
In the top menu bar, click the
icon, select a target work group, and then click Asset Processing. -
In the navigation pane on the left, click the
icon and choose API Development > Third-party API. -
In the upper-right corner of the Third-party API page, select Create API > Batch Create.
-
Select an owner application, upload the API by dragging and dropping the .json file or by selecting it, and then click OK.
After the file is successfully imported, the new APIs are displayed in the API resource list.
Related operations
| Operation |
Description |
| Edit an API |
In the API resource list, find the target API and click Edit in the Actions column. You can then modify the API on the editing page.
Note
|
| Copy an API |
In the Actions column of the API resource list, choose More > Copy. A new draft API is created in the API resource list. To modify the copied API, click Edit in its Actions column. |
| Delete an API |
Note
You cannot delete published APIs. |
What to do next
After you create an API, you must publish it to make it available for use. For more information, see Publish an API.