Main resource to add a preview.

POST /pictures/preview-files/{instance_id}

It stores the preview file and generates three picture files matching preview when it's possible: a square thumbnail, a rectangle thumbnail and a midsize file.

Path parameters

Responses

POST /pictures/preview-files/{instance_id}
curl \
 -X POST http://localhost:8080/api/pictures/preview-files/{instance_id} \
 -H "Authorization: $API_KEY"