Tanium interview question

How would you design a REST API and be very specific?