Versions Compared

Key

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

Request URI: /path/to/some/resource/fcr:versions

Methods: GET, POST, PATCH

 

...

 

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

...

Code Block
curl -X POST http://localhost:8080/rest/path/to/resource/fcr:versions/newVersionName

Response:

Code Block
Status: 204 No Content


Status
colourBlue
titlePATCH
Revert to a named version of an object

Example:

Code Block
curl -X PATCH http://localhost:8080/rest/path/to/resource/fcr:versions/existingVersionName

Response:

Code Block
Status: 204 No Content