updated REST API documentation