{
  "name": "scorpiox-whatsapp-server-native",
  "version": "1.0.0",
  "description": "Personal WhatsApp Server native C CGI route handlers hosted by scorpiox-server.dll with bundled standalone Baileys bridge",
  "handlers": [
    { "name": "index", "route": "/", "methods": ["GET"], "description": "Web dashboard: pairing QR code card, connection status, setup curl commands, test message form (?format=json for gateway metrics)" },
    { "name": "qr", "route": "/qr", "methods": ["GET"], "description": "Active pairing QR code: PNG image stream or base64+ASCII (?format=json)" },
    { "name": "send", "route": "/send", "methods": ["POST"], "description": "Message dispatch API: JSON or form body with to, message, media_path" },
    { "name": "status", "route": "/status", "methods": ["GET"], "description": "Connection state (0=disconnected, 1=qr_ready, 2=linked), phone, battery, uptime (?format=json)" },
    { "name": "messages", "route": "/messages", "methods": ["GET"], "description": "Message history: list recent incoming and outgoing messages (?format=json)" },
    { "name": "_fallback", "route": "*", "methods": ["GET", "POST"], "description": "Clean 404 handler with redirection support" }
  ],
  "bridge": "scorpiox-whatsapp-bridge.exe / scorpiox-whatsapp-bridge",
  "host": "scorpiox-server.dll"
}
