REST API enhancement