Add draft of the REST API