New endpoint to create a new path for a selection
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
(orselection_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
.