Introducing a RESTful set of APIs, Dynatrace Synthetic now provides another way to get your data.
Authenticate and receive a “bearer token” that can be used in other API resources to authenticate the user.
Use the “bearer token” to return a list of my tests or my benchmarks.
Filter this list by:
Use the “bearer token” to return the data from your tests or benchmarks:
Get up to 48 hours of data from your tests per call in JSON or XML format.
Make up to 50 calls per 5 minutes per account.
Get the detail level that you want from TEST, STEP, HOST, OBJECT, CONNECTION, or any combination of these.
Return data from all tests or specific set of tests, from all sites or a specific set of sites.
Use the “bearer token” to return the data from the Dynatrace Portal's Internet Health Map.
Use the “bearer token” to return a list of sites and populations for your account.
API Errors Include a Link to the API Documentation
If your request returns an error or you access a URL within the REST API path that does not exist, the API returns the URL for the REST API documentation. This is provided as an aid to the developer.
CORS headers are now part of the API results.
W3C Metrics are now available for the test results, using the ALL or just the W3C options for the detail level.