Added rest support for kairos