Build Python APIs with validation built in.
Recent revisions are kept. Restoring one creates a new revision.