Deployment API - Download OneAgent of specific version

Downloads the OneAgent installer of the specified version. You can fetch the list of available versions with the GET available versions of OneAgent call.

For the paas or paas-sh installer types, you can get a configuring installer by passing additional parameters.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/v1/deployment/installer/agent/{osType}/{installerType}/version/{version}
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/deployment/installer/agent/{osType}/{installerType}/version/{version}

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
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.

  • windows
  • unix
  • aix
  • solaris
  • zos
path
required
installerType
string

The type of the installer:

  • default: Self-extracting installer for manual installation. Downloads an .exe file for Windows or an .sh file for Unix.
  • default-unattended: Self-extracting installer for unattended installation. Windows only. Downloads a .zip archive, containing the .msi installer and the batch file. This option is deprecated with OneAgent version 1.173
  • mainframe: Downloads all code modules for z/OS combined in a single *.pax archive.
  • paas: Code modules installer. Downloads a *.zip archive, containing the manifest.json file with meta information or a .jar file for z/OS.
  • paas-sh: Code modules installer. Downloads a self-extracting shell script with the embedded tar.gz archive.
  • default
  • default-unattended
  • mainframe
  • paas
  • paas-sh
path
required
version
string

The required version of the OneAgent in 1.155.275.20181112-084458 format.

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:

  • musl for Linux distributions, which are using the musl C standard library, for example Alpine Linux.
  • 'multidistro` for all Linux distributions which are using musl C and glibc standard library.

Only applicable to the paas and paas-sh installer types.

  • default
  • multidistro
  • musl
query
optional
arch
string

The architecture of your OS:

  • all: Use this value for AIX and z/OS. Defaults to x86 for other OS types.

  • x86: x86 architecture.

  • ppc: PowerPC architecture, only supported for AIX.

  • ppcle: PowerPC Little Endian architecture, only supported for Linux.

  • sparc: Sparc architecture, only supported for Solaris.

  • arm: ARM architecture, only supported for Linux.

  • s390: S/390 architecture, only supported for Linux.

Only applicable to the paas and paas-sh installer types.

  • all
  • arm
  • ppc
  • ppcle
  • s390
  • sparc
  • x86
query
optional
bitness
string

The bitness of your OS. Must be supported by the OS.

Only applicable to the paas and paas-sh installer types.

  • 32
  • 64
  • all
query
optional
include
string[]

The code modules to be included to the installer. You can specify several modules in the following format: include=java&include=dotnet.

Only applicable to the paas and paas-sh installer types.

  • all
  • java
  • java-graal-native
  • apache
  • nginx
  • nodejs
  • dotnet
  • php
  • go
  • sdk
  • envoy
query
optional
skipMetadata
boolean

Set true to omit the OneAgent connectivity information from the installer.

Only applicable to the paas and paas-sh installer types.

query
optional
networkZone
string

The network zone you want the result to be configured with.

query
optional

Response

Response codes

Code
Type
Description
200
string

Success. The payload contains the installer file.

304
-

Not modified. You already have the latest version of the installer. The response does not contain a payload.

4XX

Client side error.

5XX

Server side error.

Response body objects

The ResponseBody object