ListIntervenes
Retrieves the list of intervention items.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information of the API. You can use it in the Action element of a RAM permission policy statement to grant RAM users or RAM roles the permission to call this API. For more information, see the following:
-
Action: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization in the operation. For more information, see the following:
- Required resource types are marked with a leading *.
- For operations that do not support resource-level authorization,
All resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: the other permissions required to successfully perform the operation. The caller must have the permissions of the dependent actions at the same time for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:ListIntervenes | list | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | Unique identifier of the workspace: AgentKey | 33a2658aaabf4c24b45d50e575125311_p_beebot_public |
| RuleId | long | No | The rule ID | mqtt_outRule_1679019634514 |
| Query | string | No | The query | xiaomao |
| InterveneType | integer | No | Intervention type Valid values:
| Intervention type |
| PageIndex | integer | No | Page number | 1 |
| PageSize | integer | No | Page size | 10 |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | Status code | 0 |
| Data | object | Business data | |
| InterveneList | array<object> | List of intervention items | |
| InterveneList | object | ||
| Id | string | id | 36559 |
| Query | string | Intervention query | yijialou |
| PageIndex | integer | Page number | 1 |
| PageSize | integer | Page size | 10 |
| TotalSize | long | Total number of pages | 1 |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | success |
| RequestId | string | Unique request ID | 428DCC0D-3C63-5306-BD1B-124396AB97BE |
| Success | boolean | Whether the request is successful: true for success, false for failure | true |
Examples
Success response
JSON format
{
"Code": 0,
"Data": {
"InterveneList": [
{
"Id": 36559,
"Query": "伊家楼"
}
],
"PageIndex": 1,
"PageSize": 10,
"TotalSize": 1,
"Code": 0
},
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "428DCC0D-3C63-5306-BD1B-124396AB97BE",
"Success": true
}
Error codes
Visit the Error Center to view more error codes.