This commit is contained in:
Johannes Marbach 2025-11-28 15:56:32 +00:00 committed by GitHub
commit 95ba0303b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View file

@ -0,0 +1 @@
Usage of the `event_id_only` format for push notifications is not mandatory.

View file

@ -230,11 +230,14 @@ paths:
format:
type: string
description: |-
The format to send notifications in to Push Gateways if the
`kind` is `http`. The details about what fields the
homeserver should send to the push gateway are defined in the
[Push Gateway Specification](/push-gateway-api/). Currently the only format
available is 'event_id_only'.
The format in which to send notifications to the push gateway
if the `kind` is `http`. The details about what fields the
homeserver should include are defined in the
[Push Gateway Specification](/push-gateway-api/). If omitted,
the server is expected to populate all of the event-related fields
specified in [`/_matrix/push/v1/notify`](/push-gateway-api/#post_matrixpushv1notify).
enum:
- "event_id_only"
append:
type: boolean
description: |-