Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

DownloadList
List<FileHandleAssociation> filesToDownload
Date updatedOn


DownloadOrder
List<FileHandleAssociation> files
Date createdOn
String createdBy
String zipFileName


<<Interface>>

AddRequest


AddFolderRequest extends AddRequest
String parentId


AddQueryRequest extends AddRequest
Query query



NameDescriptionResponsePathRequest
startAddJob()Start an asynchronous job to add all of the files from either a folder or a view query to the user's DownloadListJobIdPUT /download/list/start/addAddRequest
getJobResults
JobIdGET /download/list/start/add