|
|
@ -23,7 +23,8 @@ paths:
|
|
|
|
description: Creates a new backup.
|
|
|
|
description: Creates a new backup.
|
|
|
|
operationId: postRoomKeysVersion
|
|
|
|
operationId: postRoomKeysVersion
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
requestBody:
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
application/json:
|
|
|
@ -80,7 +81,8 @@ paths:
|
|
|
|
description: Get information about the latest backup version.
|
|
|
|
description: Get information about the latest backup version.
|
|
|
|
operationId: getRoomKeysVersionCurrent
|
|
|
|
operationId: getRoomKeysVersionCurrent
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
"200":
|
|
|
|
"200":
|
|
|
|
description: The information about the backup.
|
|
|
|
description: The information about the backup.
|
|
|
@ -155,7 +157,8 @@ paths:
|
|
|
|
description: Get information about an existing backup.
|
|
|
|
description: Get information about an existing backup.
|
|
|
|
operationId: getRoomKeysVersion
|
|
|
|
operationId: getRoomKeysVersion
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
- in: path
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -242,7 +245,8 @@ paths:
|
|
|
|
be modified.
|
|
|
|
be modified.
|
|
|
|
operationId: putRoomKeysVersion
|
|
|
|
operationId: putRoomKeysVersion
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
- in: path
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -344,7 +348,8 @@ paths:
|
|
|
|
as well as all key data related to the backup will be deleted.
|
|
|
|
as well as all key data related to the backup will be deleted.
|
|
|
|
operationId: deleteRoomKeysVersion
|
|
|
|
operationId: deleteRoomKeysVersion
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
- in: path
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -396,7 +401,8 @@ paths:
|
|
|
|
description: Store a key in the backup.
|
|
|
|
description: Store a key in the backup.
|
|
|
|
operationId: putRoomKeyBySessionId
|
|
|
|
operationId: putRoomKeyBySessionId
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -478,7 +484,8 @@ paths:
|
|
|
|
description: Retrieve a key from the backup.
|
|
|
|
description: Retrieve a key from the backup.
|
|
|
|
operationId: getRoomKeyBySessionId
|
|
|
|
operationId: getRoomKeyBySessionId
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -534,7 +541,8 @@ paths:
|
|
|
|
description: Delete a key from the backup.
|
|
|
|
description: Delete a key from the backup.
|
|
|
|
operationId: deleteRoomKeyBySessionId
|
|
|
|
operationId: deleteRoomKeyBySessionId
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -606,7 +614,8 @@ paths:
|
|
|
|
description: Store several keys in the backup for a given room.
|
|
|
|
description: Store several keys in the backup for a given room.
|
|
|
|
operationId: putRoomKeysByRoomId
|
|
|
|
operationId: putRoomKeysByRoomId
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -693,7 +702,8 @@ paths:
|
|
|
|
description: Retrieve the keys from the backup for a given room.
|
|
|
|
description: Retrieve the keys from the backup for a given room.
|
|
|
|
operationId: getRoomKeysByRoomId
|
|
|
|
operationId: getRoomKeysByRoomId
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -745,7 +755,8 @@ paths:
|
|
|
|
description: Delete the keys from the backup for a given room.
|
|
|
|
description: Delete the keys from the backup for a given room.
|
|
|
|
operationId: deleteRoomKeysByRoomId
|
|
|
|
operationId: deleteRoomKeysByRoomId
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -810,7 +821,8 @@ paths:
|
|
|
|
description: Store several keys in the backup.
|
|
|
|
description: Store several keys in the backup.
|
|
|
|
operationId: putRoomKeys
|
|
|
|
operationId: putRoomKeys
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -910,7 +922,8 @@ paths:
|
|
|
|
description: Retrieve the keys from the backup.
|
|
|
|
description: Retrieve the keys from the backup.
|
|
|
|
operationId: getRoomKeys
|
|
|
|
operationId: getRoomKeys
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -974,7 +987,8 @@ paths:
|
|
|
|
description: Delete the keys from the backup.
|
|
|
|
description: Delete the keys from the backup.
|
|
|
|
operationId: deleteRoomKeys
|
|
|
|
operationId: deleteRoomKeys
|
|
|
|
security:
|
|
|
|
security:
|
|
|
|
- accessToken: []
|
|
|
|
- accessTokenQuery: []
|
|
|
|
|
|
|
|
- accessTokenBearer: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: version
|
|
|
|
name: version
|
|
|
@ -1039,4 +1053,7 @@ servers:
|
|
|
|
default: /_matrix/client/v3
|
|
|
|
default: /_matrix/client/v3
|
|
|
|
components:
|
|
|
|
components:
|
|
|
|
securitySchemes:
|
|
|
|
securitySchemes:
|
|
|
|
$ref: definitions/security.yaml
|
|
|
|
accessTokenQuery:
|
|
|
|
|
|
|
|
$ref: definitions/security.yaml#/accessTokenQuery
|
|
|
|
|
|
|
|
accessTokenBearer:
|
|
|
|
|
|
|
|
$ref: definitions/security.yaml#/accessTokenBearer
|
|
|
|