Added documentation for REST API usage