Build FastAPI backends with clear, typed routes.
Recent revisions are kept. Restoring one creates a new revision.