mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-21 00:48:38 +01:00
Return an object as the root element
Because otherwise it's impossible to change later
This commit is contained in:
parent
42834340e7
commit
4fafe1ab73
|
|
@ -30,7 +30,8 @@ paths:
|
||||||
description: The pushers for this user
|
description: The pushers for this user
|
||||||
examples:
|
examples:
|
||||||
application/json: |-
|
application/json: |-
|
||||||
[
|
{
|
||||||
|
"pushers": [
|
||||||
{
|
{
|
||||||
"pushkey": "Xp/MzCt8/9DcSNE9cuiaoT5Ac55job3TdLSSmtmYl4A=",
|
"pushkey": "Xp/MzCt8/9DcSNE9cuiaoT5Ac55job3TdLSSmtmYl4A=",
|
||||||
"kind": "http",
|
"kind": "http",
|
||||||
|
|
@ -44,9 +45,15 @@ paths:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
schema:
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
pushers:
|
||||||
type: array
|
type: array
|
||||||
title: Pushers
|
title: Pushers
|
||||||
|
description: |-
|
||||||
|
An array containing the current pushers for the user
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
title: Pusher
|
title: Pusher
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue