Skip to content

Commit

Permalink
Clarify that pusher URLs have a fixed path (#1974)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
  • Loading branch information
Johennes and anoadragon453 authored Nov 7, 2024
1 parent 909c461 commit 74e8be3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelogs/push_gateway/newsfragments/1974.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The path of HTTP pusher URLs is fixed to `/_matrix/push/v1/notify`.
6 changes: 3 additions & 3 deletions data/api/push-gateway/push_notifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ paths:
updating counts of unread notifications should be idempotent and
therefore do not require duplicate suppression.
Notifications are sent to the URL configured when the pusher is created.
This means that the HTTP path may be different depending on the push
gateway.
Clients interested in receiving notifications via this endpoint MUST
configure its full URI when creating the associated pusher via
[`/_matrix/client/v3/pushers/set`](/client-server-api/#post_matrixclientv3pushersset).
operationId: notify
requestBody:
content:
Expand Down

0 comments on commit 74e8be3

Please sign in to comment.