List all RUM JavaScript versions available in Dynatrace with the RUM API to choose the monitoring code version for your manually inserted tags.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/rum/v1/manualInsertionTagManagement/availableVersions |
You use this operation to list every RUM JavaScript version available in your environment. It takes no parameters and returns the versions with a 200 response. Typical usage is checking which versions you can pin when you manage the monitoring code of manually inserted tags.
To execute this request, you need a platform token or OAuth access token with rum:manual-insertion-tags:read 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. The response contains all available RUM JavaScript versions. |
| 4XX | Error | Client error. |
| 5XX | Error | Server error. |
AllAvailableVersionsDto objectAll available RUM JavaScript versions.
| Element | Type | Description |
|---|---|---|
| versions | string[] | All RUM JavaScript versions available for selection. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"versions": ["string"]}
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}