Smoothstack interview question

What is an API? What is a RESTful API?