Created the v1 api controller to respond to resources search