From 778164003f8a9da01d9c4474e5ab59bf70bd8af6 Mon Sep 17 00:00:00 2001 From: Devon Hudson Date: Tue, 21 Nov 2023 09:39:18 -0700 Subject: [PATCH] Update kick/ban/unban with basic case --- proposals/4080-cryptographic-identities.md | 31 +++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/proposals/4080-cryptographic-identities.md b/proposals/4080-cryptographic-identities.md index d21caac25..655559f70 100644 --- a/proposals/4080-cryptographic-identities.md +++ b/proposals/4080-cryptographic-identities.md @@ -251,15 +251,40 @@ internally in order to correctly sign future events sent to the room. ##### POST /_matrix/client/v4/rooms/{roomId}/kick -**TODO** +The kick endpoint is extended to return a `pdu` for the client to sign. + +200 OK Response: +``` +{ + pdu: PDU +} +``` + +**TODO: How to handle external users** ##### POST /_matrix/client/v4/rooms/{roomId}/ban -**TODO** +The ban endpoint is extended to return a `pdu` for the client to sign. + +200 OK Response: +``` +{ + pdu: PDU +} +``` + +**TODO: How to handle external users** ##### POST /_matrix/client/v4/rooms/{roomId}/unban -**TODO** +The unban endpoint is extended to return a `pdu` for the client to sign. + +200 OK Response: +``` +{ + pdu: PDU +} +``` ##### PUT /_matrix/client/v4/rooms/{roomId}/redact/{eventId}/{txnId}