CloudServices/WheresMyFox: Difference between revisions

Line 94: Line 94:
<dt><b>track</b>
<dt><b>track</b>
<dd>Have the phone report back it's location every "period" seconds<br>
<dd>Have the phone report back it's location every "period" seconds<br>
e.g. <code>{"cmd":"track","period":20}</code> will cause the phone to POST to <code>/<i>$v</i>/cmd/<i>$id</i>/</code>
e.g. <code>{"cmd":"track","period":20}</code> will cause the phone to POST to <code>/<i>$v</i>/cmd/<i>$id</i></code>
     {"cmd":"track", "lat":<i>$lattitudeDecimal</i>, "lon":<i>$longitudeDecimal</i>}
     {"cmd":"track", "lat":<i>$lattitudeDecimal</i>, "lon":<i>$longitudeDecimal</i>}
The server may reply back to the "track" POST with either an empty 200 or a COMMAND object
The server may reply back to the "track" POST with either an empty 200 or a <i>COMMAND</i> object
<dt><b>cancel</b>
<dt><b>cancel</b>
<dd>Cancel the current activity ("ring" or "track").
<dd>Cancel the current activity ("ring" or "track").
Confirmed users
1,018

edits