Tesla interview question

Design an API to store some metrics with some example data