add hardware model stats to api info

This commit is contained in:
liamcottle
2024-03-24 00:22:48 +13:00
parent 4dfbe8bd31
commit 4a85a97a87

View File

@ -48,6 +48,10 @@ app.get('/api', async (req, res) => {
"path": "/api/v1/nodes", "path": "/api/v1/nodes",
"description": "Meshtastic nodes in JSON format.", "description": "Meshtastic nodes in JSON format.",
}, },
{
"path": "/api/v1/stats/hardware-models",
"description": "Database statistics about hardware models in JSON format.",
},
{ {
"path": "/api/v1/waypoints", "path": "/api/v1/waypoints",
"description": "Meshtastic waypoints in JSON format.", "description": "Meshtastic waypoints in JSON format.",