Test your API through its public HTTP interface.
Recent revisions are kept. Restoring one creates a new revision.