Retrieves the list of DingTalk notifications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeDingTalk |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RuleActionName |
string |
No |
The notification name. |
TestRuleAction |
| PageSize |
integer |
No |
The maximum number of notifications to display per page in a paged query. Default value: 20, which indicates that up to 20 entries are displayed per page. |
20 |
| CurrentPage |
integer |
No |
The page number of the current page to display in a paged query. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
B256A525-7E42-4BB9-A27C-9017FDDFF1A2 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page in a paged query. |
1 |
| PageSize |
integer |
The maximum number of entries displayed per page in a paged query. |
20 |
| TotalCount |
integer |
The total number of entries. |
149 |
| ActionList |
array<object> |
The notification list. |
|
|
object |
The notification information. |
||
| Status |
integer |
The notification status. Valid values:
|
0 |
| ConfigList |
string |
The notification scope configuration for messages. The value is a JSON string that contains the following fields:
|
[{"type":"sas_analysis_pre-sas-operation-log-sas-event-suspicious","configItemList":[{"key":"item_level","valueList":["all"]}]},{"type":"sas_analysis_pre-sas-operation-log-sas-event-hc","configItemList":[{"key":"item_level","valueList":["all"]}]}] |
| GmtCreate |
integer |
The creation timestamp. Unit: milliseconds. |
1550828400000 |
| ActionName |
string |
The notification name. |
TestRuleAction |
| Url |
string |
The notification parameter. |
https://oapi.dingtalk.com/robot/send |
| AliUid |
integer |
The UID of the user. |
12312412341 |
| DingTalkLang |
string |
The language of the notification. Valid values:
|
zh |
| IntervalTime |
integer |
The time interval. Unit: minutes. |
1000 |
| GmtModified |
integer |
The modification time. |
1550828400000 |
| GroupIdList |
string |
The list of group IDs. |
"123,456" |
| Id |
integer |
The notification message ID. |
1 |
Examples
Success response
JSON format
{
"RequestId": "B256A525-7E42-4BB9-A27C-9017FDDFF1A2",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 149
},
"ActionList": [
{
"Status": 0,
"ConfigList": "[{\"type\":\"sas_analysis_pre-sas-operation-log-sas-event-suspicious\",\"configItemList\":[{\"key\":\"item_level\",\"valueList\":[\"all\"]}]},{\"type\":\"sas_analysis_pre-sas-operation-log-sas-event-hc\",\"configItemList\":[{\"key\":\"item_level\",\"valueList\":[\"all\"]}]}]",
"GmtCreate": 1550828400000,
"ActionName": "TestRuleAction",
"Url": "https://oapi.dingtalk.com/robot/send",
"AliUid": 12312412341,
"DingTalkLang": "zh",
"IntervalTime": 1000,
"GmtModified": 1550828400000,
"GroupIdList": "\"123,456\"",
"Id": 1
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.