redesign api