Pregunta de entrevista de Tesla

How do you approach API design in your project?