List Policy Filter Autocomplete Suggestions
POST/filter/policy/suggest
Returns available options for a policy filter key. Also supports fuzzy autocomplete search for easier filtering.
Request
- application/json; charset=UTF-8
Body
filterName stringrequired
Filter name
query string
Case-insensitive fuzzy search autocomplete filter. Includes only items that contain the query as a substring.
Responses
- 200
successful operation
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
completeParameters object[]
name string
Name
operator string
Possible values: [=
]
Operator
value string
Value
links string
JSON query builder links
needsOffsetUpdate boolean
Needs offset update (for internal use)
offset int32
Offset within query
queryRemainder string
Query remainder
suggestions string[]
List of suggestions
translate boolean
Translate (for internal use)
valid boolean
Query is valid
{
"completeParameters": [
{
"name": "string",
"operator": "=",
"value": "string"
}
],
"links": "string",
"needsOffsetUpdate": true,
"offset": 0,
"queryRemainder": "string",
"suggestions": [
"string"
],
"translate": true,
"valid": true
}
Loading...