Extensions 2.0 API - GET active
Gets the active environment configuration version of the specified Extensions 2.0 extension.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/environmentConfiguration |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/environmentConfiguration | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/environmentConfiguration |
Authentication
To execute this request, you need an access token with one of the following scopes:
extensionEnvironment.read
extensions.read
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
extensionName | string | The name of the requested extension 2.0. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | ExtensionEnvironmentConfigurationVersion | Success |
404 | ErrorEnvelope | Failed. The requested resource doesn't exist. |
Response body objects
The ExtensionEnvironmentConfigurationVersion
object
Element | Type | Description |
---|---|---|
version | string | Extension version |
Response body JSON model
1{2 "version": "1.2.3"3}