Stub of a REST API.