Create a new backup.
POST {{baseUrl}}/room_keys/version
Creates a new backup.
Request Body
{"algorithm"=>"m.megolm_backup.v1.curve25519-aes-sha2", "auth_data"=>{"public_key"=>"abcdefg", "signatures"=>{"@alice:example.org"=>{"ed25519:deviceid"=>"signature"}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"version":"1"}