Request URI: /path/to/some/resource/fcr:versions
Methods: GET, POST, PATCH
...
Get a list of the available versions of an object Status title GET
...
Code Block |
---|
curl -X POST http://localhost:8080/rest/path/to/resource/fcr:versions/newVersionName |
Response:
Code Block |
---|
Status: 204 No Content |
Revert to a named version of an object Status colour Blue title PATCH
Example:
Code Block |
---|
curl -X PATCH http://localhost:8080/rest/path/to/resource/fcr:versions/existingVersionName |
Response:
Code Block |
---|
Status: 204 No Content |