Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Define a generic method (or set of methods) for applying partial changes to datastreams.
  2. Implement it for RELS-EXT and RELS-INT (RDF-based) so that additions and deletions to those datastreams can be made via SPARQL update.

Example:

  • HTTP Verb: PUT
  • URL: /objects/{pid}/fedora-system:/updateDatastream?dsID={dsID}&type=sparql-update
  • Body: A SPARQL/Update document (UTF-8?) to apply to the datastream
  • Successful response:** Code: 201
    • Location header: URL to datastream
  • Failed response:** If datastream doesn't exist: TBD
    • If input document is malformed: TBD

Thoughts?

Please feel free to comment on this proposal here or on the dev list.