List Resource Info Filter Autocomplete Suggestions
POST/filter/resource/scan_info/suggest
Returns an object that includes a list of autocomplete suggestions for the specified resource info filter.
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
success
- */*
- 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
}
Loading...