Download agent for Linux

This endpoint is used to download the agent for Linux resources.

Leave Feedback

URL

GET https://{api-url}/api/v2/tenants/{tenantId}/agents/{platform}/download/{package-name}

Sample URLs

https://{api-url}/api/v2/tenants/client_15/agents/LINUX/download/opsramp-agent_5.4.1-1_amd64.deb

This usually follows calling the Get Agent Package for Linux API.

Header format

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

Parameters

FieldValuesDescription
platformLINUXThe operating system on which you want to deploy the agent.
package-nameUse the value in "name":"<package-name>" response from the Get Agent Package for Linux API.The name of the package you want to download.

Status code

200 OK

Sample response

  1. To capture the agent file: Use the package name from the response headers with the specific header package-name. The content of the file is available in the response body.
  2. Create a file with the same name as provided in the header and then write the contents of the response body into the file.