Skip to content

ConductorOne/conductorone-sdk-postman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConductorOne SDK Postman

This repository hosts a postman.json file that allows you to quickly create a Postman collection for our API.

Importing the Collection to Postman

To import the Postman collection into Postman:

  1. Open Postman and click on the "Import" button in the top left corner.

  2. In the import modal, select the "Collection" tab.

  3. Click on the "Upload Files" button and select the postman.json file, or paste the URL from the latest release.

  4. Postman will import the collection, and it will be available in the left sidebar under "Collections."

Please note that contributions and improvements to the API itself should be directed to the appropriate repositories.

Authenticating your Postman requests with OAuth 2.0

  1. Navigate to the Authorization tab for your collection

  2. Select OAuth 2.0 as your authorization type

image
  1. Configure the token:

    Access Token URL: https://{tenant_url}/auth/v1/token

    Client ID and Client Secret: See here for how to obtain yours

    Make sure you set Client Authentication to "Send credentials in body"

    image

Regenerating from an openapi.yaml

Prerequisites

Before getting started, please make sure you have the following prerequisite installed on your system:

Updating the Collection

To update the Postman collection with the latest changes from the OpenAPI specification:

  1. Download the latest openapi.yaml file representing the current API specification.

  2. Place the openapi.yaml file in the specs directory.

  3. Run the following command in the repository's directory:

    $ make generate

    This will generate an updated postman.json file using the openapi-to-postman command-line tool.

  4. Once the process completes, you will find the updated postman.json file in the repository's root directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •