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