9
0
mirror of https://github.com/Lomanic/presence-button-web synced 2024-11-22 21:47:29 +00:00

😽✈️ Checkpoint

./server.js:933874/8
./views/index.html:933874/460
This commit is contained in:
Glitch (hello-express) 2019-11-03 18:44:00 +00:00
parent 30cf83b999
commit 841a333808

View File

@ -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>