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
This commit is contained in:
parent
affb106014
commit
cf87120d78
2 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue