REST API functional