Add docs on the REST API