From b58aa5f2b1e5ebc44acc7496118b5964dc966f24 Mon Sep 17 00:00:00 2001 From: Peter Vacho Date: Sun, 29 Dec 2024 21:45:50 +0100 Subject: [PATCH] Add description about query params for invited events --- src/api/events.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/api/events.py b/src/api/events.py index 9115c79..0815b68 100644 --- a/src/api/events.py +++ b/src/api/events.py @@ -215,6 +215,11 @@ async def get_user_invited_events( These are the events that the user has already accepted the invite for. Events pending acceptance are not included. + + Optionally, it's possible to use query params to filter the events + based on the date of the event. The dates are specified in ISO 8601 format. + + E.g.: /users/{user_id}/events/invited?start_date_from=2025-01-01&start_date_to=2025-01-10 """ if user_id != user.id: raise HTTPException(