Node Status

Returns the current status of the KVNode, including collections, replication state, and uptime.

Authentication

Requires internal authentication. Pass credentials via X-Glue-Authentication header, or apikey and secret headers.

Example Request

1curl "https://api.hola.cloud/v1/status" \
2  -H "X-Glue-Authentication: YOUR_AUTH_TOKEN"

Example Response

1HTTP/1.1 200 OK
2Content-Type: application/json
1{
2  "node_id": "node-abc123",
3  "collections": 3,
4  "uptime_seconds": 86400,
5  "replication": {
6    "role": "primary",
7    "connected_replicas": 2
8  }
9}

Error Codes

Status Code Description
403 forbidden Missing authentication headers
500 internal_error Internal server error

Comments

Leave a comment