diff --git a/local/rest_api_flint.example/app.py b/local/rest_api_flint.example/app.py index e00ed282..61ed62cd 100644 --- a/local/rest_api_flint.example/app.py +++ b/local/rest_api_flint.example/app.py @@ -38,6 +38,18 @@ def home(): return "FLINT.Example API" +@app.route("/health-flint-example", methods=["GET"]) +def health(): + """ + Get health status of FLINT example + --- + tags: + - health + responses: + 200: + description: A status check for FLINT example + """ + return "FLINT.Example is active." @app.route("/spec") def spec(): diff --git a/local/rest_api_gcbm/app.py b/local/rest_api_gcbm/app.py index 3913dc13..95414d4c 100644 --- a/local/rest_api_gcbm/app.py +++ b/local/rest_api_gcbm/app.py @@ -60,6 +60,18 @@ app.register_blueprint(SWAGGERUI_BLUEPRINT, url_prefix=SWAGGER_URL) ### end swagger specific ### +@app.route("/health-gcbm", methods=["GET"]) +def health(): + """ + Get health status of GCBM + --- + tags: + - health + responses: + 200: + description: A status check for GCBM + """ + return "GCBM is active." @app.route("/spec") def spec():