Docs
Reference material for the apps on davenn.com and the single API behind them.
How the site works
Architecture
One HTML file per app, one PHP file behind them, and no build step โ how it fits together, and what that choice costs.
API
API Reference
Every endpoint on the site โ action, method, authentication and query parameters โ plus the full database schema. Generated from the source, so it cannot drift.
Glucose API
Continuous glucose monitor readings over HTTP, with a live request console. Plain text for microcontrollers, JSON for everything else.
About these pages
The API reference is generated from api.php by a script in the repo, and a CI job fails if the committed copy falls behind the source. Endpoint descriptions are written as comments next to the code they describe.