ruma_client_api

Module backup

Source
Available on crate features client or server only.
Expand description

Endpoints for server-side key backups.

Modules§

add_backup_keys
PUT /_matrix/client/*/room_keys/keys
add_backup_keys_for_room
PUT /_matrix/client/*/room_keys/keys/{roomId}
add_backup_keys_for_session
PUT /_matrix/client/*/room_keys/keys/{roomId}/{sessionId}
create_backup_version
POST /_matrix/client/*/room_keys/version
delete_backup_keys
DELETE /_matrix/client/*/room_keys/keys
delete_backup_keys_for_room
DELETE /_matrix/client/*/room_keys/keys/{roomId}
delete_backup_keys_for_session
DELETE /_matrix/client/*/room_keys/keys/{roomId}/{sessionId}
delete_backup_version
DELETE /_matrix/client/*/room_keys/version/{version}
get_backup_info
GET /_matrix/client/*/room_keys/version/{version}
get_backup_keys
GET /_matrix/client/*/room_keys/keys
get_backup_keys_for_room
GET /_matrix/client/*/room_keys/keys/{roomId}
get_backup_keys_for_session
GET /_matrix/client/*/room_keys/keys/{roomId}/{sessionId}
get_latest_backup_info
GET /_matrix/client/*/room_keys/version
update_backup_version
PUT /_matrix/client/*/room_keys/version/{version}

Structs§

EncryptedSessionData
The encrypted algorithm-dependent data for backups.
EncryptedSessionDataInit
The encrypted algorithm-dependent data for backups.
KeyBackupData
Information about the backup key.
KeyBackupDataInit
Information about the backup key.
RoomKeyBackup
A wrapper around a mapping of session IDs to key data.

Enums§

BackupAlgorithm
The algorithm used for storing backups.