Mock Implementation of REST Endpoints