Add a health check endpoint #4

Open
opened 2026-03-02 10:05:40 +00:00 by Luca · 1 comment
Owner

Add a simple health check endpoint at /api/health.php that returns JSON {"status": "ok", "timestamp": } with a 200 status code. Also verify the database connection works and include {"db": true} in the response if it does.

Add a simple health check endpoint at /api/health.php that returns JSON {"status": "ok", "timestamp": <current unix timestamp>} with a 200 status code. Also verify the database connection works and include {"db": true} in the response if it does.
Luca added the ai-task label 2026-03-02 10:05:40 +00:00
Luca referenced this issue from a commit 2026-03-02 10:09:49 +00:00
Author
Owner

AI agent completed.

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

No dependencies set.

Reference: Luca/thetool#4