{ "routes": [ { "method": "GET", "path": "/favorites", "handler": "favorite.find", "config": { "policies": [] } }, { "method": "GET", "path": "/favorites/count", "handler": "favorite.count", "config": { "policies": [] } }, { "method": "GET", "path": "/favorites/:id", "handler": "favorite.findOne", "config": { "policies": [] } }, { "method": "POST", "path": "/favorites", "handler": "favorite.create", "config": { "policies": [] } }, { "method": "PUT", "path": "/favorites/:id", "handler": "favorite.update", "config": { "policies": [] } }, { "method": "DELETE", "path": "/favorites/:id", "handler": "favorite.delete", "config": { "policies": [] } } ] }