Use shared api resource controller to return data. Capture name from URL to use correct data resource