Pathstream interview question

Design a simple API with given data and system design interview