Apple Interview Question

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