API docs for the REST server