Skip to content

Commit 8ac6cea

Browse files
authored
Merge pull request #1522 from turt2live/travis/c2s/http-push-gw-required-path
Require the push gateway URL to be of a specific path
2 parents 49ec0a3 + 5b30d33 commit 8ac6cea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/client-server/pusher.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ paths:
222222
type: string
223223
description: |-
224224
Required if ``kind`` is ``http``. The URL to use to send
225-
notifications to.
225+
notifications to. MUST be an HTTPS URL with a path of
226+
``/_matrix/push/v1/notify``.
227+
example: "https://push-gateway.location.here/_matrix/push/v1/notify"
226228
format:
227229
type: string
228230
description: |-

0 commit comments

Comments
 (0)