"""JSON-API fuer Frontend-Polling. Voll in Etappen 5/6. Etappe 5: /api/drucker/status (Live-Status fuer /drucker) Etappe 6: /api/projekte/suche (Filter-Live-Suche im Katalog) Etappe 5: /api/slots/heute (Slot-Polling) """ from flask import Blueprint, jsonify, abort bp = Blueprint("api", __name__, url_prefix="/api") @bp.route("/drucker/status") def drucker_status(): """Etappe 5: JSON aller 4 Drucker mit Status/Restzeit.""" abort(501) @bp.route("/slots/heute") def slots_heute(): """Etappe 6: JSON aller aktiven/anstehenden Slots heute.""" abort(501) @bp.route("/projekte/suche") def projekte_suche(): """Etappe 6: Filter-Live-Suche im Katalog.""" abort(501)