[NEW] Api for REST