Restructuring of the RESTful API, phase I