REST API draft