Add database table count to health endpoint #6

Open
opened 2026-03-02 10:23:34 +00:00 by Luca · 2 comments
Owner

Update the health check endpoint at /api/health.php to also return the number of tables in the thetool database as {"tables": } in the JSON response. Use the existing database connection from the framework.

Update the health check endpoint at /api/health.php to also return the number of tables in the thetool database as {"tables": <count>} in the JSON response. Use the existing database connection from the framework.
Luca added the ai-task label 2026-03-02 10:23:34 +00:00
Luca referenced this issue from a commit 2026-03-02 10:26:56 +00:00
Author
Owner

AI agent completed.

✅ AI agent completed. - Branch: [`ai/issue-6`](https://gitea.haid.in/luca/thetool/src/branch/ai/issue-6) - Commit: [`d02e431`](https://gitea.haid.in/luca/thetool/commit/d02e4311dd28fe140ae752999b4fa70c7af20ef0) - Pull Request: [#7](https://gitea.haid.in/luca/thetool/pulls/7)
Luca referenced this issue from a commit 2026-03-02 10:48:08 +00:00
Author
Owner

AI agent completed.

✅ AI agent completed. - Branch: [`ai/issue-6-v3`](https://gitea.haid.in/luca/thetool/src/branch/ai/issue-6-v3) - Commit: [`4361fdf`](https://gitea.haid.in/luca/thetool/commit/4361fdf9f05b27db9a91307c69d51632505acc7e) - Pull Request: [#8](https://gitea.haid.in/luca/thetool/pulls/8)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Luca/thetool#6