Clarify that servers must forward custom keys in PusherData
(#1973)
Relates to: #921 Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
0b4d1c0237
commit
88f0c56ad9
2 changed files with 10 additions and 5 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify that servers must forward custom keys in `PusherData` when sending notifications to the push gateway.
|
|
@ -210,17 +210,21 @@ paths:
|
||||||
type: object
|
type: object
|
||||||
description: |-
|
description: |-
|
||||||
Required if `kind` is not `null`. A dictionary of information
|
Required if `kind` is not `null`. A dictionary of information
|
||||||
for the pusher implementation itself. If `kind` is `http`,
|
for the pusher implementation itself.
|
||||||
this should contain `url` which is the URL to use to send
|
|
||||||
notifications to.
|
If `kind` is `http`, this MUST contain `url` which is the URL
|
||||||
|
to use for sending notifications. Clients MAY use this object
|
||||||
|
to pass custom data to their push gateway. Servers MUST forward
|
||||||
|
the entire content including `format` and any custom keys but excluding `url`
|
||||||
|
when calling [`/_matrix/push/v1/notify`](/push-gateway-api/#post_matrixpushv1notify).
|
||||||
title: PusherData
|
title: PusherData
|
||||||
properties:
|
properties:
|
||||||
url:
|
url:
|
||||||
type: string
|
type: string
|
||||||
format: uri
|
format: uri
|
||||||
description: |-
|
description: |-
|
||||||
Required if `kind` is `http`. The URL to use to send
|
Required if `kind` is `http`. The URL to use for sending
|
||||||
notifications to. MUST be an HTTPS URL with a path of
|
notifications. MUST be an HTTPS URL with a path of
|
||||||
`/_matrix/push/v1/notify`.
|
`/_matrix/push/v1/notify`.
|
||||||
example: https://push-gateway.location.here/_matrix/push/v1/notify
|
example: https://push-gateway.location.here/_matrix/push/v1/notify
|
||||||
format:
|
format:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue