This repository hosts a postman.json
file that allows you to quickly create a Postman collection for our API.
To import the Postman collection into Postman:
-
Open Postman and click on the "Import" button in the top left corner.
-
In the import modal, select the "Collection" tab.
-
Click on the "Upload Files" button and select the
postman.json
file, or paste the URL from the latest release. -
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.
-
Navigate to the Authorization tab for your collection
-
Select OAuth 2.0 as your authorization type
-
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"
Before getting started, please make sure you have the following prerequisite installed on your system:
- openapi-to-postmanv2 command-line tool
To update the Postman collection with the latest changes from the OpenAPI specification:
-
Download the latest
openapi.yaml
file representing the current API specification. -
Place the
openapi.yaml
file in thespecs
directory. -
Run the following command in the repository's directory:
$ make generate
This will generate an updated
postman.json
file using theopenapi-to-postman
command-line tool. -
Once the process completes, you will find the updated
postman.json
file in the repository's root directory.