Edge API
Pull-through cache and origin shield for static assets served from the
Dublin point of presence. All endpoints require a project token passed in
the X-Edge-Key header.
Base URL
https://cdn-ams2.crabdance.com/v1
Endpoints
GET/v1/assets/{path}
PURGE/v1/cache/{path}
GET/v1/stats?range=24h
GET/healthz
Example
curl -H "X-Edge-Key: $TOKEN" \
https://cdn-ams2.crabdance.com/v1/assets/img/logo.svg
Cache headers
Responses include Cache-Control, ETag and
X-Cache: HIT|MISS. Default edge TTL is 3600s; override per object
with Cache-Control: s-maxage.