mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-08 00:43:42 +01:00
Key backup: Fix PR remarks on PUT /room_keys/version/{version}
This commit is contained in:
parent
2099308d4c
commit
d43b595b5e
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue