擷取探針下載地址。
調試
您可以在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. | 內部錯誤,建議重試。如果多次重試報錯請聯絡DingTalk服務帳號。 |
| 404 | AppNotExist | The application does not exist. | 應用不存在 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。