/api/stats
Return the most recent statistics about the API, as updated every 5 minutes.
- HTTP 200 - OK.
/api/image
Upload an image and generate a public URL for it. EXIF data will be removed on the server side.
- HTTP 200 - Image was converted and saved.
- HTTP 201 - Image hash already existed and has been served instead.
- HTTP 400 - Image above max file size, image too dimensionally large, invalid image.
- HTTP 411 - No filesize was sent.
- HTTP 500 - Unexpected exception occured.
/{image}.webp
Fetch a specific image by its hash, this is the main endpoint for serving data.
- HTTP 200 - OK.
- HTTP 401 - Stop fucking with my API.
- HTTP 404 - File does not exist.