Compare commits

..

4 commits

Author SHA1 Message Date
HarHarLinks fa26eaab26 fix up link
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
2026-02-25 05:36:01 +01:00
HarHarLinks ddc6114159 update changelogs
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
2026-02-25 05:31:33 +01:00
HarHarLinks a34a6f8cc6 reference event type spec instead of duplicating
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
2026-02-25 05:28:06 +01:00
HarHarLinks 15a5cff2e0 format some literals and keywords
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
2026-02-25 05:28:06 +01:00
6 changed files with 13 additions and 14 deletions

View file

@ -1 +1 @@
Fix typos, formatting, wording. Contributed by @HarHarLinks.
Fix various typos throughout the specification. Contributed by @HarHarLinks.

View file

@ -1 +1 @@
Fix typos, formatting, wording. Contributed by @HarHarLinks.
Fix various typos throughout the specification. Contributed by @HarHarLinks.

View file

@ -23,14 +23,14 @@ properties:
not_senders:
description: A list of sender IDs to exclude. If this list is absent then no senders
are excluded. A matching sender will be excluded even if it is listed in the
`'senders'` filter.
`senders` filter.
items:
type: string
type: array
not_types:
description: A list of event types to exclude. If this list is absent then no
event types are excluded. A matching type will be excluded even if it is listed
in the `'types'` filter. A '*' can be used as a wildcard to match any sequence
in the `types` filter. A `*` can be used as a wildcard to match any sequence
of characters.
items:
type: string
@ -43,7 +43,7 @@ properties:
type: array
types:
description: A list of event types to include. If this list is absent then all
event types are included. A `'*'` can be used as a wildcard to match any sequence
event types are included. A `*` can be used as a wildcard to match any sequence
of characters.
items:
type: string

View file

@ -39,7 +39,7 @@ allOf:
for more information. Defaults to `false`.
not_rooms:
description: A list of room IDs to exclude. If this list is absent then no rooms
are excluded. A matching room will be excluded even if it is listed in the `'rooms'`
are excluded. A matching room will be excluded even if it is listed in the `rooms`
filter.
items:
type: string

View file

@ -17,15 +17,15 @@ properties:
event_fields:
description: List of event fields to include. If this list is absent then all
fields are included. The entries are [dot-separated paths for each property](/appendices#dot-separated-property-paths)
to include. So ['content.body'] will include the 'body' field of the 'content' object.
to include. So `['content.body']` will include the `body` field of the `content` object.
A server may include more fields than were requested.
items:
type: string
type: array
event_format:
description: The format to use for events. 'client' will return the events in
a format suitable for clients. 'federation' will return the raw event as received
over federation. The default is 'client'.
description: The format to use for events. `client` will return the events in
a format suitable for clients. `federation` will return the raw event as received
over federation. The default is `client`.
enum:
- client
- federation
@ -45,7 +45,7 @@ properties:
properties:
not_rooms:
description: A list of room IDs to exclude. If this list is absent then no rooms
are excluded. A matching room will be excluded even if it is listed in the `'rooms'`
are excluded. A matching room will be excluded even if it is listed in the `rooms`
filter. This filter is applied before the filters in `ephemeral`,
`state`, `timeline` or `account_data`
items:
@ -65,7 +65,7 @@ properties:
events that appear in the `ephemeral` property in the `/sync`
response.
include_leave:
description: Include rooms that the user has left in the sync, default false
description: Include rooms that the user has left in the sync. Defaults to `false`.
type: boolean
state:
type: object

View file

@ -7,8 +7,7 @@ properties:
When interacting with the REST API, this is the HTTP body.
type: object
type:
description: The type of event. This SHOULD be namespaced similar to Java package
naming conventions e.g. `com.example.subdomain.event.type`
description: The type of event, as defined by [the event type specification](/client-server-api/#types-of-room-events).
type: string
required:
- type