Added REST API documentation.