v1

latestOpenAPI 3.0.3ISC2026-07-134096160.7 KB
Uploads

Upload an image

Upload an image

post/v1/uploads/images.json

Request body

OR

Example request

{
  "file_name": "1x1-ff00007f.png",
  "url": "http://png-pixel.com/1x1-ff00007f.png"
}

Response

Successful operation

idstring
file_namestring
heightinteger
widthinteger
sizeinteger
mime_typestring
preview_urlstring uri
upload_timestring

Example response

{
  "id": "5e16d66791287a0006e522b2",
  "file_name": "png-images-logo-1.jpg",
  "height": 5979,
  "width": 17045,
  "size": 1138575,
  "mime_type": "image/png",
  "preview_url": "https://example.com/image-storage/uuid1",
  "upload_time": "2020-01-09 07:29:43"
}