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