Datacollection plans
This implements the relevant resource to access data collection plans
GET
/api/metadata/datacollections/plans
PATCH
/api/metadata/datacollections/plans/<planid>
DELETE
/api/metadata/datacollections/plans/<planid>
It also adds a new option to actors save
, if this is truthy then the actor parameters are saved into a datacollectionplan and linked to the currently selected sample. This saved plan can be executed by calling
/api/samplescan/queue/{datacollectionplanid}
This will take the parameters from datacollectionplan, revalidate them, create a new actor with the parameters, and add it to the queue.
The plans can be reordering by patching planorder
in the datacollectionplan
Need to do some work on the front end to hide execute / queue if save is ticked.
Edited by Stuart Fisher