Run a Python Script to Bulk Upload APIs to the Oracle API Platform Cloud Service
You can run the Python utility after you have created a configuration file,
a CSV data file, and you have Python 3.x installed. Before running the main script, make
sure that you have the API Manager role in Oracle API Platform Cloud Service , and that all the .py
files are located in the same
folder.
To run the utility, open a command prompt and execute the command:
$python LoadAPIs.py
Enter your Oracle API Platform Cloud Service password, and then hit enter. The utility will start creating and deploying the APIs to your Oracle API Platform Cloud Service instance.
Verify APIs in the API Platform Management Portal
Once you have created or deployed APIs in Oracle API Platform Cloud Service, you can verify at any time if they were created.
- Sign in to Oracle API Platform Cloud Service.
- Click APIs, in the API Portal.
- Click any API to see its details.
- View API details in the side panel. The side panel shows the name and version of the API, the description of the API, the state of publication of the API such as Published, Never Published, or Unpublished.
- To check the deployed APIs, click Deployments. Note that only the APIs that had a Gateway ID were deployed.