mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-26 07:27:30 +00:00
😽✈️ Checkpoint
./server.js:933874/8 ./views/index.html:933874/460
This commit is contained in:
parent
30cf83b999
commit
841a333808
@ -37,6 +37,11 @@
|
|||||||
<li><a href="/api">ajax API</a></li>
|
<li><a href="/api">ajax API</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
<p>
|
||||||
|
API small documentation:<br>
|
||||||
|
<code>{"fuzIsOpen":true,"lastSeen":"2019-11-03T16:25:24.385Z"}</code><br>
|
||||||
|
Means that the last notification sent by the presence button was at 2019-11-03T16:25:24.385Z and it was saying that the Fuz was open at the time. If it's been a while since last notification (lastSeen), we can conclude the Fuz is now closed.
|
||||||
|
</p>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user