Meta Interview Question

Design an API