Add description about query params for invited events

This commit is contained in:
Peter Vacho 2024-12-29 21:45:50 +01:00
parent e0fb934a7e
commit b58aa5f2b1
Signed by: school
GPG key ID: 8CFC3837052871B4

View file

@ -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(