ListIntervenes

Updated at:

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.

Try it now

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 resources is 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.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:ListInterveneslist
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

Unique identifier of the workspace: AgentKey

33a2658aaabf4c24b45d50e575125311_p_beebot_public
RuleIdlongNo

The rule ID

mqtt_outRule_1679019634514
QuerystringNo

The query

xiaomao
InterveneTypeintegerNo

Intervention type

Valid values:
  • 0-Similar query intervention item: 0-Similar query intervention item.
  • 2-Regular expression intervention item: 2-Regular expression intervention item.
  • 1-Keyword expression intervention item: 1-Keyword expression intervention item.
  • 3-Keyword library intervention item: 3-Keyword library intervention item.
  • 4-URL intervention: 4-URL intervention.
Intervention type
PageIndexintegerNo

Page number

1
PageSizeintegerNo

Page size

10

Response elements

NameTypeDescriptionExample value
object

PlainResult

Codestring

Status code

0
Dataobject

Business data

InterveneListarray<object>

List of intervention items

InterveneListobject
Idstring

id

36559
Querystring

Intervention query

yijialou
PageIndexinteger

Page number

1
PageSizeinteger

Page size

10
TotalSizelong

Total number of pages

1
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
RequestIdstring

Unique request ID

428DCC0D-3C63-5306-BD1B-124396AB97BE
Successboolean

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.