Top Hat interview question

Build an API (in any stack) given design constraints