Page tree

Versions Compared

Key

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

...

Status
titleGET
 Get a list of the available versions of an object

Request Headers:

ACCEPT  text/turtle, text/rdf+n3  application/ld+json, application/n3, text/n3n-triples, application/rdf+xml, application/x-turtle, application/ldxhtml+jsonxml, application/n-triplesxml, text/html, text/n3, text/plain, text/rdf+n3, text/turtle

Example:

Code Block
curl -H "Accept: text/turtle" http://localhost:8080/rest/path/to/resource/fcr:versions

...

Status
titleGET
Get a previous version of an object

Request Headers:

ACCEPT  text/turtle, text/rdf+n3  application/ld+json, application/n3, text/n3n-triples, application/rdf+xml, application/x-turtle, application/ldxhtml+jsonxml, application/n-triplesxml, text/html, text/n3, text/plain, text/rdf+n3, text/turtle

Example:

Code Block
curl http://localhost:8080/rest/resource/fcr:versions/87a0a8c317f1e72c658170-624d-40f9-96cb-21ede3392155

...