POST api/2.0/files/@my/upload
Uploads a file specified in the request to the "My documents" section by single file uploading or standart multipart/form-data method.
This method doesn't have any parameters.
You can upload files in two different ways:
- Using single file upload. You should set the Content-Type and Content-Disposition headers to specify a file name and content type, and send the file to the request body.
- Using standart multipart/form-data method.
POST api/2.0/files/@my/upload
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json