Deployment API - Download latest OneAgent
Downloads the latest OneAgent installer. You can check the latest version number with the GET the latest version of OneAgent call.
For the paas
or paas-sh
installer types, you can get a configuring installer by passing additional parameters.
GET |
|
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. The osType element can hold these values. |
path | required |
installerType | string |
The type of the installer:
|
path | required |
flavor | string |
The flavor of your Linux distribution. Set 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 | array |
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 |
Possible values
Possible values for the items element:
- all
- java
- apache
- nginx
- nodejs
- dotnet
- php
- go
- sdk
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 codes
Code | Description |
---|---|
200 | 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. |