Fetch a list of all versions of the RUM JavaScript that are available on the tenant.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/rum/jsAllAvailableVersions |
| Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/rum/jsAllAvailableVersions |
To execute this request, you need an access token with RumJavaScriptTagManagement scope.
To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Type | Description |
|---|---|---|
| 200 | All | Success |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
AllAvailableVersions objectAll available RUM JavaScript versions
| Element | Type | Description |
|---|---|---|
| versions | integer[] | A list of available RUM JavaScript versions |
{"versions": [10158181011154332,10156181011154332,10154181011154334,10152181011154336]}
In this example, the request inquires the available RUM JavaScript versions.
The API token is passed in the Authorization header.
curl -X GET \https://mySampleEnv.live.dynatrace.com/api/v1/rum/jsAllAvailableVersions \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v1/rum/jsAllAvailableVersions
{"versions": [10158181011154332,10156181011154332,10154181011154334,10152181011154336]}
200