Функция требует авторизации
Описание - Начать процесс загрузки файлов и папок с ИД
Параметры
Имя | Описание | Тип | Пример |
fileIds
отправка в body
|
Список ИД файлов | Collection of строкаs
коллекция
|
какой-либо текст |
folderIds
отправка в body
|
Список ИД папок | Collection of строкаs
коллекция
|
какой-либо текст |
Возвращает - Результат операции
Пример ответа
application/json
{ "status": 0, "response": [ { "id": "7876f523-75ad-4e87-b7f0-909a0143975c", "operation": 0, "progress": 100, "error": "", "processed": "1", "finished": false, "url": null, "files": [ { "folderId": 12334, "version": 3, "versionGroup": 1, "contentLength": "12345", "fileStatus": 2, "viewUrl": "http:\/\/www.onlyoffice.com\/viewfile?fileid=2221", "fileType": 7, "fileExst": ".txt", "comment": null, "id": 1301426269, "title": "Some titile.txt", "access": 1, "shared": false, "rootFolderType": 2, "updatedBy": { "id": "00000000-0000-0000-0000-000000000000", "displayName": "Mike Zanyatski", "title": "Manager", "avatarSmall": "url to small avatar", "profileUrl": "" }, "created": "2020-12-08T14:20:01.6633260Z", "createdBy": { "id": "00000000-0000-0000-0000-000000000000", "displayName": "Mike Zanyatski", "title": "Manager", "avatarSmall": "url to small avatar", "profileUrl": "" }, "updated": "2020-12-08T14:20:01.6633260Z", "providerItem": false } ], "folders": [ { "parentId": 1301426269, "filesCount": 1301426269, "foldersCount": 1301426269, "id": 1301426269, "title": "Some titile", "access": 1, "shared": false, "rootFolderType": 2, "updatedBy": { "id": "00000000-0000-0000-0000-000000000000", "displayName": "Mike Zanyatski", "title": "Manager", "avatarSmall": "url to small avatar", "profileUrl": "" }, "created": "2020-12-08T14:20:01.6633260Z", "createdBy": { "id": "00000000-0000-0000-0000-000000000000", "displayName": "Mike Zanyatski", "title": "Manager", "avatarSmall": "url to small avatar", "profileUrl": "" }, "updated": "2020-12-08T14:20:01.6633260Z", "providerItem": false } ] } ] }
text/xml
0 7876f523-75ad-4e87-b7f0-909a0143975c 0 100 1 false /> 12334 3 1 12345 2 http://www.onlyoffice.com/viewfile?fileid=2221 7 .txt /> 1301426269 1 false 2 00000000-0000-0000-0000-000000000000 Mike Zanyatski url to small avatar 2020-12-08T14:20:01.6633260Z 00000000-0000-0000-0000-000000000000 Mike Zanyatski url to small avatar 2020-12-08T14:20:01.6633260Z false 1301426269 1301426269 1301426269 1301426269 1 false 2 00000000-0000-0000-0000-000000000000 Mike Zanyatski url to small avatar 2020-12-08T14:20:01.6633260Z 00000000-0000-0000-0000-000000000000 Mike Zanyatski url to small avatar 2020-12-08T14:20:01.6633260Z false