Document the REST API endpoints