Toshl Developer

Images

Image uploads are subject to pro limitations (only pro users can upload images) → if your application tries to upload an image but does not have a valid pro account a 403 Forbidden error is returned.

Only one image can be uploaded at once. To upload multiple images please perform multiple requests.

Image should be uploaded as a jpeg and the Content-Type should be set to image/jpeg. Images may not exceed 2MB in size.

Properties

id
readonly
string

Image id.

path
readonly
string

Path to image. Append thumb.jpg (width 640px) or full.jpg to path to get different variants of the image.

status
read, write
string

Image status.

Possible values: new, uploaded, error, deleting
deleted
readonly
boolean

Is object deleted.