diff --git a/api/client-server/v1/sync.yaml b/api/client-server/v1/sync.yaml index 8fe30056..7c1d43f3 100644 --- a/api/client-server/v1/sync.yaml +++ b/api/client-server/v1/sync.yaml @@ -39,6 +39,16 @@ paths: description: The maximum time in milliseconds to wait for an event. required: false x-example: "35000" + - in: query + type: string + name: archived + description: |- + Whether to include rooms that the user has left. If absent then + only rooms that the user has been invited to or has joined are + included. If set to "true" then rooms that the user has left are + included as well. + required: false + x-example: "true" responses: 200: description: "The events received, which may be none."