Skip to content

Commit cbb45bf

Browse files
committed
Add MSC3069 support
#3069
1 parent 4734f40 commit cbb45bf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

content/client-server-api/modules/guest_access.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ for their own account maintenance:
6464
- [GET /devices](#get_matrixclientv3devices)
6565
- [GET /devices/{deviceId}](#get_matrixclientv3devicesdeviceid)
6666
- [PUT /devices/{deviceId}](#put_matrixclientv3devicesdeviceid)
67+
- {{% added-in v="1.2" %}} [GET /account/whoami](#get_matrixclientv3accountwhoami)
6768

6869
The following API endpoints are allowed to be accessed by guest accounts
6970
for end-to-end encryption:

data/api/client-server/whoami.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ paths:
6565
is associated with the access token (such as in the case
6666
of application services) then this field can be omitted.
6767
Otherwise this is required.
68+
is_guest:
69+
x-addedInMatrixVersion: "1.2"
70+
type: boolean
71+
description: |-
72+
When `true`, the user is a [Guest User](#guest-access). When
73+
not present or `false`, the user is presumed to be a non-guest
74+
user.
6875
401:
6976
description:
7077
The token is not recognised

0 commit comments

Comments
 (0)