|
|
@@ -1,52 +0,0 @@ |
|
|
|
{ |
|
|
|
"routes": [ |
|
|
|
{ |
|
|
|
"method": "GET", |
|
|
|
"path": "/companies", |
|
|
|
"handler": "company.find", |
|
|
|
"config": { |
|
|
|
"policies": [] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"method": "GET", |
|
|
|
"path": "/companies/count", |
|
|
|
"handler": "company.count", |
|
|
|
"config": { |
|
|
|
"policies": [] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"method": "GET", |
|
|
|
"path": "/companies/:id", |
|
|
|
"handler": "company.findOne", |
|
|
|
"config": { |
|
|
|
"policies": [] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"method": "POST", |
|
|
|
"path": "/companies", |
|
|
|
"handler": "company.create", |
|
|
|
"config": { |
|
|
|
"policies": [] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"method": "PUT", |
|
|
|
"path": "/companies/:id", |
|
|
|
"handler": "company.update", |
|
|
|
"config": { |
|
|
|
"policies": [] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"method": "DELETE", |
|
|
|
"path": "/companies/:id", |
|
|
|
"handler": "company.delete", |
|
|
|
"config": { |
|
|
|
"policies": [] |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
} |