Stage 5
This commit is contained in:
@@ -31,6 +31,7 @@ start_http() ->
|
||||
{"/v1/refresh", handler_refresh, []},
|
||||
{"/v1/user/me", handler_user_me, []},
|
||||
{"/v1/user/bookings", handler_user_bookings, []},
|
||||
{"/v1/user/reviews", handler_user_reviews, []},
|
||||
{"/v1/search", handler_search, []},
|
||||
{"/v1/calendars", handler_calendars, []},
|
||||
{"/v1/calendars/:id", handler_calendar_by_id, []},
|
||||
@@ -39,7 +40,10 @@ start_http() ->
|
||||
{"/v1/events/:id/occurrences", handler_event_occurrences, []},
|
||||
{"/v1/events/:id/occurrences/:start_time", handler_event_occurrences, []},
|
||||
{"/v1/events/:id/bookings", handler_bookings, []},
|
||||
{"/v1/bookings/:id", handler_booking_by_id, []}
|
||||
{"/v1/bookings/:id", handler_booking_by_id, []},
|
||||
{"/v1/reviews", handler_reviews, []},
|
||||
{"/v1/reviews/:id", handler_review_by_id, []},
|
||||
{"/v1/admin/reviews/:id", handler_admin_reviews, []}
|
||||
]}
|
||||
]),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user