CloudServices/WheresMyFox: Difference between revisions

Line 166: Line 166:
<dt><b>t</b>rack
<dt><b>t</b>rack
<dd>Have the phone report back it's location every <b>p</b>eriod seconds<br>
<dd>Have the phone report back it's location every <b>p</b>eriod seconds<br>
e.g. <code>{"c":"t","p":20}</code> will cause the phone to POST to <code>/<i>$v</i>/cmd/<i>$id</i></code> every period
e.g. <code>{"c":"t","p":20}</code> will cause the phone to POST to <code>/<i>$v</i>/cmd/<i>$id</i></code> every period it's <b>la</b>ttitude, <b>lo</b>ngitude, and the client clock <b>ti</b>ime.
     {"c":"t", "t":"la":37.388017, "lo":-122.0833}
     {"c":"t", "la":37.388017, "lo":-122.0833, "ti":1234567890}
The server may reply back to the "track" POST with either an empty 200 or a <i>COMMAND</i> object
The server may reply back to the "track" POST with either an empty 200 or a <i>COMMAND</i> object
<dt><b>c</b>ancel
<dt><b>c</b>ancel
Confirmed users
1,018

edits