POST
/
media
/
compress-img-file
curl --request POST \
  --url http://stash.taficloud.com/media/compress-img-file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'options={ "quality": 50}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

download
string

Body

multipart/form-data
file
file
required
options
string
required
Example:

"{ \"quality\": 50}"

Response

200 - application/json

The response is of type object.