-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes
14 lines (11 loc) · 927 Bytes
/
routes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#-----------[ Authentication API ]-----------------
POST /api/v1/user @com.reactive.pizza.controllers.AuthenController.aggregate(action: String)
#-----------[ Item API ]---------------------
GET /api/v1/items @com.reactive.pizza.controllers.ItemController.list
GET /api/v1/items/$id<[A-Za-z0-9]+> @com.reactive.pizza.controllers.ItemController.get(id: String)
#-----------[ Cart API ]-------------------
GET /api/v1/cart @com.reactive.pizza.controllers.CartController.get(userId: String)
POST /api/v1/cart @com.reactive.pizza.controllers.CartController.addItem(userId: String)
PUT /api/v1/cart @com.reactive.pizza.controllers.CartController.addItem(userId: String)
#-----------[ Order API ]---------------------
POST /api/v1/orders @com.reactive.pizza.controllers.OrderController.create(userId: String)