currently_active is a param on GET response, not put

This commit is contained in:
Erik Johnston 2016-06-29 10:35:31 +01:00
parent 2691d4925b
commit 0de8ba7f0a

View file

@ -54,9 +54,6 @@ paths:
status_msg: status_msg:
type: string type: string
description: "The status message to attach to this state." description: "The status message to attach to this state."
currently_active:
type: boolean
description: "Whether the user is currently active"
required: ["presence"] required: ["presence"]
responses: responses:
200: 200:
@ -107,6 +104,10 @@ paths:
status_msg: status_msg:
type: [string, "null"] type: [string, "null"]
description: The state message for this user if one was set. description: The state message for this user if one was set.
currently_active:
type: boolean
description: "Whether the user is currently active"
required: ["presence"]
404: 404:
description: |- description: |-
There is no presence state for this user. This user may not exist or There is no presence state for this user. This user may not exist or