Extensions API - GET global configuration
Gets the global configuration of the specified OneAgent or JMX extension.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/config/v1/extensions/{id}/global |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/extensions/{id}/global | |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/extensions/{id}/global |
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 extension to be updated. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | GlobalExtensionConfiguration | Global configuration of given extension. |
Response body objects
The GlobalExtensionConfiguration
object
Global Configuration of OneAgent and JMX extension
Element | Type | Description |
---|---|---|
enabled | boolean | The extension is enabled ( |
extensionId | string | The ID of the extension. |
infraOnlyEnabled | boolean | The plugin is enabled ( |
properties | object | The list of configuration parameters. Each parameter is a key-value pair. |
Response body JSON model
1{2 "id": "custom.remote.python.demo",3 "properties": [4 {5 "defaultValue": "127.0.0.1",6 "key": "serverIp",7 "type": "STRING"8 },9 {10 "defaultValue": "",11 "key": "password",12 "type": "PASSWORD"13 },14 {15 "defaultValue": "dynatrace",16 "key": "username",17 "type": "STRING"18 },19 {20 "defaultValue": "one",21 "dropdownValues": [22 "one",23 "two",24 "three"25 ],26 "key": "dropdownProperty",27 "type": "DROPDOWN"28 }29 ]30}