rest api

Let me know if that works.
This change seems not ok