Fix schema definitions (spelling, attributes)
This commit is contained in:
parent
89384c96c1
commit
21c4af70a9
4 changed files with 7 additions and 5 deletions
|
@ -24,14 +24,17 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
description: The type of ephemeral message.
|
description: The type of ephemeral message.
|
||||||
example: "m.presence"
|
example: "m.presence"
|
||||||
|
required: true
|
||||||
origin:
|
origin:
|
||||||
type: string
|
type: string
|
||||||
description: The server name sending the ephemeral message.
|
description: The server name sending the ephemeral message.
|
||||||
example: "matrix.org"
|
example: "matrix.org"
|
||||||
|
required: true
|
||||||
destination:
|
destination:
|
||||||
type: string
|
type: string
|
||||||
description: The server name receiving the ephemeral message.
|
description: The server name receiving the ephemeral message.
|
||||||
example: "elsewhere.com"
|
example: "elsewhere.com"
|
||||||
|
required: true
|
||||||
content:
|
content:
|
||||||
type: object
|
type: object
|
||||||
description: The content of the ephemeral message.
|
description: The content of the ephemeral message.
|
||||||
|
|
|
@ -20,7 +20,7 @@ properties:
|
||||||
origin:
|
origin:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
The ``server_name`` of the hoemserver sending this transaction.
|
The ``server_name`` of the homeserver sending this transaction.
|
||||||
example: "example.org"
|
example: "example.org"
|
||||||
origin_server_ts:
|
origin_server_ts:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
@ -37,7 +37,6 @@ properties:
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
description: Event type
|
description: Event type
|
||||||
required: true
|
|
||||||
example: "m.room.message"
|
example: "m.room.message"
|
||||||
state_key:
|
state_key:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -65,7 +65,7 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
Retreives a sliding-window history of previous PDUs that occurred in the given room.
|
Retreives a sliding-window history of previous PDUs that occurred in the given room.
|
||||||
Starting from the PDU ID(s) given in the ``v`` argument, the PDUs that preceded it
|
Starting from the PDU ID(s) given in the ``v`` argument, the PDUs that preceded it
|
||||||
are retrived, up to the total number given by the ``limit``.
|
are retrieved, up to the total number given by the ``limit``.
|
||||||
operationId: backfillRoom
|
operationId: backfillRoom
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
|
@ -84,7 +84,7 @@ paths:
|
||||||
name: limit
|
name: limit
|
||||||
type: integer
|
type: integer
|
||||||
description: The maximum number of events to retrieve.
|
description: The maximum number of events to retrieve.
|
||||||
required: true # TODO: Verify
|
required: true
|
||||||
x-example: 10
|
x-example: 10
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue