all repos — caroster @ d53677262de7ae20c938e8ac87ca6c0712d2a3b7

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

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

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