Cox Automotive interview question

Design an API so a device could send diagnostic data from a car and clients could view the data