rest routes for single resource