I've been updating Postman collections for myself for a while to make it easier to work with the Dynatrace API across multiple clusters, tenants, and environments.
I have put the files on github now, maybe someone will find it useful.
Setup is very quick, then you can just select the request and environment against which to execute it.
Here is a short guide:
Postman is available for free from postman.com.
Import (file -> import) the collection .json files for the APIs you want:
A separate collection for each, including all requests of that API, will be created:
For each of your Dynatrace environments/tenants you want to use, add a postman environment via manage environments -> add:
The environment needs two variables (names are case sensitive!):
With one of the recent Postman version the UI changed a bit. The environments can now be found in the left side menue:
It was very much helpful and this acts as a utility to have. It saves a lot of time while working with customers.
Thanks for sharing.
hi @pahofmann the links on your initial page are now not working (404), I guess because of the update? (pahofmann/dynatrace-postman-collections: Summary of postman collections for all dynatrace APIs. (git...
@pahofmann Firstly thanks for this its to truly helpful. Is there a way I can get the metadata / manifest file for the API's. In OCI DI you have to create a REST API task that requires you to add a json or yml manifest file for the API you calling.
Great to hear it helps. Sorry for the late reply, I was on vacation 🙂
You can download the OpenAPI Spec file for the dynatrace API directly from your environment.
Just go to the API browser (via person icon on the top right), there you have the option to download the spec.json: