rest api

Let me know if that works.