preliminary REST support