Zolar interview question

Best practices for Rest api design