Cox Automotive Interview Question

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