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