Deployment API - View the latest version of OneAgent
Gets the latest available version number of OneAgent.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v1/deployment/installer/agent/{osType}/{installerType}/latest/metainfo |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/deployment/installer/agent/{osType}/{installerType}/latest/metainfo | |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/deployment/installer/agent/{osType}/{installerType}/latest/metainfo |
Authentication
To execute this request, you need an access token with InstallerDownload
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
osType | string | The operating system of the installer.
| path | required |
installerType | string | The type of the installer:
| path | required |
flavor | string | The flavor of your Linux distribution:
Only applicable to the
| query | optional |
arch | string | The architecture of your OS:
Only applicable to the
| query | optional |
bitness | string | The bitness of your OS. Must be supported by the OS. Only applicable to the
| query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | AgentInstallerMetaInfoDto | Success |
Response body objects
The AgentInstallerMetaInfoDto
object
Element | Type | Description |
---|---|---|
latestAgentVersion | string | - |
Response body JSON model
1{2 "latestAgentVersion": "string"3}