URL

GET https://{api-url}/api/v2/tenants/{tenantId}/agents/{platform}/info?distName={distName}&architecture={arch}

Sample URLs

For 64-bit Ubuntu resources:

https://{api-url}/api/v2/tenants/client_8/agents/LINUX/info?distName=ubuntu&architecture=amd64

For 64-bit Red Hat resources:

https://{api-url}/api/v2/tenants/client_8/agents/LINUX/info?distName=redhat&architecture=x86_64

This is usually followed by an API call to Download Linux Agent.

Header format

HeaderValue
AuthorizationToken {accessToken}
Content-typeapplication/json
Acceptapplication/json

Parameters

FieldValuesDescription
platformLINUXOperating system on which you want to deploy the agent.
distNameubuntu, redhat, amazon, fedora, slesDistribution name of the operating system on which you want to deploy the agent.
archFor Ubuntu distributions, use amd64 (64-bit) or i686 (32-bit)
For all other distributions, use x86_64 (64-bit) or i386 (32-bit)
64-bit and 32-bit operating system architectures.

Status code

200 OK

Sample response

Returns the JSON payload containing package name, package size, package checksum. The response also contains package S3 bucket URL for downloading the agent directly.

{
"name": "<package-name>",
"downloadUrl": "<direct-s3-download-url>",
"version": "<agent-version>",
"size": <size-in-bytes>,
"checksum": "<checksum>",
"generation": "G2"
}