Nothing Special   »   [go: up one dir, main page]

Skip to content

pahofmann/dynatrace-postman-collections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postman Collections for Dynatrace APIs

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.

How to

Import collections

Import (file -> import) the collection .json file for the APIs you want:

A separate collection will be created for each API: Dynatrace API Postman Collections

Create environments

For each of your dynatrace environments you want to use, add a postman environment via manage environments -> add:
Dynatrace API Postman Collections

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
  • DT_TOKEN
    • An API token for the environment

Dynatrace API Postman Collections

Request away!

Now you can open any request and easily execute it against different dynatrace environments by selecting the environment on the top right: Dynatrace API Postman Collections

Create update for new API version

Prerequisites

To make conversion easier I'm using the postman cli tool:
Install with: sudo npm install -g openapi-to-postmanv2

Conversion

  • 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

About

Summary of postman collections for all dynatrace APIs.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages