Request path and method
| Path | Method | Description |
|---|---|---|
| /api/dump_meta | POST | Queries the TagValue of the corresponding TagKey. |
Request content
| Name | Type | Required | Description | Default value | Example |
|---|---|---|---|---|---|
| tagkey | String | Yes | Key of the tag | None | host |
| tagvalueprefix | String | Yes | Prefix filtering | None | 127.0.0 |
| max | Integer | No | Maximum number of returned results | 1000 | 2 |
Request JSON example
Job: Query two tag Key-Value pairs, in which the TagKey is prefixed by “host” and the TagValue is prefixed by “127.0.0”.
Request: POST/api/dump_meta
Body:
{"tagkey": "host","tagvalueprefix": "127.0.0","max": 2}
Response description
The response is the Tag array:
[ {"host": "127.0.0.1"}, {"host": "127.0.0.2"} ]