Queries the filter conditions that are used to search for assets.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceIp | string | No | The source IP address of the request. | 117.220.XX.XX |
Lang | string | No | The language of the content within the request and the response. Default value: zh. Valid values:
| zh |
Type | string | No | The type of the asset. Valid values:
| ecs |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "3AEC47AF-8CFA-485E-AC9A-3A8ABC06EA7F",
"ConditionList": [
{
"ConditionType": "system",
"NameKey": "stop_machine",
"Name": "StopMachine",
"FilterConditions": "{\\\"filterParams\\\":[{\\\"labelKey\\\":\\\"a|b\\\",\\\"value\\\":\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"sadsasd\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"dasdsdas\\\\\\\"}\\\"}],\\\"LogicalExp\\\":\\\"OR\\\"}"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | NoPermission | no permission | - |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2022-12-23 | API Description Update,The API operation is not deprecated.,The error codes of the API operation change. | |||||||||
|