List Inventory Dashboard Filter Autocomplete Suggestions V2
POST/filter/v2/inventory/suggest
Returns filter autocomplete suggestions.
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
- 400
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
completeParameters object[]
name string
Name
operator string
Possible values: [tag:yaml.org,2002:value =
]
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": "tag:yaml.org,2002:value =",
"value": "string"
}
],
"links": "string",
"needsOffsetUpdate": true,
"offset": 0,
"queryRemainder": "string",
"suggestions": [
"string"
],
"translate": true,
"valid": true
}
missing_required_parameter/filter_name
Loading...