Pregunta de entrevista de Wayflyer

How would you improve this API? Why did you implement x like this?