Added REST API docs.