Deduplicate RoomKeysUpdateResponse
(#2073)
And add a link to the endpoint that is mentionned while we're at it. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
3adbfa30da
commit
02a1aeefbc
2 changed files with 27 additions and 96 deletions
1
changelogs/internal/newsfragments/2073.clarification
Normal file
1
changelogs/internal/newsfragments/2073.clarification
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Deduplicate the definition of `RoomKeysUpdateResponse`.
|
|
@ -438,22 +438,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
||||||
title: RoomKeysUpdateResponse
|
|
||||||
properties:
|
|
||||||
etag:
|
|
||||||
description: |-
|
|
||||||
The new etag value representing stored keys in the backup.
|
|
||||||
See `GET /room_keys/version/{version}` for more details.
|
|
||||||
type: string
|
|
||||||
example: abcdefg
|
|
||||||
count:
|
|
||||||
description: The number of keys stored in the backup
|
|
||||||
type: integer
|
|
||||||
example: 10
|
|
||||||
required:
|
|
||||||
- etag
|
|
||||||
- count
|
|
||||||
"403":
|
"403":
|
||||||
description: |-
|
description: |-
|
||||||
The version specified does not match the current backup version.
|
The version specified does not match the current backup version.
|
||||||
|
@ -571,22 +556,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
||||||
title: RoomKeysUpdateResponse
|
|
||||||
properties:
|
|
||||||
etag:
|
|
||||||
description: |-
|
|
||||||
The new etag value representing stored keys in the backup.
|
|
||||||
See `GET /room_keys/version/{version}` for more details.
|
|
||||||
type: string
|
|
||||||
example: abcdefg
|
|
||||||
count:
|
|
||||||
description: The number of keys stored in the backup
|
|
||||||
type: integer
|
|
||||||
example: 10
|
|
||||||
required:
|
|
||||||
- etag
|
|
||||||
- count
|
|
||||||
"404":
|
"404":
|
||||||
description: The backup was not found.
|
description: The backup was not found.
|
||||||
content:
|
content:
|
||||||
|
@ -644,22 +614,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
||||||
title: RoomKeysUpdateResponse
|
|
||||||
properties:
|
|
||||||
etag:
|
|
||||||
description: |-
|
|
||||||
The new etag value representing stored keys in the backup.
|
|
||||||
See `GET /room_keys/version/{version}` for more details.
|
|
||||||
type: string
|
|
||||||
example: abcdefg
|
|
||||||
count:
|
|
||||||
description: The number of keys stored in the backup
|
|
||||||
type: integer
|
|
||||||
example: 10
|
|
||||||
required:
|
|
||||||
- etag
|
|
||||||
- count
|
|
||||||
"403":
|
"403":
|
||||||
description: |-
|
description: |-
|
||||||
The version specified does not match the current backup version.
|
The version specified does not match the current backup version.
|
||||||
|
@ -778,22 +733,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
||||||
title: RoomKeysUpdateResponse
|
|
||||||
properties:
|
|
||||||
etag:
|
|
||||||
description: |-
|
|
||||||
The new etag value representing stored keys in the backup.
|
|
||||||
See `GET /room_keys/version/{version}` for more details.
|
|
||||||
type: string
|
|
||||||
example: abcdefg
|
|
||||||
count:
|
|
||||||
description: The number of keys stored in the backup
|
|
||||||
type: integer
|
|
||||||
example: 10
|
|
||||||
required:
|
|
||||||
- etag
|
|
||||||
- count
|
|
||||||
"404":
|
"404":
|
||||||
description: The backup was not found.
|
description: The backup was not found.
|
||||||
content:
|
content:
|
||||||
|
@ -866,22 +806,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
||||||
title: RoomKeysUpdateResponse
|
|
||||||
properties:
|
|
||||||
etag:
|
|
||||||
description: |-
|
|
||||||
The new etag value representing stored keys in the backup.
|
|
||||||
See `GET /room_keys/version/{version}` for more details.
|
|
||||||
type: string
|
|
||||||
example: abcdefg
|
|
||||||
count:
|
|
||||||
description: The number of keys stored in the backup
|
|
||||||
type: integer
|
|
||||||
example: 10
|
|
||||||
required:
|
|
||||||
- etag
|
|
||||||
- count
|
|
||||||
"403":
|
"403":
|
||||||
description: |-
|
description: |-
|
||||||
The version specified does not match the current backup version.
|
The version specified does not match the current backup version.
|
||||||
|
@ -1007,22 +932,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: "#/components/schemas/RoomKeysUpdateResponse"
|
||||||
title: RoomKeysUpdateResponse
|
|
||||||
properties:
|
|
||||||
etag:
|
|
||||||
description: |-
|
|
||||||
The new etag value representing stored keys in the backup.
|
|
||||||
See `GET /room_keys/version/{version}` for more details.
|
|
||||||
type: string
|
|
||||||
example: abcdefg
|
|
||||||
count:
|
|
||||||
description: The number of keys stored in the backup
|
|
||||||
type: integer
|
|
||||||
example: 10
|
|
||||||
required:
|
|
||||||
- etag
|
|
||||||
- count
|
|
||||||
"404":
|
"404":
|
||||||
description: The backup was not found.
|
description: The backup was not found.
|
||||||
content:
|
content:
|
||||||
|
@ -1056,6 +966,26 @@ servers:
|
||||||
basePath:
|
basePath:
|
||||||
default: /_matrix/client/v3
|
default: /_matrix/client/v3
|
||||||
components:
|
components:
|
||||||
|
schemas:
|
||||||
|
RoomKeysUpdateResponse:
|
||||||
|
type: object
|
||||||
|
title: RoomKeysUpdateResponse
|
||||||
|
properties:
|
||||||
|
etag:
|
||||||
|
description: |-
|
||||||
|
The new etag value representing stored keys in the backup.
|
||||||
|
|
||||||
|
See [`GET /room_keys/version/{version}`](client-server-api/#get_matrixclientv3room_keysversionversion)
|
||||||
|
for more details.
|
||||||
|
type: string
|
||||||
|
example: abcdefg
|
||||||
|
count:
|
||||||
|
description: The number of keys stored in the backup
|
||||||
|
type: integer
|
||||||
|
example: 10
|
||||||
|
required:
|
||||||
|
- etag
|
||||||
|
- count
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
accessTokenQuery:
|
accessTokenQuery:
|
||||||
$ref: definitions/security.yaml#/accessTokenQuery
|
$ref: definitions/security.yaml#/accessTokenQuery
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue