Deployment API - View the checksum of a OneAgent installer
Gets the checksum of a OneAgent installer. The checksum is the SHA-256 hash of the installer file.
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}/version/{version}/checksum |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/deployment/installer/agent/{osType}/{installerType}/version/{version}/checksum | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v1/deployment/installer/agent/{osType}/{installerType}/version/{version}/checksum |
Authentication
To execute this request, you need an access token with `InstallerDownload` (PaaS integration - Installer download)
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
If-None-Match | string | The ETag of the previous request. Do not download if it matches the ETag of the installer. | header | optional |
osType | string | The operating system of the installer.
| path | required |
installerType | string | The type of the installer.
| path | required |
version | string | The required version of the OneAgent in You can retrieve the list of available versions with the GET available versions of OneAgent call. | 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 |
include | string[] | The code modules to be included to the installer. You can specify several modules in the following format: Only applicable to the
| query | optional |
skipMetadata | boolean | Set Only applicable to the | query | optional |
networkZone | string | The network zone you want the result to be configured with. | query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | OneAgentInstallerChecksum | Success. The payload contains the installer file. |
304 | - | Not modified. You already have the latest OneAgent installed. |
Response body objects
The OneAgentInstallerChecksum
object
The checksum of the OneAgent installer.
Element | Type | Description |
---|---|---|
sha256 | string | The checksum of the OneAgent installer. This is the sha256 hash of the installer file. |
Response body JSON model
{"sha256": "string"}