backend/api/event/config/routes.json (view raw)
1{
2 "routes": [
3 {
4 "method": "GET",
5 "path": "/events/:uuid",
6 "handler": "event.findOne",
7 "config": {
8 "policies": ["plugins::users-permissions.ratelimit"]
9 }
10 },
11 {
12 "method": "POST",
13 "path": "/events",
14 "handler": "event.create",
15 "config": {
16 "policies": ["plugins::users-permissions.ratelimit"]
17 }
18 },
19 {
20 "method": "PUT",
21 "path": "/events/:uuid",
22 "handler": "event.update",
23 "config": {
24 "policies": ["plugins::users-permissions.ratelimit"]
25 }
26 }
27 ]
28}