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
|
- in: body
|
||||||
name: body
|
name: body
|
||||||
description: |
|
description: |
|
||||||
Whether the push rule is enabled or not.
|
The action(s) to perform when the conditions for this rule are met.
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
|
@ -620,6 +620,10 @@ paths:
|
||||||
actions:
|
actions:
|
||||||
type: array
|
type: array
|
||||||
description: The action(s) to perform for this rule.
|
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"]
|
required: ["actions"]
|
||||||
example: |-
|
example: |-
|
||||||
{
|
{
|
||||||
|
|
|
@ -116,7 +116,7 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
Remove a tag from the room.
|
Remove a tag from the room.
|
||||||
security:
|
security:
|
||||||
- access_token: []
|
- accessToken: []
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue