Add API support
Add basic REST support for retrofit page