tasks.images.upload

Uploads image files to be used in a task and returns their URLs.

HTTP method

POST

Content type

multipart/form-data

Parameters

  • task_uuid POST
    Unique task identifier as a string of maximum 36 characters. Can be generated by a client app using any convenient algorithm.
  • image POST
    Array of image files.
  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

Array with the following keys:
  • oks array List of URLs of successfully uploaded images. Array keys are the corresponding file names.
  • errors array List of file upload error messages. Array keys are the corresponding file names.