all repos — caroster @ 35fc135e937a5b85fe35e7f9b03772d2e1f3f04e

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

backend/api/vehicle/config/routes.json (view raw)

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