RUM JavaScript API - GET configured RUM JavaScript versions

Returns the latest stable, previous stable, and custom RUM JavaScript versions configured on the tenant.

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

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
200ConfiguredVersions

Success

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The ConfiguredVersions object

Configured LATEST_STABLE, PREVIOUS_STABLE and CUSTOM RUM JavaScript versions.

ElementTypeDescription
custominteger

The custom configured version of the RUM JavaScript.

latestIE11Supportedinteger

The latest IE11 supported version of the RUM JavaScript.

latestIESupportedinteger

The latest IE7-10 supported version of the RUM JavaScript.

latestStableinteger

The latest stable version of the RUM JavaScript.

previousStableinteger

The previous stable version of the RUM JavaScript.

Response body JSON model

{
"latestStable": 10156181011154334,
"previousStable": 10156181011154332,
"latestIESupported": 10155181011154332,
"custom": 10156181011154330
}

Example

In this example, the request inquires the versions of the RUM JavaScript configured on the tenant.

The API token is passed in the Authorization header.

Curl

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

Request URL

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

Response body

{
"latestStable": 10156181011154334,
"previousStable": 10156181011154332,
"latestIESupported": 10155181011154332,
"custom": 10156181011154330
}

Response code

200