client-api: Fix wrong HTTP methods on backup delete routes
This commit is contained in:
parent
b8a741cb30
commit
a39bee9949
@ -7,7 +7,7 @@ use ruma_identifiers::RoomId;
|
|||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: "Delete a key from the backup",
|
description: "Delete a key from the backup",
|
||||||
method: GET,
|
method: DELETE,
|
||||||
name: "delete_backup_key_session",
|
name: "delete_backup_key_session",
|
||||||
path: "/_matrix/client/r0/room_keys/keys/:room_id/:session_id",
|
path: "/_matrix/client/r0/room_keys/keys/:room_id/:session_id",
|
||||||
rate_limited: true,
|
rate_limited: true,
|
||||||
|
@ -7,7 +7,7 @@ use ruma_identifiers::RoomId;
|
|||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: "Delete keys from the backup for a given room.",
|
description: "Delete keys from the backup for a given room.",
|
||||||
method: GET,
|
method: DELETE,
|
||||||
name: "delete_backup_key_sessions",
|
name: "delete_backup_key_sessions",
|
||||||
path: "/_matrix/client/r0/room_keys/keys/:room_id",
|
path: "/_matrix/client/r0/room_keys/keys/:room_id",
|
||||||
rate_limited: true,
|
rate_limited: true,
|
||||||
|
@ -6,7 +6,7 @@ use ruma_api::ruma_api;
|
|||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: "Delete all keys in a backup.",
|
description: "Delete all keys in a backup.",
|
||||||
method: PUT,
|
method: DELETE,
|
||||||
name: "delete_backup_keys",
|
name: "delete_backup_keys",
|
||||||
path: "/_matrix/client/r0/room_keys/keys",
|
path: "/_matrix/client/r0/room_keys/keys",
|
||||||
rate_limited: true,
|
rate_limited: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user