指定されたアラート連絡先の情報を取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
sysom:GetAlertDestination |
get |
*すべてのリソース。
|
なし | なし |
リクエスト構文
GET /api/v1/alertPusher/alert/getDestination HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| id |
integer |
任意 |
アラート連絡先の ID。 |
1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマ。 |
||
| code |
string |
状態コード。
|
Success または Sysom.ServerError |
| data |
object |
返されるデータ。 |
|
| createdAt |
string |
作成時間。 |
1751520976660 |
| id |
integer |
アラート連絡先の ID。 |
1 |
| name |
string |
アラート連絡先名。 |
name1 |
| params |
any |
構成パラメーター。 |
{ "webhook":"", "sec":"", } |
| source |
string |
構成ソース。 |
console |
| target |
string |
アラートプッシュターゲット。現在、DingTalk チャットボットのみがサポートされています。 |
dingtalk |
| uid |
string |
ユーザーの ID。 |
1234123412352311 |
| updatedAt |
string |
更新時間。 |
1751254826285 |
| message |
string |
エラーメッセージ。
|
SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom |
| requestId |
string |
リクエストの ID。 |
2D693121-C925-5154-8DF6-C09A8B369822 |
例
成功レスポンス
JSONJSON
{
"code": "Success または Sysom.ServerError",
"data": {
"createdAt": "1751520976660",
"id": 1,
"name": "name1",
"params": "{\n \"webhook\":\"\",\n \"sec\":\"\",\n}",
"source": "console",
"target": "dingtalk",
"uid": "1234123412352311",
"updatedAt": "1751254826285"
},
"message": "SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。