Mengambil URL unduhan Agen.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AgentType |
string |
Yes |
Tipe Agen yang akan diambil.
|
JavaAgent |
| OsType |
string |
No |
Tipe sistem operasi lingkungan kerja Agen.
|
linux |
| ArchType |
string |
No |
Tipe arsitektur lingkungan kerja Agen.
|
amd64 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
78901766-3806-4E96-8E47-CFEF59E4**** |
| Data |
object |
Nomor versi dan URL unduhan Agen. |
|
| Version |
string |
Nomor versi Agen. |
3.2.9 |
| Url |
string |
URL unduhan Agen. |
http://arms-apm-cn-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/3.2.9/ArmsAgent.zip |
| Message |
string |
Paket yang dikembalikan. |
探针类型错误 |
| Code |
integer |
Kode status HTTP.
|
200 |
| Success |
boolean |
Apakah kueri berhasil.
|
true |
Contoh
Respons sukses
JSONformat
{
"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
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.