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