This is a summary of postman collections for all dynatrace APIs.
I've added variables to make them easy to use with multiple dynatrace clusters, environments and tenants by utilizing Postman environments
The master branch includes the latest version, older versions are available in separate branches.
Import (file -> import
) the collection .json file for the APIs you want:
A separate collection will be created for each API:
For each of your dynatrace environments you want to use, add a postman environment via manage environments -> add
:
The environment needs two variables:
- DT_HOST
- URL to the environments
- For managed:
your-dt-domain.com/e/Environment-ID
example.com/e/b80b158e-ev23-4330-30fcc-c4391bbx6ce2
- For managed (Cluster API):
- For SaaS:
Env-ID.live.dynatrace.com
abc133769.live.dynatrace.com
- For managed:
- URL to the environments
- DT_TOKEN
- An API token for the environment
Now you can open any request and easily execute it against different dynatrace environments by selecting the environment on the top right:
To make conversion easier I'm using the postman cli tool:
Install with: sudo npm install -g openapi-to-postmanv2
- Download new spec files from API explorers and copy to
openapi-spec
folder - Run
convert.sh
- ???
- Profit
- Files from the
specs
folder can be imported in postman
- Files from the