mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-06 11:44:10 +01:00
Apply suggestions from code review
Co-Authored-By: Matthew Hodgson <matthew@arasphere.net>
This commit is contained in:
parent
a62c817745
commit
41072fcaa9
|
|
@ -67,7 +67,7 @@ paths:
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description:
|
description:
|
||||||
The version of the new backup.
|
The version id of the new backup.
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -123,7 +123,7 @@ paths:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
count:
|
count:
|
||||||
description: The number of key stored in the backup.
|
description: The number of keys stored in the backup.
|
||||||
type: integer
|
type: integer
|
||||||
example: 42
|
example: 42
|
||||||
etag:
|
etag:
|
||||||
|
|
|
||||||
|
|
@ -786,6 +786,7 @@ clients can discover the backup by calling ``GET /room_keys/version``. Keys
|
||||||
are encrypted according to the backups ``auth_data`` and added to the backup by
|
are encrypted according to the backups ``auth_data`` and added to the backup by
|
||||||
calling ``PUT /room_keys/keys?version=$v`` or one of its variants, and can be
|
calling ``PUT /room_keys/keys?version=$v`` or one of its variants, and can be
|
||||||
retrieved by calling ``GET /room_keys/keys?version=$v`` or one of its variants.
|
retrieved by calling ``GET /room_keys/keys?version=$v`` or one of its variants.
|
||||||
|
Keys can only be written to the most recently created version of the backup.
|
||||||
Backups can also be deleted using ``DELETE /room_keys/version``, or individual
|
Backups can also be deleted using ``DELETE /room_keys/version``, or individual
|
||||||
keys can be deleted using ``DELETE /room_key/keys?version=$v`` or one of its
|
keys can be deleted using ``DELETE /room_key/keys?version=$v`` or one of its
|
||||||
variants.
|
variants.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue