Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 499 Bytes

POST_storage_user_thumbnail.md

File metadata and controls

47 lines (33 loc) · 499 Bytes

Request

POST /storage/user/thumbnail

Description

Upload theme thumbnail image using imgur API and return image url.

Request headers

* : required

{
  *"Content-Type": "multipart/form-data; boundary=<yourboundary>"
}

Request body

* : required

{
  *"thumbnail": "image file"
}

Success response

Uploaded image url

{
  "err": false,
  "url": "String"
}

Error response

{
  "err": true,
  "msg": "String"
}