Gap interview question

Implement a new end point for a given Rest API