-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
37 lines (37 loc) · 3.11 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"Menu": {
"getApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/get-menu",
"updateApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/update-menu",
"deleteApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/delete-menu",
"createApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/create-menu"
},
"MenuReservations": {
"getApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/get-menu-reservation",
"updateApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/update-menu-reservation",
"deleteApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/delete-menu-reservation",
"createApiUrl": "https://xp3qns9hlf.execute-api.us-east-2.amazonaws.com/dev/create-menu-reservation"
},
"RestaurantReservations": {
"getListApiUrl": "https://ebgxkia7b6.execute-api.us-east-1.amazonaws.com/dev/restaurant-reservations/list/${userId}",
"getByIdApiUrl": "https://h3r8u603ef.execute-api.us-east-1.amazonaws.com/dev/restaurant-reservations/${reservationId}",
"createApiUrl": "https://wf7hxjb1s1.execute-api.us-east-1.amazonaws.com/dev/restaurant-reservations-book",
"editApiUrl": "https://wf7hxjb1s1.execute-api.us-east-1.amazonaws.com/dev/restaurant-reservations-edit",
"deleteApiUrl": "https://i3kpyc4qwi.execute-api.us-east-1.amazonaws.com/dev/restaurant-reservations-delete/${reservationId}",
"getByRestaurant": "https://rrjxoik7c5.execute-api.us-east-1.amazonaws.com/dev/get-reservations-by-restaurant?restaurant_id=${restaurant_id}&user_id=${user_id}",
"note": "If user_id is null in above api then it will return all reservations of that restaurant regardless of user",
"approveReservation": "https://chdma68oz4.execute-api.us-east-1.amazonaws.com/dev/approve-reservation",
"rejectReservation": "https://chdma68oz4.execute-api.us-east-1.amazonaws.com/dev/reject-reservation",
"holisticView": "https://hpr2ad7deh.execute-api.us-east-1.amazonaws.com/dev/holistic-view?restaurantId={restaurant_id}&view=monthly",
"getFireStoreRestaurant": "https://9rx9l2d2a9.execute-api.us-east-1.amazonaws.com/dev/fetch-restaurant?restaurant_id=${restaurant_id}",
"note1": "Above one retrieves ratings and reviews too. FOR UPDATE API BELOW, send restaurant_id along with other required fields in the request body.",
"updateFireStoreRestaurantPOST": "https://pvtzkffds5.execute-api.us-east-1.amazonaws.com/dev/restaurant-update",
"createReviewPOST": "https://u8c37iy6zk.execute-api.us-east-1.amazonaws.com/dev/create-restaurant-review?restaurant_id=${restaurant_id}"
},
"Restaurants": {
"get-restaurants": "https://jrcigezb1g.execute-api.us-east-1.amazonaws.com/restaurants",
"put-restaurants": "https://jrcigezb1g.execute-api.us-east-1.amazonaws.com/restaurants",
"get-restaurant-id": "https://jrcigezb1g.execute-api.us-east-1.amazonaws.com/restaurants/:restaurant_id",
"delete-restaurants": "https://jrcigezb1g.execute-api.us-east-1.amazonaws.com/restaurants/:restaurant_id",
"edit-restaurants": "https://jrcigezb1g.execute-api.us-east-1.amazonaws.com/restaurants"
}
}