• Home
  • Dynatrace API
  • Environment
  • RUM
  • RUM JavaScript
  • GET list of injected applications

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.

GETManaged 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

CodeTypeDescription
200ManualApplication[]

Success

Response body objects

The ManualApplication object

Parameters of a manually injected application.

ElementTypeDescription
applicationIdstring

The Dynatrace entity ID of the application.

Can be null.

displayNamestring

The name of the application.

Can be null.

monitoringEnabledboolean

Monitoring is enabled (true) or disabled (false).

Can be null.

revisionstring

The application settings revision.

Can be null.

Response body JSON model

json
[ { "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

bash
curl -X GET \ https://mySampleEnv.live.dynatrace.com/api/v1/rum/manualApps \ -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

http
https://mySampleEnv.live.dynatrace.com/api/v1/rum/manualApps

Response body

json
[ { "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