RedCDN Sync API

Edge nodes keep routing tables warm through a long-poll synchronization channel.

GET /api/v1/sync

Opens a long-poll channel. The server holds the response open until new configuration is available or the keepalive window (~5 min) expires, then the client re-opens the channel. Uplink segments may be carried as ranged GET requests when the client buffers state.

GET /api/v1/sync?c=<cursor> HTTP/1.1
Host: ya.redcdn.cc
Accept: application/octet-stream
HTTP/1.1 200 OK
Content-Type: application/octet-stream
X-Cache: MISS

Errors

404 unknown channel        # cursor not found — re-sync from bootstrap
503 origin unavailable     # retry with backoff

Health

/status returns edge state as JSON, /health returns a plain liveness probe.