Require the push gateway URL to be of a specific path

This commit is contained in:
Travis Ralston 2018-08-16 12:39:47 -06:00
parent 2aa0e7b00f
commit c891e4a957

View file

@ -222,7 +222,9 @@ paths:
type: string
description: |-
Required if ``kind`` is ``http``. The URL to use to send
notifications to.
notifications to. MUST be an HTTPS URL with a path pointing
to ``/_matrix/push/v1/notify``.
example: "https://push-gateway.location.here/_matrix/push/v1/notify"
format:
type: string
description: |-