Return an object as the root element

Because otherwise it's impossible to change later
dbkr/get_pushers
David Baker 9 years ago
parent 42834340e7
commit 4fafe1ab73

@ -30,7 +30,8 @@ paths:
description: The pushers for this user
examples:
application/json: |-
[
{
"pushers": [
{
"pushkey": "Xp/MzCt8/9DcSNE9cuiaoT5Ac55job3TdLSSmtmYl4A=",
"kind": "http",
@ -44,9 +45,15 @@ paths:
}
}
]
}
schema:
type: object
properties:
pushers:
type: array
title: Pushers
description: |-
An array containing the current pushers for the user
items:
type: object
title: Pusher

Loading…
Cancel
Save