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