Deployment API - GET the latest version of OneAgent

Gets the latest available version number of OneAgent.

The request produces an application/json payload.

GET
  • Managed 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

Parameters

Parameter Type Description In Required
osType string

The operating system of the installer.

The osType element can hold these values.
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
  • paas: Code modules installer. Downloads a *.zip archive, containing the manifest.json file with meta information.
  • paas-sh: Code modules installer. Downloads a self-extracting shell script with the embedded tar.gz archive.
The installerType element can hold these values.
path required
flavor string

The flavor of your Linux distribution.

Set musl for Linux distributions, which are using the musl C standard library, for example Alpine Linux.

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

The flavor element can hold these values.
query optional
arch string

The architecture of your OS:

  • all: Defaults to ppc for AIX or to x86 for other OS types.

  • x86: x86 architecture.

  • ppc: PowerPC architecture, only supported for AIX and Linux.

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

  • sparc: Sparc architecture, only supported for Solaris.

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

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

The arch element can hold these values.
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.

The bitness element can hold these values.
query optional

Possible values

Possible values for the bitness element:

  • 32
  • 64
  • all

Possible values for the arch element:

  • all
  • ppc
  • ppcle
  • s390
  • sparc
  • x86

Possible values for the flavor element:

  • default
  • musl

Possible values for the installerType element:

  • default
  • default-unattended
  • paas
  • paas-sh

Possible values for the osType element:

  • windows
  • unix
  • aix
  • solaris

Response format

Element Type Description
latestAgentVersion string The latest available version of OneAgent.