from flask import Blueprint, jsonify app_b_api = Blueprint("app_b", __name__) @app_b_api.route("/b") def home(): return "Hello, World!" @app_b_api.route("/health_b.json") def health(): return jsonify({"status": "UP"}), 200