Harden your REST API against common attacks.
Recent revisions are kept. Restoring one creates a new revision.