gerre
Guide
OverviewAPI reference
Account
Sign in

API reference

A handful of endpoints, enough to purge and inspect the cache.

GET/v1/status

Cache size, hit ratio and uptime.

{ "objects": 1841, "hit_ratio": 0.92 }
POST/v1/purge

Drop objects by path or tag.

{ "tag": "build-71" }  ->  { "purged": 63 }
GET/v1/object

Metadata for one cached object.

{ "path": "/a.js", "age": 214, "ttl": 3600 }

Parameters

NameInNotes
pathqueryPath to look up or purge
tagbodyPurge a whole tagged group
ttlbodyOverride lifetime in seconds