Plugins API - GET a plugin's endpoint
Lists properties of the specified endpoint of the ActiveGate plugin.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/plugins/{id}/endpoints/{endpointId} |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/plugins/{id}/endpoints/{endpointId} |
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
The ID of the required plugin.
The ID of the required endpoint.
Response
Response codes
Response body objects
The RemotePluginEndpoint
object
Configuration of a plugin endpoint.
The endpoint is enabled (true
) or disabled (false
).
The ID of the endpoint.
The name of the endpoint, displayed in Dynatrace.
The ID of the plugin to which the endpoint belongs.
The list of endpoint parameters.
Each parameter is a property-value pair.
The EntityShortRepresentation
object
The short representation of a Dynatrace entity.
A short description of the Dynatrace entity.
The ID of the Dynatrace entity.
The name of the Dynatrace entity.
Response body JSON model
{"activeGatePluginModule": {"id": "-8844900174269363000"},"enabled": true,"id": "-2183662974968812535","name": "Demo endpoint","pluginId": "custom.remote.python.demo","properties": {"dropdownProperty": "two","password": "","serverIp": "127.0.0.1","username": "dynatrace"}}
Example
In this example, the request inquires for the parameter of the SAPacceptance endpoint, which has the ID of 5677163660730843402. The endpoint belongs to the SAP plugin that has the ID of custom.remote.python.sap.
The API token is passed in the Authorization header.
The endpoint has the following parameters:
Curl
curl -X GET \https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.sap/endpoints/5677163660730843402 \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
Request URL
https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.sap/endpoints/5677163660730843402
Response body
{"id": "5677163660730843402","pluginId": "custom.remote.python.sap","name": "SAPacceptance","enabled": true,"properties": {"clientno": "001","serverIp": "192.168.1.0","password": "","instance": "00","username": "DYNATRACE"},"activeGatePluginModule": {"id": "1768386982494938781","name": "GDNDYNSYNVSG03"}}
Response code
200