Tanium Interview Question

Theoretical: How would you design a REST API? Technical: Basic Leetcode style questions, mostly involving arrays and strings