client-api: Fix wrong HTTP methods on backup delete routes

This commit is contained in:
Jonas Platte 2022-01-22 14:36:41 +01:00
parent b8a741cb30
commit a39bee9949
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ use ruma_identifiers::RoomId;
ruma_api! {
metadata: {
description: "Delete a key from the backup",
method: GET,
method: DELETE,
name: "delete_backup_key_session",
path: "/_matrix/client/r0/room_keys/keys/:room_id/:session_id",
rate_limited: true,

View File

@ -7,7 +7,7 @@ use ruma_identifiers::RoomId;
ruma_api! {
metadata: {
description: "Delete keys from the backup for a given room.",
method: GET,
method: DELETE,
name: "delete_backup_key_sessions",
path: "/_matrix/client/r0/room_keys/keys/:room_id",
rate_limited: true,

View File

@ -6,7 +6,7 @@ use ruma_api::ruma_api;
ruma_api! {
metadata: {
description: "Delete all keys in a backup.",
method: PUT,
method: DELETE,
name: "delete_backup_keys",
path: "/_matrix/client/r0/room_keys/keys",
rate_limited: true,