Key backup: Fix PR remarks on `PUT /room_keys/version/{version}`

pull/977/head
manuroe 6 years ago committed by Hubert Chathi
parent 2099308d4c
commit d43b595b5e

@ -179,17 +179,16 @@ Error codes:
##### `PUT /room_keys/version/{version}` ##### `PUT /room_keys/version/{version}`
Update information about the given version, or the current version if `{version}` Update information about the given version. Only `auth_data` can be updated.
is omitted. Only `auth_data` can be updated.
Body parameters: 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`. /room_keys/version`.
- `auth_data` (object): Required. algorithm-dependent data. For - `auth_data` (object): Required. algorithm-dependent data. For
`m.megolm_backup.v1.curve25519-aes-sha2`, see below for the definition of `m.megolm_backup.v1.curve25519-aes-sha2`, see below for the definition of
this property. 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: Example:

Loading…
Cancel
Save