CloudServices/WheresMyFox: Difference between revisions

Line 215: Line 215:
A successful client payload will, for each command in the previous request, be formatted:
A successful client payload will, for each command in the previous request, be formatted:


<pre>"<device command>":{"ok": "true", <additional response values>}</pre>
<pre>{"<device command>":{"ok": "true", <additional response values>},...}</pre>


If one of the commands results in an error, the response for that command is
If one of the commands results in an error, the response for that command is


<pre>"<device command>":{"ok": "false", "error": "<error details>"}</pre>
<pre>{"<device command>":{"ok": "false", "error": "<error details>"},...}</pre>


At this time, the only additional response values are defined for the '''track''' command, and are as follows:
At this time, the only additional response values are defined for the '''track''' command, and are as follows:
Confirmed users
1,018

edits