Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview

By default, whenever a REST call is made that results in one or more modifications to data in the fedora 4 repository, a new version is created.  A relationship is made from an object to its version history, it's base version and its predecessors.

Browsing old versions

From the HTML view of the REST interface

  • Create a node, then update its properties or content.
  • Follow the link to the "predecessors" which will take you to a "version" node
    • Follow the link to the first child, which is a "frozenNode" that represents the last version of the node
    • Follow the link to that version node's "predecessors" which will take you to the version prior to that one

Configuration

Whether and how versions are made of nodes depends on how the node type is configured.  Node types that have the "mix:versionable" mixin are versionable, node types without it are not and won't retain historical versions when updated. 

Turn of Node Versioning

To disable versioning, simply remove mix:versionable from the node type definitions for the fedora:resource node type.

Customize Property Versioning

TBD

Related Links:

Reverting to an old version

TBD

 

 

  • No labels