From 9b9b03c4a97f9c8686d12ef9a11efc2e6b475a9d Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 1 Apr 2026 12:44:25 +1100 Subject: [PATCH] feat: Add status endpoint for health checks --- server.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server.py b/server.py index 001182f..2e608f8 100644 --- a/server.py +++ b/server.py @@ -253,6 +253,14 @@ def api_schedule(): return jsonify({"schedule": current_schedule}) +@app.route("/api/v1/status") +def api_status(): + """ + API endpoint that returns the status of the server. + """ + return jsonify({"status": "ok", "timestamp": datetime.now().isoformat()}) + + # endregion