Skip to content

Commit 5132f1e

Browse files
authored
Merge pull request #3327 from lukaslihotzki/unique-ids
OpenAPI: fix key_backup
2 parents 0382eac + fa6e611 commit 5132f1e

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix key_backup operation IDs in OpenAPI spec.

data/api/client-server/key_backup.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ paths:
375375
summary: Store a key in the backup.
376376
description: |-
377377
Store a key in the backup.
378-
operationId: postRoomKeysKeyRoomIdSessionId
378+
operationId: putRoomKeysBySessionId
379379
security:
380380
- accessToken: []
381381
parameters:
@@ -443,10 +443,10 @@ paths:
443443
tags:
444444
- End-to-end encryption
445445
get:
446-
summary: Retrieve a key from the backup
446+
summary: Retrieve a key from the backup.
447447
description: |-
448448
Retrieve a key from the backup.
449-
operationId: getRoomKeysKeyRoomIdSessionId
449+
operationId: getRoomKeysBySessionId
450450
security:
451451
- accessToken: []
452452
parameters:
@@ -488,10 +488,10 @@ paths:
488488
schema:
489489
"$ref": "definitions/errors/rate_limited.yaml"
490490
delete:
491-
summary: Delete a key from the backup
491+
summary: Delete a key from the backup.
492492
description: |-
493493
Delete a key from the backup.
494-
operationId: deleteRoomKeysKeyRoomIdSessionId
494+
operationId: deleteRoomKeysBySessionId
495495
security:
496496
- accessToken: []
497497
parameters:
@@ -551,8 +551,8 @@ paths:
551551
put:
552552
summary: Store several keys in the backup for a given room.
553553
description: |-
554-
Store a key in the backup.
555-
operationId: postRoomKeysKeyRoomId
554+
Store several keys in the backup for a given room.
555+
operationId: putRoomKeysByRoomId
556556
security:
557557
- accessToken: []
558558
parameters:
@@ -624,10 +624,10 @@ paths:
624624
tags:
625625
- End-to-end encryption
626626
get:
627-
summary: Retrieve the keys from the backup for a given room
627+
summary: Retrieve the keys from the backup for a given room.
628628
description: |-
629-
Retrieve the keys from the backup for a given room
630-
operationId: getRoomKeysKeyRoomId
629+
Retrieve the keys from the backup for a given room.
630+
operationId: getRoomKeysByRoomId
631631
security:
632632
- accessToken: []
633633
parameters:
@@ -667,10 +667,10 @@ paths:
667667
schema:
668668
"$ref": "definitions/errors/rate_limited.yaml"
669669
delete:
670-
summary: Delete a key from the backup
670+
summary: Delete the keys from the backup for a given room.
671671
description: |-
672-
Delete a key from the backup.
673-
operationId: deleteRoomKeysKeyRoomId
672+
Delete the keys from the backup for a given room.
673+
operationId: deleteRoomKeysByRoomId
674674
security:
675675
- accessToken: []
676676
parameters:
@@ -725,7 +725,7 @@ paths:
725725
summary: Store several keys in the backup.
726726
description: |-
727727
Store several keys in the backup.
728-
operationId: postRoomKeysKey
728+
operationId: putRoomKeys
729729
security:
730730
- accessToken: []
731731
parameters:
@@ -817,10 +817,10 @@ paths:
817817
tags:
818818
- End-to-end encryption
819819
get:
820-
summary: Retrieve the keys from the backup for a given room
820+
summary: Retrieve the keys from the backup.
821821
description: |-
822-
Retrieve the keys from the backup for a given room
823-
operationId: getRoomKeysKeyRoomId
822+
Retrieve the keys from the backup.
823+
operationId: getRoomKeys
824824
security:
825825
- accessToken: []
826826
parameters:
@@ -876,10 +876,10 @@ paths:
876876
schema:
877877
"$ref": "definitions/errors/rate_limited.yaml"
878878
delete:
879-
summary: Delete a key from the backup
879+
summary: Delete the keys from the backup.
880880
description: |-
881-
Delete a key from the backup.
882-
operationId: deleteRoomKeysKeyRoomId
881+
Delete the keys from the backup.
882+
operationId: deleteRoomKeys
883883
security:
884884
- accessToken: []
885885
parameters:

0 commit comments

Comments
 (0)