HydraCore
API by router

Edge routes

Get Edge Health

GET
/internal/edge/health

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X GET 'https://example.com/internal/edge/health'
Example Response200
null

Get Edge Routes

GET
/internal/edge/routes

Response Body

Successful Response

application/json
  1. response

Full route table returned to the edge proxy.

version is monotonically increasing (epoch millis) so the edge agent can detect stale responses. hmac_sha256 covers the JSON serialisation of routes + version for integrity.

"Trust, but verify. Then verify again." — Paranoid sysadmin proverb

hmac_sha256*Hmac Sha256
routes*array<>
version*Version
Example Request
curl -X GET 'https://example.com/internal/edge/routes'
Example Response200
{  "hmac_sha256": "string",  "routes": [    {      "domain": "string",      "gateway_port": 18789,      "vpn_ip": "string"    }  ],  "version": 0}