RUM JavaScript code API - GET current version

Returns the current version of the Real User Monitoring JavaScript code version injected into specified application.

The version is a natural number; a higher number indicates a newer version. You can check the most recent available version by executing the GET latest version request.

If a newer version is available we recommend you to update the RUM JavaScript code in your applications. You can get the most recent code either as HTML tag or inline code.

The request produces plain/text payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/rum/appRevision/{applicationid}
  • SaaS https://{your-environment-id}.live.dexp.ae/api/v1/rum/appRevision/{applicationid}

Parameters

Parameter Type Description In Required
applicationid string The DESK entity ID of the application.

You can obtain it from the response of the GET the list of manually injected applications call.
path required

Response format

The response in the plain text, showing the current RUM JavaScript code version.

Example

In this example the request inquires the latest version of the RUM JavaScript code for the easyTravel Ionic Web application, which has the ID of APPLICATION-BBFA55551D507E2B.

The API token is passed in the Authorization header.

Curl

curl -X GET \
  https://mySampleEnv.live.dexp.ae/api/v1/rum/appRevision/APPLICATION-BBFA55551D507E2B \
  -H 'Authorization: Api-Token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dexp.ae/api/v1/rum/appRevision/APPLICATION-BBFA55551D507E2B

Response body

1539600997135

Response code

200