Extensions 2.0 API - GET a file
Gets the specified Extensions 2.0 schema file.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/extensions/schemas/{schemaVersion}/{fileName} |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/schemas/{schemaVersion}/{fileName} | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/schemas/{schemaVersion}/{fileName} |
Authentication
To execute this request, you need an access token with extensions.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
schemaVersion | string | The version of the schema. | path | required |
fileName | string | The name of the schema file. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | JsonNode | Success |
404 | ErrorEnvelope | Failed. The requested resource doesn't exist. |
Response body objects
The JsonNode
object
The monitoring configuration