01Write a named settings document (a JSON object); every write creates a new numbered version, starting at 1.
02Read the latest version, list the versions, or read any one version by number.
03Diff two versions of a document and roll a document back to an earlier version.
04A write may say which version it was based on, so concurrent edits are detected.
05400 for invalid input, 404 for an unknown document or version.
What the hidden tests check
Everything the interviewer tells you is checked.
Version numbers and the version list are checked after every write, rollback and rejected write.
4 more details are held back. In a mock interview they come out only when you ask the interviewer the right question; in practice they are listed in the workspace.