Clarify that the room ID is the object key in /sync responses

Fixes https://github.com/matrix-org/matrix-doc/issues/2269
pull/977/head
Travis Ralston 5 years ago
parent ae163ab818
commit 3d954f93b5

@ -136,7 +136,8 @@ paths:
title: Joined Rooms title: Joined Rooms
type: object type: object
description: |- description: |-
The rooms that the user has joined. The rooms that the user has joined, mapped as room ID to
room information.
additionalProperties: additionalProperties:
title: Joined Room title: Joined Room
type: object type: object
@ -249,7 +250,8 @@ paths:
title: Invited Rooms title: Invited Rooms
type: object type: object
description: |- description: |-
The rooms that the user has been invited to. The rooms that the user has been invited to, mapped as room ID to
room information.
additionalProperties: additionalProperties:
title: Invited Room title: Invited Room
type: object type: object
@ -280,7 +282,8 @@ paths:
title: Left rooms title: Left rooms
type: object type: object
description: |- description: |-
The rooms that the user has left or been banned from. The rooms that the user has left or been banned from, mapped as room ID to
room information.
additionalProperties: additionalProperties:
title: Left Room title: Left Room
type: object type: object

@ -0,0 +1 @@
Clarify what the keys are for rooms in ``/sync``.
Loading…
Cancel
Save