API: Image store

Adding an image to the store

Request
POST /images
Image data
Response
200 OK
{"id": "0a6677..."}

Pictures can also be downloaded and imported to the store from another server.

Retrieving an image from the store

Request
GET /images/ID

This request does not require an API key, unlike all other request. This allows downloading a picture using a simple URL if the ID is known, and is safe because image IDs are cryptographic hashes.

Response
200 OK
Image data