Dell Technologies Interview Question

what is API? What types of API am I aware of? How would you implement REST API for a given scenario?