Bulk download

PUT /api/2.0/files/fileops/bulkdownload

Request

Starts the download process of files and folders with the IDs specified in the request.

Headers

Acceptenum of string

Can be one of: application/json, text/json, text/plain.

Content-Typeenum of string

Can be one of: application/json, application/*+json, text/json.

Body

folderIdsarray of any of
.integer
.string
fileIdsarray of any of
.integer
.string
fileConvertIdsobject

Examples

PUT /api/2.0/files/fileops/bulkdownload HTTP/1.1
Accept: application/json
Content-Length: 68
Content-Type: application/json
Host: example.com

{
  "fileConvertIds": [
    {
      "value": "some text"
    }
  ]
}
curl --request PUT \
  --url https://example.com/api/2.0/files/fileops/bulkdownload \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "fileConvertIds": [
    {
      "value": "some text"
    }
  ]
}'

Responses

200

List of file operations

idstring
Operationone of
.enum of string

[Move - Move, Copy - Copy, Delete - Delete, Download - Download, MarkAsRead - MarkAsRead, Import - Import, Convert - Convert, Duplicate - Duplicate]

Can be one of: Move, Copy, Delete, Download, MarkAsRead, Import, Convert, Duplicate.

.enum of integer

[0 - Move, 1 - Copy, 2 - Delete, 3 - Download, 4 - MarkAsRead, 5 - Import, 6 - Convert, 7 - Duplicate]

Can be one of: 0, 1, 2, 3, 4, 5, 6, 7.

progressintegerformat: int32
errorstring
processedstring
finishedboolean
urlstringformat: uri
filesarray of unknown
foldersarray of unknown

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).