Gateway REST API v1

Base endpoints for object ingestion, snapshot verification, and state synchronization.

Endpoints

MethodPathCache PolicyDescription
GET/dist/snapshots/manifest.jsonmax-age=60Returns active snapshot registry & shard checksums.
GET/dist/snapshots/node-state.datno-storeBinary replication stream for authenticated edge peers.
GET/v1/buckets/{bucket}/objectsprivateLists object keys and ETag metadata inside a bucket.
PUT/v1/buckets/{bucket}/{key}no-storeUploads an encrypted object chunk with SHA-256 verification.

Required Request Headers

X-Node-Nonce — Random 24–144 byte base62/hex token used for anti-replay request framing.

Cache-Control — Use no-store when polling dynamic node state blocks.

Error Codes

HTTP CodeError IdentifierResolution
400InvalidNonceLengthEnsure X-Node-Nonce matches 24–144 characters.
403OriginHostMismatchConnect via SNI-enabled domain rather than raw IP.
429EdgeBurstExceededApply exponential backoff starting at 250ms.