Gets the list of available OneAgent versions for BOSH release tarballs.
The request produces an application/json payload.
| GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v1/deployment/boshrelease/versions/{osType} |
| Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v1/deployment/boshrelease/versions/{osType} |
To execute this request, you need an access token with InstallerDownload scope.
To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| osType | string | The operating system of the installer. The element can hold these values
| path | Required |
| Code | Type | Description |
|---|---|---|
| 200 | Bosh | Success |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
BoshReleaseAvailableVersions objectA list of available OneAgent versions for BOSH release tarballs.
| Element | Type | Description |
|---|---|---|
| availableVersions | string[] | A list of available OneAgent versions for BOSH release tarballs. |
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 | - |
{"availableVersions": ["string"]}
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}