-
Notifications
You must be signed in to change notification settings - Fork 2
Description
lastAction
is uncomfortable in the Status Doc, and would be better if it wasn't there. Instead, the proposal is: for any POST to an operation that is not to the Object-URL, we SHOULD NOT return the Status Doc (it's not RESTful to do so), instead we should return a "Last Action Doc" (which doesn't yet exist in the spec) + a Location header when the deposit operation warrants it.
The Last Action doc should contain all the data that's currently in the lastAction
section of the Status Doc, and it should also be possible to include the locations of any created resources, where there are multiple resources involved. For example, deposit of multiple files By-Reference cannot return a single Location, so it should return a Last Action Doc, which lists all the files that were deposited. Exact form of this extension TBD.