mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-01 22:54:10 +02:00
Compare commits
1 commit
7041cd0cf1
...
e8244ac491
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8244ac491 |
|
|
@ -1 +0,0 @@
|
||||||
Clarify formats of string types.
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Clarify formats of string types.
|
|
||||||
|
|
@ -3120,20 +3120,19 @@ events they have already been sent, and choose to skip sending membership
|
||||||
events for members whose membership has not changed. These are called
|
events for members whose membership has not changed. These are called
|
||||||
'redundant membership events'. Clients may request that redundant membership
|
'redundant membership events'. Clients may request that redundant membership
|
||||||
events are always included in responses by setting `include_redundant_members`
|
events are always included in responses by setting `include_redundant_members`
|
||||||
to `true` in the filter.
|
to true in the filter.
|
||||||
|
|
||||||
The expected pattern for using lazy-loading is currently:
|
The expected pattern for using lazy-loading is currently:
|
||||||
|
|
||||||
- Client performs an initial `/sync` with lazy-loading enabled, and
|
- Client performs an initial /sync with lazy-loading enabled, and
|
||||||
receives only the membership events which relate to the senders of
|
receives only the membership events which relate to the senders of
|
||||||
the events it receives.
|
the events it receives.
|
||||||
- Clients which support display-name tab-completion or other
|
- Clients which support display-name tab-completion or other
|
||||||
operations which require rapid access to all members in a room
|
operations which require rapid access to all members in a room
|
||||||
should call [`/members`](#get_matrixclientv3roomsroomidmembers) for
|
should call /members for the currently selected room, with an `?at`
|
||||||
the currently selected room, with an `?at` parameter set to the
|
parameter set to the /sync response's from token. The member list
|
||||||
`/sync` response's `from` token. The member list for the room is
|
for the room is then maintained by the state in subsequent
|
||||||
then maintained by the state in subsequent incremental `/sync`
|
incremental /sync responses.
|
||||||
responses.
|
|
||||||
- Clients which do not support tab-completion may instead pull in
|
- Clients which do not support tab-completion may instead pull in
|
||||||
profiles for arbitrary users (e.g. read receipts, typing
|
profiles for arbitrary users (e.g. read receipts, typing
|
||||||
notifications) on demand by querying the room state or [`/profile`](#get_matrixclientv3profileuserid).
|
notifications) on demand by querying the room state or [`/profile`](#get_matrixclientv3profileuserid).
|
||||||
|
|
@ -3348,8 +3347,8 @@ room at the start of the returned timeline. The response also includes a
|
||||||
`next_batch` field, which should be used as the value of the `since`
|
`next_batch` field, which should be used as the value of the `since`
|
||||||
parameter in the next call to `/sync`. Finally, the response includes,
|
parameter in the next call to `/sync`. Finally, the response includes,
|
||||||
for each room, a `prev_batch` field, which can be passed as a `from`/`to`
|
for each room, a `prev_batch` field, which can be passed as a `from`/`to`
|
||||||
parameter to the [`/rooms/{roomId}/messages`](#get_matrixclientv3roomsroomidmessages)
|
parameter to the [`/rooms/<room_id>/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages) API to retrieve earlier
|
||||||
API to retrieve earlier messages.
|
messages.
|
||||||
|
|
||||||
For example, a `/sync` request might return a range of four events
|
For example, a `/sync` request might return a range of four events
|
||||||
`E2`, `E3`, `E4` and `E5` within a given room, omitting two prior events
|
`E2`, `E3`, `E4` and `E5` within a given room, omitting two prior events
|
||||||
|
|
@ -3368,8 +3367,7 @@ response to the previous call as the `since` parameter. The client
|
||||||
should also pass a `timeout` parameter. The server will then hold open
|
should also pass a `timeout` parameter. The server will then hold open
|
||||||
the HTTP connection for a short period of time waiting for new events,
|
the HTTP connection for a short period of time waiting for new events,
|
||||||
returning early if an event occurs. Only the `/sync` API (and the
|
returning early if an event occurs. Only the `/sync` API (and the
|
||||||
deprecated [`/events`](#get_matrixclientv3events) API) support
|
deprecated `/events` API) support long-polling in this way.
|
||||||
long-polling in this way.
|
|
||||||
|
|
||||||
Continuing the example above, an incremental sync might report
|
Continuing the example above, an incremental sync might report
|
||||||
a single new event `E6`. The response can be visualised as:
|
a single new event `E6`. The response can be visualised as:
|
||||||
|
|
@ -3389,7 +3387,7 @@ containing only the most recent message events. A state "delta" is also
|
||||||
returned, summarising any state changes in the omitted part of the
|
returned, summarising any state changes in the omitted part of the
|
||||||
timeline. The client may therefore end up with "gaps" in its knowledge
|
timeline. The client may therefore end up with "gaps" in its knowledge
|
||||||
of the message timeline. The client can fill these gaps using the
|
of the message timeline. The client can fill these gaps using the
|
||||||
[`/rooms/{roomId}/messages`](#get_matrixclientv3roomsroomidmessages) API.
|
[`/rooms/<room_id>/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages) API.
|
||||||
|
|
||||||
Continuing our example, suppose we make a third `/sync` request asking for
|
Continuing our example, suppose we make a third `/sync` request asking for
|
||||||
events since the last sync, by passing the `next_batch` token `x-y-z` as
|
events since the last sync, by passing the `next_batch` token `x-y-z` as
|
||||||
|
|
@ -3412,7 +3410,7 @@ The limited response includes a state delta which describes how the state
|
||||||
of the room changes over the gap. This delta explains how to build the state
|
of the room changes over the gap. This delta explains how to build the state
|
||||||
prior to returned timeline (i.e. at `E7`) from the state the client knows
|
prior to returned timeline (i.e. at `E7`) from the state the client knows
|
||||||
(i.e. at `E6`). To close the gap, the client should make a request to
|
(i.e. at `E6`). To close the gap, the client should make a request to
|
||||||
[`/rooms/{roomId}/messages`](#get_matrixclientv3roomsroomidmessages)
|
[`/rooms/<room_id>/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages)
|
||||||
with the query parameters `from=x-y-z` and `to=d-e-f`.
|
with the query parameters `from=x-y-z` and `to=d-e-f`.
|
||||||
|
|
||||||
{{% boxes/warning %}}
|
{{% boxes/warning %}}
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,8 @@ allOf:
|
||||||
room_id:
|
room_id:
|
||||||
description: The ID of the room associated with this event.
|
description: The ID of the room associated with this event.
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
example: '!jEsUZKDJdhlrceRyVU:example.org'
|
example: '!jEsUZKDJdhlrceRyVU:example.org'
|
||||||
|
|
||||||
unsigned:
|
unsigned:
|
||||||
properties:
|
properties:
|
||||||
redacted_because:
|
redacted_because:
|
||||||
|
|
@ -44,6 +43,6 @@ allOf:
|
||||||
"unsigned": {
|
"unsigned": {
|
||||||
"age": 1257,
|
"age": 1257,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
required:
|
required:
|
||||||
- room_id
|
- room_id
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@ properties:
|
||||||
event_id:
|
event_id:
|
||||||
description: The globally unique identifier for this event.
|
description: The globally unique identifier for this event.
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
example: '$26RqwJMLw-yds1GAH_QxjHRC1Da9oasK0e5VLnck_45'
|
example: '$26RqwJMLw-yds1GAH_QxjHRC1Da9oasK0e5VLnck_45'
|
||||||
type:
|
type:
|
||||||
description: The type of the event.
|
description: The type of the event.
|
||||||
|
|
@ -49,8 +47,6 @@ properties:
|
||||||
sender:
|
sender:
|
||||||
description: Contains the fully-qualified ID of the user who sent this event.
|
description: Contains the fully-qualified ID of the user who sent this event.
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
example: "@example:example.org"
|
example: "@example:example.org"
|
||||||
origin_server_ts:
|
origin_server_ts:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,6 @@ properties:
|
||||||
`senders` filter.
|
`senders` filter.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
type: array
|
type: array
|
||||||
not_types:
|
not_types:
|
||||||
description: A list of event types to exclude. If this list is absent then no
|
description: A list of event types to exclude. If this list is absent then no
|
||||||
|
|
@ -42,8 +40,6 @@ properties:
|
||||||
senders are included.
|
senders are included.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
type: array
|
type: array
|
||||||
types:
|
types:
|
||||||
description: A list of event types to include. If this list is absent then all
|
description: A list of event types to include. If this list is absent then all
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,5 @@ properties:
|
||||||
such.
|
such.
|
||||||
event_id:
|
event_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
description: The event ID of the event that this event relates to.
|
description: The event ID of the event that this event relates to.
|
||||||
required: ['rel_type', 'event_id']
|
required: ['rel_type', 'event_id']
|
||||||
|
|
|
||||||
|
|
@ -43,16 +43,12 @@ allOf:
|
||||||
filter.
|
filter.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
type: array
|
type: array
|
||||||
rooms:
|
rooms:
|
||||||
description: A list of room IDs to include. If this list is absent then all rooms
|
description: A list of room IDs to include. If this list is absent then all rooms
|
||||||
are included.
|
are included.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
type: array
|
type: array
|
||||||
contains_url:
|
contains_url:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,6 @@ properties:
|
||||||
`state`, `timeline` or `account_data`
|
`state`, `timeline` or `account_data`
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
type: array
|
type: array
|
||||||
rooms:
|
rooms:
|
||||||
description: A list of room IDs to include. If this list is absent then all rooms
|
description: A list of room IDs to include. If this list is absent then all rooms
|
||||||
|
|
@ -59,8 +57,6 @@ properties:
|
||||||
`state`, `timeline` or `account_data`
|
`state`, `timeline` or `account_data`
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
type: array
|
type: array
|
||||||
ephemeral:
|
ephemeral:
|
||||||
allOf:
|
allOf:
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,6 @@ paths:
|
||||||
example: "@alice:example.com"
|
example: "@alice:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -132,8 +130,6 @@ paths:
|
||||||
example: "@alice:example.com"
|
example: "@alice:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
- in: path
|
- in: path
|
||||||
name: filterId
|
name: filterId
|
||||||
description: The filter ID to download.
|
description: The filter ID to download.
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: query
|
- in: query
|
||||||
name: from
|
name: from
|
||||||
x-changedInMatrixVersion:
|
x-changedInMatrixVersion:
|
||||||
|
|
|
||||||
|
|
@ -148,8 +148,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
room_id:
|
room_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
description: The ID of this room.
|
description: The ID of this room.
|
||||||
membership:
|
membership:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -339,8 +337,6 @@ paths:
|
||||||
example: $asfDuShaf7Gafaw:matrix.org
|
example: $asfDuShaf7Gafaw:matrix.org
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: The full event.
|
description: The full event.
|
||||||
|
|
|
||||||
|
|
@ -43,17 +43,13 @@ paths:
|
||||||
example: "!637q39766251:example.com"
|
example: "!637q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: path
|
- in: path
|
||||||
name: eventId
|
name: eventId
|
||||||
description: The ID of the event to redact.
|
description: The ID of the event to redact
|
||||||
required: true
|
required: true
|
||||||
example: $bai2b1i9:matrix.org
|
example: bai2b1i9:matrix.org
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
- in: path
|
- in: path
|
||||||
name: txnId
|
name: txnId
|
||||||
description: |-
|
description: |-
|
||||||
|
|
@ -86,8 +82,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
event_id:
|
event_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
description: A unique identifier for the event.
|
description: A unique identifier for the event.
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
|
|
|
||||||
|
|
@ -233,8 +233,6 @@ components:
|
||||||
example: "!636q39766251:matrix.org"
|
example: "!636q39766251:matrix.org"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
eventId:
|
eventId:
|
||||||
in: path
|
in: path
|
||||||
name: eventId
|
name: eventId
|
||||||
|
|
@ -243,8 +241,6 @@ components:
|
||||||
example: $asfDuShaf7Gafaw
|
example: $asfDuShaf7Gafaw
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
from:
|
from:
|
||||||
in: query
|
in: query
|
||||||
name: from
|
name: from
|
||||||
|
|
|
||||||
|
|
@ -56,8 +56,6 @@ paths:
|
||||||
example: "!636q39766251:matrix.org"
|
example: "!636q39766251:matrix.org"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: query
|
- in: query
|
||||||
name: ts
|
name: ts
|
||||||
description: |-
|
description: |-
|
||||||
|
|
@ -88,8 +86,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
event_id:
|
event_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
description: The ID of the event found
|
description: The ID of the event found
|
||||||
origin_server_ts:
|
origin_server_ts:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: The current state of the room
|
description: The current state of the room
|
||||||
|
|
@ -40,8 +38,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
room_id:
|
room_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
description: The ID of this room.
|
description: The ID of this room.
|
||||||
membership:
|
membership:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: path
|
- in: path
|
||||||
name: eventType
|
name: eventType
|
||||||
description: The type of event to send.
|
description: The type of event to send.
|
||||||
|
|
@ -88,8 +86,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
event_id:
|
event_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
description: A unique identifier for the event.
|
description: A unique identifier for the event.
|
||||||
required:
|
required:
|
||||||
- event_id
|
- event_id
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: path
|
- in: path
|
||||||
name: eventType
|
name: eventType
|
||||||
description: The type of event to send.
|
description: The type of event to send.
|
||||||
|
|
@ -88,8 +86,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
event_id:
|
event_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
description: A unique identifier for the event.
|
description: A unique identifier for the event.
|
||||||
required:
|
required:
|
||||||
- event_id
|
- event_id
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,6 @@ paths:
|
||||||
example: "!636q39766251:matrix.org"
|
example: "!636q39766251:matrix.org"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: path
|
- in: path
|
||||||
name: eventId
|
name: eventId
|
||||||
description: The event ID to get.
|
description: The event ID to get.
|
||||||
|
|
@ -43,8 +41,6 @@ paths:
|
||||||
example: $asfDuShaf7Gafaw:matrix.org
|
example: $asfDuShaf7Gafaw:matrix.org
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: The full event.
|
description: The full event.
|
||||||
|
|
@ -93,8 +89,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: path
|
- in: path
|
||||||
name: eventType
|
name: eventType
|
||||||
description: The type of state to look up.
|
description: The type of state to look up.
|
||||||
|
|
@ -164,8 +158,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: The current state of the room
|
description: The current state of the room
|
||||||
|
|
@ -219,8 +211,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
- in: query
|
- in: query
|
||||||
name: at
|
name: at
|
||||||
description: |-
|
description: |-
|
||||||
|
|
@ -315,8 +305,6 @@ paths:
|
||||||
example: "!636q39766251:example.com"
|
example: "!636q39766251:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
security:
|
security:
|
||||||
- accessTokenQuery: []
|
- accessTokenQuery: []
|
||||||
- accessTokenBearer: []
|
- accessTokenBearer: []
|
||||||
|
|
|
||||||
|
|
@ -209,8 +209,6 @@ paths:
|
||||||
field may be omitted.
|
field may be omitted.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
m.joined_member_count:
|
m.joined_member_count:
|
||||||
type: integer
|
type: integer
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -20,13 +20,10 @@ properties:
|
||||||
The signatures are calculated using the process described at
|
The signatures are calculated using the process described at
|
||||||
[Signing JSON](/appendices/#signing-json).
|
[Signing JSON](/appendices/#signing-json).
|
||||||
type: object
|
type: object
|
||||||
patternProperties:
|
additionalProperties:
|
||||||
"":
|
type: object
|
||||||
x-pattern-format: mx-server-name
|
additionalProperties:
|
||||||
type: object
|
type: string
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
format: mx-unpadded-base64
|
|
||||||
example: {
|
example: {
|
||||||
"magic.forest": {
|
"magic.forest": {
|
||||||
"ed25519:3": "fQpGIW1Snz+pwLZu6sTy2aHy/DYWWTspTJRPyNp0PKkymfIsNffysMl6ObMMFdIJhk6g6pwlIqZ54rxo8SLmAg"
|
"ed25519:3": "fQpGIW1Snz+pwLZu6sTy2aHy/DYWWTspTJRPyNp0PKkymfIsNffysMl6ObMMFdIJhk6g6pwlIqZ54rxo8SLmAg"
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,5 @@ allOf:
|
||||||
The ID of the room associated with this event. Will not be present on events
|
The ID of the room associated with this event. Will not be present on events
|
||||||
that arrive through `/sync`, despite being required everywhere else.
|
that arrive through `/sync`, despite being required everywhere else.
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
required:
|
required:
|
||||||
- room_id
|
- room_id
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,6 @@ properties:
|
||||||
sender:
|
sender:
|
||||||
description: The `sender` for the event.
|
description: The `sender` for the event.
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
- state_key
|
- state_key
|
||||||
|
|
|
||||||
|
|
@ -29,13 +29,9 @@ allOf:
|
||||||
event_id:
|
event_id:
|
||||||
description: The globally unique event identifier.
|
description: The globally unique event identifier.
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
sender:
|
sender:
|
||||||
description: Contains the fully-qualified ID of the user who sent this event.
|
description: Contains the fully-qualified ID of the user who sent this event.
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
origin_server_ts:
|
origin_server_ts:
|
||||||
description: Timestamp in milliseconds on originating homeserver
|
description: Timestamp in milliseconds on originating homeserver
|
||||||
when this event was sent.
|
when this event was sent.
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,6 @@ properties:
|
||||||
The canonical alias for the room. If not present, null, or empty the
|
The canonical alias for the room. If not present, null, or empty the
|
||||||
room should be considered to have no canonical alias.
|
room should be considered to have no canonical alias.
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-alias
|
|
||||||
pattern: "^#"
|
|
||||||
alt_aliases:
|
alt_aliases:
|
||||||
description: |
|
description: |
|
||||||
Alternative aliases the room advertises. This list can have aliases
|
Alternative aliases the room advertises. This list can have aliases
|
||||||
|
|
@ -25,8 +23,6 @@ properties:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-alias
|
|
||||||
pattern: "^#"
|
|
||||||
type: object
|
type: object
|
||||||
state_key:
|
state_key:
|
||||||
description: A zero-length string.
|
description: A zero-length string.
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@ properties:
|
||||||
The `user_id` of the room creator. **Required** for, and only present in, room versions 1 - 10. Starting with
|
The `user_id` of the room creator. **Required** for, and only present in, room versions 1 - 10. Starting with
|
||||||
room version 11 the event `sender` should be used instead.
|
room version 11 the event `sender` should be used instead.
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
m.federate:
|
m.federate:
|
||||||
description: Whether users on other servers can join this room. Defaults to `true` if key does not exist.
|
description: Whether users on other servers can join this room. Defaults to `true` if key does not exist.
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -34,13 +32,9 @@ properties:
|
||||||
properties:
|
properties:
|
||||||
room_id:
|
room_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
description: The ID of the old room.
|
description: The ID of the old room.
|
||||||
event_id:
|
event_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
deprecated: true
|
deprecated: true
|
||||||
x-changedInMatrixVersion:
|
x-changedInMatrixVersion:
|
||||||
"1.16": |-
|
"1.16": |-
|
||||||
|
|
@ -57,8 +51,6 @@ properties:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
description: Additional user ID to consider a creator of the room, if supported by the room version.
|
description: Additional user ID to consider a creator of the room, if supported by the room version.
|
||||||
x-addedInMatrixVersion: "1.16"
|
x-addedInMatrixVersion: "1.16"
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,6 @@ properties:
|
||||||
enum: ['m.room_membership']
|
enum: ['m.room_membership']
|
||||||
room_id:
|
room_id:
|
||||||
type: string
|
type: string
|
||||||
format: mx-room-id
|
|
||||||
pattern: "^!"
|
|
||||||
description: |-
|
description: |-
|
||||||
Required if `type` is `m.room_membership`. The room ID to check the
|
Required if `type` is `m.room_membership`. The room ID to check the
|
||||||
user's membership against. If the user is joined to this room, they
|
user's membership against. If the user is joined to this room, they
|
||||||
|
|
|
||||||
|
|
@ -76,8 +76,6 @@ properties:
|
||||||
join_authorised_via_users_server:
|
join_authorised_via_users_server:
|
||||||
x-addedInMatrixVersion: "1.2"
|
x-addedInMatrixVersion: "1.2"
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
description: |-
|
description: |-
|
||||||
Usually found on `join` events, this field is used to denote which homeserver (through
|
Usually found on `join` events, this field is used to denote which homeserver (through
|
||||||
representation of a user with sufficient power level) authorised the user's join. More
|
representation of a user with sufficient power level) authorised the user's join. More
|
||||||
|
|
@ -129,8 +127,6 @@ properties:
|
||||||
`join`, the user ID sending the event does not need to match the user ID in the `state_key`,
|
`join`, the user ID sending the event does not need to match the user ID in the `state_key`,
|
||||||
unlike other events. Regular authorisation rules still apply.
|
unlike other events. Regular authorisation rules still apply.
|
||||||
type: string
|
type: string
|
||||||
format: mx-user-id
|
|
||||||
pattern: "^@"
|
|
||||||
type:
|
type:
|
||||||
enum:
|
enum:
|
||||||
- m.room.member
|
- m.room.member
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ properties:
|
||||||
redacts:
|
redacts:
|
||||||
description: The event ID that was redacted. Required for, and present starting in, room version 11.
|
description: The event ID that was redacted. Required for, and present starting in, room version 11.
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
reason:
|
reason:
|
||||||
description: 'The reason for the redaction, if any.'
|
description: 'The reason for the redaction, if any.'
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -19,8 +17,6 @@ properties:
|
||||||
redacts:
|
redacts:
|
||||||
description: Required for, and only present in, room versions 1 - 10. The event ID that was redacted.
|
description: Required for, and only present in, room versions 1 - 10. The event ID that was redacted.
|
||||||
type: string
|
type: string
|
||||||
format: mx-event-id
|
|
||||||
pattern: "^\\$"
|
|
||||||
type:
|
type:
|
||||||
enum:
|
enum:
|
||||||
- m.room.redaction
|
- m.room.redaction
|
||||||
|
|
|
||||||
|
|
@ -66,11 +66,6 @@ mx-mxc-uri:
|
||||||
url: client-server-api#matrix-content-mxc-uris
|
url: client-server-api#matrix-content-mxc-uris
|
||||||
# regex: "^mxc:\\/\\/"
|
# regex: "^mxc:\\/\\/"
|
||||||
|
|
||||||
mx-unpadded-base64:
|
|
||||||
title: Unpadded Base64
|
|
||||||
url: appendices#unpadded-base64
|
|
||||||
# no regex
|
|
||||||
|
|
||||||
uri:
|
uri:
|
||||||
title: URI
|
title: URI
|
||||||
url: https://datatracker.ietf.org/doc/html/rfc3986
|
url: https://datatracker.ietf.org/doc/html/rfc3986
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue