Skip to content

Commit

Permalink
Document schema of PusherData in push gateway API (#1968)
Browse files Browse the repository at this point in the history
Fixes: #910
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
  • Loading branch information
Johennes authored Oct 29, 2024
1 parent b1ebbb9 commit 32f41f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelogs/push_gateway/newsfragments/1968.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document the schema of `PusherData`.
12 changes: 9 additions & 3 deletions data/api/push-gateway/push_notifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32f41f8

Please sign in to comment.