Document the valid values for the "set_presence" parameter

This commit is contained in:
Mark Haines 2015-09-28 13:47:04 +01:00
parent 940e22940d
commit c115b4c2f4

View file

@ -43,9 +43,14 @@ paths:
- in: query
name: set_presence
type: string
enum: ["offline"]
description: |-
Set the presence status of this client.
x-example: "online"
Controls whether the client is automatically marked as online by
polling this API. If this parameter is omitted then the client is
automatically marked as online when it uses this API. Otherwise if
the parameter is set to "offline" then the client is not marked as
being online when it uses this API.
x-example: "offline"
- in: query
name: timeout
type: integer