Add description about query params for invited events
This commit is contained in:
parent
e0fb934a7e
commit
b58aa5f2b1
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue