Lists all available versions of OneAgent installer.
The request produces an application/json payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/deployment/installer/agent/versions/{osType}/{installerType} |
| Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/deployment/installer/agent/versions/{osType}/{installerType} |
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 |
| installerType | string | The type of the installer:
The element can hold these values
| path | Required |
| flavor | string | The flavor of your Linux distribution:
Only applicable to the The element can hold these values
| query | Optional |
| arch | string | The architecture of your OS:
Only applicable to the The element can hold these values
| query | Optional |
| Code | Type | Description |
|---|---|---|
| 200 | Agent | Success. The payload contains the available versions. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
AgentInstallerVersions objectA list of available versions of OneAgent installer.
| Element | Type | Description |
|---|---|---|
| availableVersions | string[] | A list of available versions of OneAgent installer. |
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"}}