diff --git a/api/client-server/keys.yaml b/api/client-server/keys.yaml index 317a1295..5fb6318e 100644 --- a/api/client-server/keys.yaml +++ b/api/client-server/keys.yaml @@ -336,7 +336,7 @@ paths: schema: type: object properties: - changes: + changed: type: array items: type: string @@ -344,5 +344,14 @@ paths: The Matrix User IDs of all users who updated their device identity keys. example: ["@alice:example.com", "@bob:example.org"] + left: + type: array + items: + type: string + description: |- + The Matrix User IDs of all users who may have left all + the end-to-end encrypted rooms they previously shared + with the user. + example: ["@clara:example.com", "@doug:example.org"] tags: - End-to-end encryption diff --git a/changelogs/client_server.rst b/changelogs/client_server.rst index 0f6d6e91..27f37d57 100644 --- a/changelogs/client_server.rst +++ b/changelogs/client_server.rst @@ -13,6 +13,8 @@ Unreleased changes - Mark ``home_server`` return field for ``/login`` and ``/register`` endpoints as deprecated (`#1097 `_). + - Fix response format of ``/keys/changes`` endpoint + (`#1106 `_) - Changes to the API which will be backwards-compatible for clients: - Add 'token' parameter to /keys/query endpoint