From 0de8ba7f0a5c6ded09d505a2d6573a385029c18e Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 29 Jun 2016 10:35:31 +0100 Subject: [PATCH] currently_active is a param on GET response, not put --- api/client-server/presence.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/client-server/presence.yaml b/api/client-server/presence.yaml index 4f637698..1c97be94 100644 --- a/api/client-server/presence.yaml +++ b/api/client-server/presence.yaml @@ -54,9 +54,6 @@ paths: status_msg: type: string description: "The status message to attach to this state." - currently_active: - type: boolean - description: "Whether the user is currently active" required: ["presence"] responses: 200: @@ -107,6 +104,10 @@ paths: status_msg: type: [string, "null"] 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: description: |- There is no presence state for this user. This user may not exist or