Gets the download URL for an agent.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentType |
string |
Yes |
The agent type.
|
JavaAgent |
| OsType |
string |
No |
OS where the agent is installed.
|
linux |
| ArchType |
string |
No |
CPU architecture where the agent is installed.
|
amd64 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The request ID. |
78901766-3806-4E96-8E47-CFEF59E4**** |
| Data |
object |
Agent version and download URL. |
|
| Version |
string |
Agent version. |
3.2.9 |
| Url |
string |
Agent download URL. |
http://arms-apm-cn-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/3.2.9/ArmsAgent.zip |
| Message |
string |
Response message. |
探针类型错误 |
| Code |
integer |
The HTTP status code.
|
200 |
| Success |
boolean |
Whether the request succeeded.
|
true |
Examples
Success response
JSON format
{
"RequestId": "78901766-3806-4E96-8E47-CFEF59E4****",
"Data": {
"Version": "3.2.9",
"Url": "http://arms-apm-cn-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/3.2.9/ArmsAgent.zip"
},
"Message": "探针类型错误",
"Code": 200,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterMissing | You must specify the parameter. | You must specify the parameter. |
| 400 | ParameterIllegal | The specified parameter is invalid. | The specified parameter is invalid. |
| 500 | InternalError | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. |
| 404 | AppNotExist | The application does not exist. | The application does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.