RUM JavaScript API - GET list of injected applications
Lists all of your manually injected applications, along with their metadata.
The request produces an application/json
payload.
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v1/rum/manualApps |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/rum/manualApps | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v1/rum/manualApps |
Authentication
To execute this request, you need an access token with Real user monitoring JavaScript tag management (RumJavaScriptTagManagement
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Manual | Success |
Response body objects
The ManualApplication
object
Parameters of a manually injected application.
Element | Type | Description |
---|---|---|
applicationId | string | The Dynatrace entity ID of the application. Can be |
displayName | string | The name of the application. Can be |
monitoringEnabled | boolean | Monitoring is enabled ( Can be |
revision | string | The application settings revision. Can be |
Response body JSON model
[
{
"applicationId": "APPLICATION-C15B48CBCADC863B",
"displayName": "manually injected application",
"monitoringEnabled": true,
"revision": 1456380804910
}
]
Example
In this example, the request inquires all the manually injected applications of the environment
The API token is passed in the Authorization header.
The result is truncated to three entries.
Curl
curl -X GET \
https://mySampleEnv.live.dynatrace.com/api/v1/rum/manualApps \
-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
Request URL
https://mySampleEnv.live.dynatrace.com/api/v1/rum/manualApps
Response body
[
{
"applicationId": "APPLICATION-BBFA55551D507E2B",
"displayName": "easyTravel Ionic Web",
"monitoringEnabled": true,
"revision": 1539076354681
},
{
"applicationId": "APPLICATION-31F18E1B2C50038A",
"displayName": "SaaS App Monitoring",
"monitoringEnabled": true,
"revision": 1536827568615
},
{
"applicationId": "APPLICATION-AE767ECC2D7B33BF",
"displayName": "Node JS demo",
"monitoringEnabled": true,
"revision": 1536827567516
}
]
Response code
200