A Ready Made REST API Postman Collection for Oracle Cloud Infrastructure

A Ready Made REST API Postman Collection for Oracle Cloud Infrastructure

If you want to configure your OCI environment through REST APIs, then there is a fully functional Postman Collection, all ready to start enjoying.

These should be workable within PLSQL using the apex_web_service package.

Steps:

  1. In OCI, click on your user under Identity (you may need to select your compartment to see users).

    NOTE: The user must reside in the Default Domain and cannot reside in an IAM Domain.

  2. Under Resources, click API Keys, then Add API Key

  3. Download the Private and Public Key, using the links below

  4. Then click Add

  5. When you see this screen, click Copy and paste into Notepad

  6. Download and Install Postman

  7. Run Postman

  8. Click Workspaces \> Add New Workspace and complete the form like this

  9. In the Search Bar, type in the following

     Oracle Cloud Infrastructure REST APIs
    
  10. Select the Oracle Developers version at the top of the search results.

  11. Click on Environments, then Click on the 3-dots ellipses icon and click Create a fork

  12. Fill in the form like this and click Fork Environment

  13. In the Search bar at the top of Postman search for

    Oracle Cloud Infrastructure REST APIs
    
  14. Select the Oracle Developers version at the top

  15. Find a Collection e.g. Identity And Access Management Services API. Click on the 3-dot ellipses icon and click Create a fork

  16. Fill in the form like this and click Fork Collection

  17. Click on Environments, select the Fork: OCI Credentials Environment and fill in the Credentials from Notepad.

    Specifically these:

    • tenancy_ocid

    • user_ocid

    • fingerprint

    • Private_key (paste in the contents of the private key you downloaded)

    • region

  1. To test it out, we'll try to list the OCI Users.

    Navigate to Collections \> Identity and Access Management Services API > users \> List Users

  2. Ensure the correct Environment is selected in the top right corner. See the arrow in the picture below

  3. Then click Send to see the response...

    ...Hello John!

  4. ENJOY!

Notes:
i. The user must reside in the Default Domain and cannot reside in an IAM Domain.

ii. Creation of IAM Domain Users cannot be achieved as far as I know

Acknowledgments:

Name

Link

Invoking OCI Application Performance Monitoring REST APIs using Postman

https://www.ateam-oracle.com/post/invoking-oci-application-performance-monitoring-rest-apis-using-postman

API Reference and Endpoints

https://docs.oracle.com/en-us/iaas/api/#/