complete router REST api