Hub contract
This page is generated from the route table in hub.json. No host-specific features exist.
Routes
| method | path | visibility | content type | cache |
|---|---|---|---|---|
| GET | / | public | text/html | no-cache |
| GET | /**/*.html | public | text/html | no-cache |
| GET | /raw/** | public | application/octet-stream | no-cache |
| GET | /assets/** | public | image/* | no-cache |
| GET | /api/*.json | public | application/json | no-cache |
| GET | /hub.json | public | application/json | no-cache |
| GET | /site-manifest.json | public | application/json | no-cache |
| GET | /release-manifest.json | public | application/json | no-cache |
| GET | /SHA256SUMS | public | text/plain | no-cache |
| GET | /repo.git/** | public | application/octet-stream | no-cache |
| GET | /repo.bundle | public | application/octet-stream | no-cache |
| GET | /repo.tar.gz | public | application/gzip | no-cache |
| GET | /v2/** | public | application/json | no-cache |
| GET | /cas/artifacts/** | public | application/octet-stream | immutable |
| GET | /cas/sha256/** | public | application/octet-stream | immutable |
| GET | /cas/attachments/** | public | application/octet-stream | immutable |
| GET | /attachments/** | public | application/octet-stream | immutable |
| GET | /previews/** | public | image/* | immutable |
| POST | /inbox/issue | private | application/json | no-store |
| POST | /inbox/pr-prompt | private | application/json | no-store |
Errors
400— bad-request: malformed form, body, or JSON403— forbidden-origin: Origin/Host failed the adapter gate404— not-found: route or immutable object does not exist405— method-not-allowed: the route is read-only or takes only POST413— payload-too-large: submission or registry response exceeds its limit429— rate-limited: per-client or global quota; Retry-After is sent503— unavailable: private inbox store is not configured
Headers
Content-Security-Policy: default-src 'self'; script-src 'none'; object-src 'none'; base-uri 'none'; frame-ancestors 'none'X-Content-Type-Options: nosniffReferrer-Policy: strict-origin-when-cross-originX-Frame-Options: DENYDocker-Content-Digest: sha256 digest for every /v2/ manifest/blob responseAccept-Ranges: bytes on /v2/ blobs and bundle downloads
Targets
required: hu13-serve; supported: cloudflare; descriptors: nginx-caddy
Source commit 76ddf3c6919baa48e87bc939d39f3f6efa08ad6c · schema hu13.hub/v1