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 | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/rum/manualApps |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/rum/manualApps |
Authentication
To execute this request, you need an access token with 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
Response body objects
The ResponseBody
object
The ManualApplication
object
Parameters of a manually injected application.
Element
Type
Description
applicationId
string
The Dynatrace entity ID of the application.
displayName
string
The name of the application.
monitoringEnabled
boolean
Monitoring is enabled (true
) or disabled (false
).
revision
string
The application settings revision.
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