Document schema of PusherData in push gateway API (#1968)

Fixes: #910
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/1977/head^2
Johannes Marbach 3 weeks ago committed by GitHub
parent b1ebbb9a1c
commit 32f41f88bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Document the schema of `PusherData`.

@ -182,9 +182,15 @@ paths:
type: object
title: PusherData
description: |-
A dictionary of additional pusher-specific data. For
'http' pushers, this is the data dictionary passed in at
pusher creation minus the `url` key.
A dictionary of additional pusher-specific data. This
is the `data` dictionary passed in at
[pusher creation](/client-server-api/#post_matrixclientv3pushersset)
minus the `url` key.
properties:
format:
type: string
description: |-
The format to use for sending notifications.
tweaks:
type: object
title: Tweaks

Loading…
Cancel
Save