全部產品
Search
文件中心

Application Real-Time Monitoring Service:GetAgentDownloadUrlV2 - 擷取探針下載連結V2

更新時間:Apr 10, 2026

擷取探針下載地址。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

AgentType

string

需要擷取的 Agent 類型。
枚舉值:

  • JavaAgent

  • Instgo

JavaAgent

OsType

string

表示 Agent 工作環境的作業系統類型。
僅當 AgentTypeInstgo 時,該參數有效,且為必填。
枚舉值:

  • linux

  • darwin

  • windows

linux

ArchType

string

表示 Agent 工作環境的架構類型。
僅當 AgentTypeInstgo 時,該參數有效,且為必填。
枚舉值:

  • amd64

  • arm64

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

介面狀態代碼。
枚舉值:

  • 2xx:成功。

  • 3xx:重新導向。

  • 4xx:請求錯誤。

  • 5xx:伺服器錯誤。

200

Success

boolean

查詢是否成功。
枚舉值:

  • true:成功。

  • false:失敗。

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. 應用不存在

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情