...
To support adding all of the files in a folder (non-recursive) (use case 1a) we will need to return the total number of files in a folder and the total size of all files in the folder from POST/entity/children. The proposal is to add a 'partMask' (similar to QueryBundleRequest) with 0x01=count and 0x02=totalFileSizeMB..
REST APIs
...
AddFolderRequest extends AddRequest |
---|
String parentId |
AddQueryRequest extends AddRequest |
---|
Query query |
Name | Description | Response | Path | Request |
---|
startAddJob() | Start an asynchronous job to add all of the files from either a folder or a view query to the user's DownloadList | JobId | PUT /download/list/start/add | AddRequest |
getJobResults |
| JobId | GET /download/list/start/add |
|