Pathstream Interview Question

Design a simple API with given data and system design interview