Introduce rest api

why private? this method is used in children controllers