mirror of
https://github.com/Lomanic/presence-button-web
synced 2025-12-01 17:56:29 +00:00
😽✈️ Checkpoint
./server.js:933874/8 ./views/index.html:933874/460
This commit is contained in:
parent
30cf83b999
commit
841a333808
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue