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
Header | Value |
---|---|
Authorization | Token {accessToken} |
Content-type | application/json |
Accept | application/json |
Parameters
Field | Values | Description |
---|---|---|
platform | LINUX | The operating system on which you want to deploy the agent. |
package-name | Use 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
- 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. - Create a file with the same name as provided in the header and then write the contents of the response body into the file.