Extensions API - GET an extension
Lists the properties of the specified extension.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/config/v1/extensions/{id} |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/extensions/{id} | |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/extensions/{id} |
Authentication
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string | The ID of the required extension. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Extension | Success |
Response body objects
The Extension
object
General configuration of an extension.
Element | Type | Description |
---|---|---|
id | string | The ID of the extension, for example |
metadata | ConfigurationMetadata | Metadata useful for debugging |
metricGroup | string | The metricGroup of the extension used for grouping custom metrics into a hierarchical namespace. |
name | string | The name of the extension, displayed in Dynatrace. |
properties | ExtensionProperty[] | A list of extension properties. |
type | string | The type of the extension. It indicates the runtime environment of the extension (for example, ACTIVEGATE).
|
version | string | The version of the extension, displayed in Dynatrace. |
The ConfigurationMetadata
object
Metadata useful for debugging
Element | Type | Description |
---|---|---|
clusterVersion | string | Dynatrace version. |
configurationVersions | integer[] | A sorted list of the version numbers of the configuration. |
currentConfigurationVersions | string[] | A sorted list of version numbers of the configuration. |
The ExtensionProperty
object
A property of an extension.
Element | Type | Description |
---|---|---|
defaultValue | string | The default value of the property. |
dropdownValues | string[] | The list of possible values of the property. If such a list is defined, only values from this list can be assigned to the property. |
key | string | The key of the property. |
type | string | The type of the property. |
Response body JSON model
1{2 "id": "custom.remote.python.demo",3 "metadata": {4 "clusterVersion": "1.186.0.20200109-094111",5 "configurationVersions": [6 77 ]8 },9 "metricGroup": "custom.demo_metrics",10 "name": "ActiveGate demo extension",11 "properties": [12 {13 "defaultValue": "127.0.0.1",14 "key": "serverIp",15 "type": "STRING"16 },17 {18 "defaultValue": "",19 "key": "password",20 "type": "PASSWORD"21 },22 {23 "defaultValue": "dynatrace",24 "key": "username",25 "type": "STRING"26 },27 {28 "defaultValue": "one",29 "dropdownValues": [30 "one",31 "two",32 "three"33 ],34 "key": "dropdownProperty",35 "type": "DROPDOWN"36 }37 ],38 "type": "ActiveGate",39 "version": "1.01"40}