GIC interview question

How would you design an API to serve a particular function?