BS-9255 create the REST API