all repos — caroster @ 550370ebaa750b5433b92c35d407de6f7f363911

[Octree] Group carpool to your event https://caroster.io

api/page/config/routes.json (view raw)

 1{
 2  "routes": [
 3    {
 4      "method": "GET",
 5      "path": "/pages",
 6      "handler": "page.find",
 7      "config": {
 8        "policies": []
 9      }
10    },
11    {
12      "method": "GET",
13      "path": "/pages/count",
14      "handler": "page.count",
15      "config": {
16        "policies": []
17      }
18    },
19    {
20      "method": "GET",
21      "path": "/pages/:id",
22      "handler": "page.findOne",
23      "config": {
24        "policies": []
25      }
26    },
27    {
28      "method": "POST",
29      "path": "/pages",
30      "handler": "page.create",
31      "config": {
32        "policies": []
33      }
34    },
35    {
36      "method": "PUT",
37      "path": "/pages/:id",
38      "handler": "page.update",
39      "config": {
40        "policies": []
41      }
42    },
43    {
44      "method": "DELETE",
45      "path": "/pages/:id",
46      "handler": "page.delete",
47      "config": {
48        "policies": []
49      }
50    }
51  ]
52}