You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POST /api/v1/bookings/
{"user_id": UUID, "venue_id": CampusID, "description": str, "start_time": Time, "end_time": Time, "date": Date, "created_at": DateTime}: Uploads a booking request
GET /api/v1/bookings/<booking_id>/ -> dict: Gets details of one booking by id
DELETE /api/v1/bookings/<booking_id>/: Deletes an existing booking by id
GET /api/v1/bookings/?user_id=&venue_id=&date= -> list[dict]: List bookings that meet criteria
API routes
POST /api/v1/bookings/
{"user_id": UUID, "venue_id": CampusID, "description": str, "start_time": Time, "end_time": Time, "date": Date, "created_at": DateTime}: Uploads a booking request
GET /api/v1/bookings/<booking_id>/ -> dict: Gets details of one booking by id
DELETE /api/v1/bookings/<booking_id>/: Deletes an existing booking by id
GET /api/v1/bookings/?user_id=&venue_id=&date= -> list[dict]: List bookings that meet criteria
PATCH /api/v1/bookings/<booking_id>/ {"description": str}: Updates booking description.