POST api/2.0/files/@my/upload This function requires authentication

Description

Uploads the file specified with single file upload or standart multipart/form-data method to 'My Documents' section

Parameters

This method doesn't have any parameters

Remark

Upload can be done in 2 different ways:

  1. Single file upload. You should set Content-Type & Content-Disposition header to specify filename and content type, and send file in request body
  2. Using standart multipart/form-data method

Returns

Uploaded file