From d43b595b5e4ec966508b09af010c3273336f10cf Mon Sep 17 00:00:00 2001 From: manuroe Date: Thu, 7 Feb 2019 10:36:34 +0100 Subject: [PATCH] Key backup: Fix PR remarks on `PUT /room_keys/version/{version}` --- proposals/1219-storing-megolm-keys-serverside.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/proposals/1219-storing-megolm-keys-serverside.md b/proposals/1219-storing-megolm-keys-serverside.md index ae361d3a7..f4f458275 100644 --- a/proposals/1219-storing-megolm-keys-serverside.md +++ b/proposals/1219-storing-megolm-keys-serverside.md @@ -179,17 +179,16 @@ Error codes: ##### `PUT /room_keys/version/{version}` -Update information about the given version, or the current version if `{version}` -is omitted. Only `auth_data` can be updated. +Update information about the given version. Only `auth_data` can be updated. Body parameters: -- `algorithm` (string): Optional. Must be the same as in the body parameters for `GET +- `algorithm` (string): Required. Must be the same as in the body parameters for `GET /room_keys/version`. - `auth_data` (object): Required. algorithm-dependent data. For `m.megolm_backup.v1.curve25519-aes-sha2`, see below for the definition of this property. -- `version` (string): Optional. The backup version. Must be the same as the query parameter or must be the current version. +- `version` (string): Required. The backup version. Must be the same as the query parameter or must be the current version. Example: