client-api: Fix backup::update_backup endpoint
Method was POST instead of PUT Docs were for the create_backup endpoint
This commit is contained in:
parent
7ca97a0f35
commit
04cfc7c12d
@ -1,9 +1,9 @@
|
||||
//! `POST /_matrix/client/*/room_keys/version`
|
||||
//! `PUT /_matrix/client/*/room_keys/version/{version}`
|
||||
|
||||
pub mod v3 {
|
||||
//! `/v3/` ([spec])
|
||||
//!
|
||||
//! [spec]: https://spec.matrix.org/v1.2/client-server-api/#post_matrixclientv3room_keysversion
|
||||
//! [spec]: https://spec.matrix.org/v1.2/client-server-api/#put_matrixclientv3room_keysversionversion
|
||||
|
||||
use ruma_api::ruma_api;
|
||||
use ruma_serde::Raw;
|
||||
@ -13,7 +13,7 @@ pub mod v3 {
|
||||
ruma_api! {
|
||||
metadata: {
|
||||
description: "Update information about an existing backup.",
|
||||
method: POST,
|
||||
method: PUT,
|
||||
name: "update_backup",
|
||||
unstable_path: "/_matrix/client/unstable/room_keys/version/:version",
|
||||
stable_path: "/_matrix/client/v3/room_keys/version/:version",
|
||||
|
Loading…
x
Reference in New Issue
Block a user