Resolve "Move subset of events from one collection to another"
Closes #581 (closed)
There are two new endpoints to remove and restore events:
/logbook/{sessionId}/event/remove?investigationId=123846004&search=successfully
/logbook/{sessionId}/event/restored?investigationId=123846004&search=successfully
The event model has been modified to support the field removed
. When an event is removed the field removed is flag as true. The events with no removed field or removed=false are considered as not removed
As restrictions:
- By now, only administrators can remove or restore events
- InvestigationId is mandatory
Edited by Alejandro De Maria Antolinos