currently_active is a param on GET response, not put

erikj/presence
Erik Johnston 10 years ago
parent 2691d4925b
commit 0de8ba7f0a

@ -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

Loading…
Cancel
Save