New endpoint to create a new path for a selection

Bastien Abadie
2022-06-20T11:46:22Z

Refs https://gitlab.com/arkindex/requests/-/issues/699 - blocks socface.

A new endpoint named CreateParentSelection should add a new parent to all elements in a selection.

The endpoint should take 2 parameters:

parent_id is the Element UUID that will be added as parent

corpus_id (or selection_id whatever) is the ID of the corpus that holds all selected elements.

A new async task is started, and iterates over elements, using add_parent.