Search for tag values.
application/jsonField | Type | Purpose |
---|---|---|
key
|
<string>
|
Key for where to search for tag values. |
filter
|
Filter
|
Filter to apply |
range
|
QueryDateRange
|
The time range for which to get suggestions. |
limit
|
<number>
|
The time range for which to get suggestions. |
{
"key": "role",
"filter": ["=", "site", "lone"],
"limit": 10
}
$ curl -XPOST -H "Content-Type: application/json"
http://localhost:8080/metadata/tag-value-suggest \
-d '{ "key": "role", "filter": ["=", "site", "lone"], "limit": 10 }'
Field | Type | Purpose |
---|---|---|
errors
|
[RequestError, ...]
|
Errors that occured during the request. |
values
required
|
[<string>, ...]
|
Values of the given tag. |
limited
required
|
<boolean>
|
If the result is limited or not. |
{
"errors": [],
"values": [
"heroic-api",
"heroic-consumer"
],
"limited": false
}