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