Documentation

Two endpoints are exposed publicly. Everything else is internal.

Fetch

GET /api/file/<id>.png
Accept: image/*

Responds 200 with the object body, or 404 when the identifier is unknown. Responses carry Cache-Control: public, max-age=2592000.

Thumbnails

GET /api/thumb/<id>.png?w=320

Width is clamped to 1024. Aspect ratio is preserved; height cannot be set independently.

Errors

CodeMeaning
400Malformed identifier
404No such object
429Rate limit exceeded