Skip to content

Move lastAction out of status doc #16

@richard-jones

Description

@richard-jones

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions