Pregunta de entrevista de Apple

Design an API that would allow remote interaction with a shared microwave in the office