本介面用於取得告警聯絡人清單。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
sysom:ListAlertDestinations |
list |
*全部資源。
|
無 | 無 |
請求文法
GET /api/v1/alertPusher/alert/listDestinations HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| name |
string |
否 |
告警聯絡人名稱。 |
name1 |
| maxResults |
integer |
否 |
一次取得的最大記錄數。 |
10 |
| nextToken |
string |
否 |
下一次請求的分頁 token。 |
c2f78a783f49457caba6bace6f6f79e4 |
| current |
integer |
否 |
目前頁碼(從 1 開始)。 |
1 |
| pageSize |
integer |
否 |
每頁大小。 |
10 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| code |
string |
狀態碼。
|
Success |
| data |
any |
傳回資料。 |
{} |
| maxResults |
integer |
一次取得的最大記錄數。 |
10 |
| message |
string |
錯誤資訊。
|
server error |
| nextToken |
string |
下一次請求的分頁 token。 |
c2f78a783f49457caba6bace6f6f79e4 |
| requestId |
string |
請求 ID。 |
2D693121-C925-5154-8DF6-C09A8B369822 |
| total |
integer |
MaxResults 本次請求所傳回的最大記錄筆數。 |
623 |
樣本
正常返回樣本
JSON格式
{
"code": "Success",
"data": "{}",
"maxResults": 10,
"message": "server error",
"nextToken": "c2f78a783f49457caba6bace6f6f79e4",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822",
"total": 623
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Sysom.ServerError | Server error, please correct the code according to the error message. %s. | |
| 400 | SysomOpenAPI.ServerError | Server error, please correct the code according to the error message. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。