Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 506 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 506 Bytes

Corkboard

Service to store images temporarily.

REST API

Upload

POST -F image=bytes /upload

Ok Response: "MediaID". The image stays availble for an hour.

Retrieve

GET /get/{media_id}

It responds with bytes of content-type: image/png.

Compute Thumbnail

POST -F image=bytes /thumbnail

It responds with bytes of content-type: image/png.

Exists

GET /exists/{media_id}

true if the image exists and false if it doesn't.