This is a simple rest API.