Smoothstack Interview Question

What is an API? What is a RESTful API?