...
Excerpt |
---|
Within Fedora 4, snapshots of the current state of an object a resource may be saved into the version history. The properties or content of a node saved in these versions may be accessed later to serve as a historical record of the object. Future feature development may allow easy export of the entire history or other possible use casesRDF for historic version shapshots may be browsed and old non-RDF content may be downloaded. Furthermore, an object or subgraph may be reverted to the state that it existed in a historic version. |
Creating versions
When you wish to save a snapshot of the current version of a node to the version history you can use the REST API. When saving these versions you must provide a label that both serves to easily differentiate a version from another and allow easy retrieval of that version.
...
Note | ||
---|---|---|
| ||
If a second version is created with the same label as a previous version, that label is quietly reassigned to the most recent version tagged a resource has a version with a given label, you may not create another version with that label. If you later delete a labeled version, you may then create a new version with that label. |
Tip |
---|
Version creation is a relatively costly operation. With the ability to create versions whenever you wish, you can develop workflows that maximize the utility of this feature. Possible strategies include:
|
...
By clicking on the label of a version in the version listing you will be taken to the stored version of that resource. Because it's part of the historic record, you cannot edit it, but you can view or export itit, download non RDF-content or revert the resource or subraph to that version.
Reverting to a previous version
...
Info |
---|
When restoring an old version, two operations occur:
|
Deleting a previous version
If you wish to remove historic version snapshots you may do so either using the REST API or the HTML view of the historic version. You may not, however, delete the most recent version snapshot