Merge pull request #780 from mujx/missing-enum-fields
Add missing enum fields for the set_presence parameter
This commit is contained in:
commit
f04afaa9b9
2 changed files with 4 additions and 2 deletions
|
@ -77,13 +77,14 @@ paths:
|
||||||
- in: query
|
- in: query
|
||||||
name: set_presence
|
name: set_presence
|
||||||
type: string
|
type: string
|
||||||
enum: ["offline"]
|
enum: ["offline", "online", "unavailable"]
|
||||||
description: |-
|
description: |-
|
||||||
Controls whether the client is automatically marked as online by
|
Controls whether the client is automatically marked as online by
|
||||||
polling this API. If this parameter is omitted then the client is
|
polling this API. If this parameter is omitted then the client is
|
||||||
automatically marked as online when it uses this API. Otherwise if
|
automatically marked as online when it uses this API. Otherwise if
|
||||||
the parameter is set to "offline" then the client is not marked as
|
the parameter is set to "offline" then the client is not marked as
|
||||||
being online when it uses this API.
|
being online when it uses this API. When set to "unavailable", the
|
||||||
|
client is marked as being idle.
|
||||||
x-example: "offline"
|
x-example: "offline"
|
||||||
- in: query
|
- in: query
|
||||||
name: timeout
|
name: timeout
|
||||||
|
|
1
changelogs/client_server/newsfragments/780.feature
Normal file
1
changelogs/client_server/newsfragments/780.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add more presence options to the ``set_presence`` parameter of ``/sync``. (Thanks @mujx!)
|
Loading…
Add table
Add a link
Reference in a new issue