Fixes to the API docs

* fix security data for DELETE /user/{userId}/rooms/{roomId}/tags/{tag}

* fix definition for body of PUT /pushrules/{scope}/{kind}/{ruleId}/actions
pull/977/head
Richard van der Hoff 8 years ago
parent affb106014
commit cf87120d78

@ -612,7 +612,7 @@ paths:
- in: body
name: body
description: |
Whether the push rule is enabled or not.
The action(s) to perform when the conditions for this rule are met.
required: true
schema:
type: object
@ -620,6 +620,10 @@ paths:
actions:
type: array
description: The action(s) to perform for this rule.
items:
type: string
enum: ["notify", "dont_notify", "coalesce", "set_tweak"]
# TODO: type: object e.g. {"set_sound":"beeroclock.wav"} :/
required: ["actions"]
example: |-
{

@ -116,7 +116,7 @@ paths:
description: |-
Remove a tag from the room.
security:
- access_token: []
- accessToken: []
parameters:
- in: path
type: string

Loading…
Cancel
Save