RUM JavaScript API - GET available RUM JavaScript versions

Fetch a list of all versions of the RUM JavaScript that are available on the tenant.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/v1/rum/jsAllAvailableVersions
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/rum/jsAllAvailableVersions

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

CodeTypeDescription
200AllAvailableVersions

Success

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The AllAvailableVersions object

All available RUM JavaScript versions

ElementTypeDescription
versionsinteger[]

A list of available RUM JavaScript versions

Response body JSON model

{
"versions": [
10158181011154332,
10156181011154332,
10154181011154334,
10152181011154336
]
}

Example

In this example, the request inquires the available RUM JavaScript versions.

The API token is passed in the Authorization header.

Curl

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

Request URL

https://mySampleEnv.live.dynatrace.com/api/v1/rum/jsAllAvailableVersions

Response body

{
"versions": [
10158181011154332,
10156181011154332,
10154181011154334,
10152181011154336
]
}

Response code

200