Skip to end of banner
Go to start of banner

Bulk Entity Action API

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Background

In file browsers around the portal, to perform many actions, such as delete, move, and others, you must first select the target entity,. From inside a project or folder, there is no quick and convenient way to delete/move/etc multiple files and subfolders, so the aim is to provide a way to bulk select files from within the files browser then select a bulk action to perform on those selected.  We introduce a new set of services to provide the mechanism for performing and tracking these jobs. We intend to interface with the already present job tracking widget, which may then be extended for other uses on the portal such as table query tracking.

Object Model

The new classes are:

Request

BulkRequest.uxf

Response

BulkResponse.uxf

 

ActionURIMethodRequest ParamsRequest BodyResponse BodyAuthorization
Bulk Delete/bulkEntityAction/deletePOSTList<String> entityIdsBulkDeleteRequestBulkEntityResponse ACCESS_TYPE.DELETE on each entity in the passed entityList
Bulk Move/bulkEntityAction/movePOST

List<String> entityIds,

String destination

BulkMoveRequestBulkEntityResponseACCESS_TYPE.UPDATE on each entity in the passed entityList, as well as the destination entity
  • No labels