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