Clarify that usage of event_id_only is not mandatory (#2255)

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
main
Johannes Marbach 2 days ago committed by GitHub
parent b1fd2af72c
commit d28e05af87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

@ -230,11 +230,14 @@ paths:
format: format:
type: string type: string
description: |- description: |-
The format to send notifications in to Push Gateways if the The format in which to send notifications to the push gateway
`kind` is `http`. The details about what fields the if the `kind` is `http`. The details about what fields the
homeserver should send to the push gateway are defined in the homeserver should include are defined in the
[Push Gateway Specification](/push-gateway-api/). Currently the only format [Push Gateway Specification](/push-gateway-api/). If omitted,
available is 'event_id_only'. 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: append:
type: boolean type: boolean
description: |- description: |-

Loading…
Cancel
Save