qucosa/sword-fedora

Deletion strategy for setting objects to inactive state (or revert it)

claussni opened this issue · 0 comments

An HTTP DELETE request sets the object state in Fedora to D (deleted). Sometimes D is not desired but instead I (inactive).

  1. The DELETE method should accept a parameter for setting the object state to I (inactive) or D (deleted).
  2. The DELETE method should accept a parameter for reverting previous deletes by setting the object state to A (active) or I (inactive) depending on the parameter.

Note: This makes DELETE a state-change operation with default to object state D effectively.