Mark the appservice ping response duration_ms
field as required (#1541)
* Mark the appservice ping response duration_ms field as required As intended in MSC2659. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelog Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
bdf574eeb2
commit
089d209047
2 changed files with 3 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Add homeserver->appservice ping mechanism, as per [MSC2659](https://github.com/matrix-org/matrix-spec-proposals/pull/2659). Contributed by @tulir at @beeper.
|
|
@ -82,6 +82,8 @@ paths:
|
||||||
The duration in milliseconds that the
|
The duration in milliseconds that the
|
||||||
[`/_matrix/app/v1/ping`](#post_matrixappv1ping)
|
[`/_matrix/app/v1/ping`](#post_matrixappv1ping)
|
||||||
request took from the homeserver's point of view.
|
request took from the homeserver's point of view.
|
||||||
|
required:
|
||||||
|
- duration_ms
|
||||||
examples:
|
examples:
|
||||||
application/json: {"duration_ms": 123}
|
application/json: {"duration_ms": 123}
|
||||||
400:
|
400:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue