Skip to content

fuiz-us/corkboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.