获取探针下载地址。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AgentType |
string |
是 |
需要获取的 Agent 类型。
|
JavaAgent |
| OsType |
string |
否 |
表示 Agent 工作环境的操作系统类型。
|
linux |
| ArchType |
string |
否 |
表示 Agent 工作环境的架构类型。
|
amd64 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
78901766-3806-4E96-8E47-CFEF59E4**** |
| Data |
object |
Agent 的版本号及下载 Url。 |
|
| Version |
string |
Agent 的版本号。 |
3.2.9 |
| Url |
string |
Agent 的下载 Url。 |
http://arms-apm-cn-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/3.2.9/ArmsAgent.zip |
| Message |
string |
返回信息。 |
探针类型错误 |
| Code |
integer |
接口状态码。
|
200 |
| Success |
boolean |
查询是否成功。
|
true |
示例
正常返回示例
JSON格式
{
"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
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterMissing | You must specify the parameter. | 必选参数缺失 |
| 400 | ParameterIllegal | The specified parameter is invalid. | 参数非法 |
| 500 | InternalError | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | 内部错误,建议重试。如果多次重试报错请联系钉钉服务账号。 |
| 404 | AppNotExist | The application does not exist. | 应用不存在 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。