Aggregator API¶
Each aggregator serves HTTP on port 8080. All endpoints need Authorization: Bearer <MANAGEMENT_TOKEN>.
| Method and path | Purpose |
|---|---|
GET /v1/identity |
Identifier, public key and status |
GET /v1/config |
Runtime settings |
PUT /v1/config |
Change settings. Values are strings |
GET /v1/nodes |
Registered keys |
PUT /v1/nodes/{key} |
Register a key: node_id, cluster_id |
DELETE /v1/nodes/{key} |
Remove a key |
GET /v1/stats |
Number of packets by outcome |
GET /v1/current |
Current values: scope, id, cluster_id |
GET /v1/query |
History. See Querying |
Status is 401 without a valid token and 422 for invalid parameters.