{
    "status": "success",
    "message": "Mobile Uploader License System API",
    "version": "2.0.0",
    "timestamp": "2026-09-15 22:34:30",
    "endpoints": {
        "POST \/api\/activate.php": "Activate a new license",
        "POST \/api\/activate-from-purchase.php": "Activate from a verified IAP receipt",
        "POST \/api\/verify.php": "Verify license validity",
        "GET  \/api\/status.php?token=xxx": "Get detailed license status",
        "POST \/api\/verify-purchase.php": "Verify a Google Play \/ App Store IAP receipt",
        "POST \/api\/register_device.php": "Register a device against a license",
        "GET  \/api\/device_usage.php?...": "Per-device usage \/ quota",
        "POST \/api\/remove_device.php": "Remove a device from a license",
        "POST \/api\/verify-upload.php": "Validate per-upload entitlement (called by plugin)",
        "POST \/api\/record-upload.php": "Record a successful upload (called by plugin)",
        "GET  \/api\/getall.php?auth=xxx": "List licenses with filters",
        "POST \/api\/suspend.php": "Suspend a license",
        "POST \/api\/revoke.php": "Revoke a license permanently",
        "POST \/api\/extend.php": "Extend license expiration",
        "POST \/api\/bulk_actions.php": "Suspend\/extend\/revoke many licenses at once",
        "GET  \/api\/export.php": "Export licenses (CSV\/JSON)",
        "POST \/api\/purge.php": "Hard-delete expired licenses",
        "GET  \/api\/metrics.php": "System metrics and statistics",
        "POST \/api\/mobile_auth.php": "Admin login for the mobile admin panel",
        "GET  \/api\/app_sync.php": "Pull app-side settings snapshot",
        "GET  \/api\/test.php": "Health check"
    },
    "database": "Connected"
}