redesign endpoint api