Meta interview question

Design an API