Merge pull request #212 from matrix-org/daniel/pushdictification

Take object, not bool, as param
pull/977/head
Daniel Wagner-Hall 9 years ago
commit 97579f15cb

@ -470,14 +470,21 @@ paths:
description: |
The identifier for the rule.
- in: body
name: <body>
name: body
description: |
Whether the push rule is enabled or not.
required: true
schema:
type: boolean
type: object
properties:
enabled:
type: boolean
description: Whether the push rule is enabled or not.
required: ["enabled"]
example: |-
true
{
"enabled": true
}
responses:
200:
description: The push rule was enabled or disabled.

Loading…
Cancel
Save