{
    "openapi": "3.1.0",
    "info": {
        "title": "LibreAuth API",
        "description": "LibreAuth client API v1.3. POST form-urlencoded. Each path maps to `type` param — e.g. POST /init sends type=init.",
        "version": "1.3.0",
        "contact": {
            "name": "Nut.exe",
            "url": "https://nutexe.dev/"
        }
    },
    "servers": [
        {
            "url": "https://libreauth.nutexe.dev/api/1.3",
            "description": "LibreAuth Client API"
        }
    ],
    "tags": [
        {
            "name": "Authentication"
        },
        {
            "name": "Session"
        },
        {
            "name": "Data"
        }
    ],
    "paths": {
        "/init": {
            "post": {
                "tags": [
                    "Authentication"
                ],
                "summary": "Initialization",
                "description": "Start a new session. Returns sessionid, app stats, Ed25519 public key, and optional encrypted responses. Must be called before any other API type.\n\nAll requests POST form-urlencoded. `type` is fixed to `init` for this operation.",
                "operationId": "init",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "ver"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "ver": {
                                        "type": "string",
                                        "description": "Client version — must match App Version in panel"
                                    },
                                    "enckey": {
                                        "type": "string",
                                        "description": "35-character encryption key for AES response encryption"
                                    },
                                    "hash": {
                                        "type": "string",
                                        "description": "MD5 of your compiled exe (32 hex). Required when Hash Check is enabled in panel"
                                    },
                                    "token": {
                                        "type": "string",
                                        "description": "Token file signature when Token File Check is enabled"
                                    },
                                    "thash": {
                                        "type": "string",
                                        "description": "MD5 of token.dat when Token File Check is enabled"
                                    }
                                }
                            },
                            "example": {
                                "type": "init",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "ver": "1.0",
                                "hash": "md5_of_your_exe_32_chars"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Initialized",
                                    "sessionid": "abc123...",
                                    "ownerid": "XXXXXXXXXX",
                                    "appinfo": {
                                        "numUsers": "10",
                                        "numOnlineUsers": "3",
                                        "numKeys": "50",
                                        "version": "1.0",
                                        "customerPanelLink": "..."
                                    },
                                    "newSession": true,
                                    "nonce": "...",
                                    "pubkey": "ed25519_public_key_hex"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid version",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": false,
                                    "message": "invalidver",
                                    "download": "https://..."
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=init&name=MyApp&ownerid=XXXXXXXXXX&ver=1.0&hash=md5_of_your_exe_32_chars'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=init&name=MyApp&ownerid=XXXXXXXXXX&ver=1.0&hash=md5_of_your_exe_32_chars"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'init',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  ver: '1.0',\n  hash: 'md5_of_your_exe_32_chars'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=init&name=MyApp&ownerid=XXXXXXXXXX&ver=1.0&hash=md5_of_your_exe_32_chars', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'init',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'ver': '1.0',\n    'hash': 'md5_of_your_exe_32_chars'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Hash = \"md5_of_your_exe_32_chars\"\napp.Init()"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();"
                    }
                ]
            }
        },
        "/login": {
            "post": {
                "tags": [
                    "Authentication"
                ],
                "summary": "Login",
                "description": "Authenticate with username and password. Returns user info and subscription data.\n\nAll requests POST form-urlencoded. `type` is fixed to `login` for this operation.",
                "operationId": "login",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid",
                                    "hwid",
                                    "username",
                                    "pass"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    },
                                    "hwid": {
                                        "type": "string",
                                        "description": "Hardware ID string from client"
                                    },
                                    "username": {
                                        "type": "string",
                                        "description": "Account username"
                                    },
                                    "pass": {
                                        "type": "string",
                                        "description": "Account password"
                                    },
                                    "code": {
                                        "type": "string",
                                        "description": "TOTP 2FA code if enabled"
                                    }
                                }
                            },
                            "example": {
                                "type": "login",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id",
                                "hwid": "HWID-12345",
                                "username": "user123",
                                "pass": "password",
                                "code": "123456"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": []
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid credentials",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": false,
                                    "message": "Invalid credentials"
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=login&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=user123&pass=password&hwid=HWID-12345'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=login&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=user123&pass=password&hwid=HWID-12345"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'login',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id',\n  username: 'user123',\n  pass: 'password',\n  hwid: 'HWID-12345'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=login&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=user123&pass=password&hwid=HWID-12345', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'login',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id',\n    'username': 'user123',\n    'pass': 'password',\n    'hwid': 'HWID-12345'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.Login(\"user123\", \"password\", \"HWID-12345\")"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LoginAsync(\"user123\", \"password\", \"HWID-12345\");"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.login(\"user123\", \"password\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.login(\"user123\", \"password\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.login('user123', 'password', 'HWID-12345');"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.login(\"user123\", \"password\", \"HWID-12345\")?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.login('user123', 'password', 'HWID-12345')"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->login('user123', 'password', 'HWID-12345');"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:login('user123', 'password', 'HWID-12345')"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.Login('user123', 'password', 'HWID-12345');"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.Login('user123', 'password', 'HWID-12345');"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LoginAsync(\"user123\", \"password\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LoginAsync(\"user123\", \"password\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LoginAsync(\"user123\", \"password\", \"HWID-12345\");"
                    }
                ]
            }
        },
        "/license": {
            "post": {
                "tags": [
                    "Authentication"
                ],
                "summary": "License Login",
                "description": "Login using a license key only — creates account if key is unused.\n\nAll requests POST form-urlencoded. `type` is fixed to `license` for this operation.",
                "operationId": "license",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid",
                                    "hwid",
                                    "key"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    },
                                    "hwid": {
                                        "type": "string",
                                        "description": "Hardware ID string from client"
                                    },
                                    "key": {
                                        "type": "string",
                                        "description": "License key from panel"
                                    },
                                    "code": {
                                        "type": "string",
                                        "description": "TOTP code"
                                    }
                                }
                            },
                            "example": {
                                "type": "license",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id",
                                "hwid": "HWID-12345",
                                "key": "XXXX-XXXX-XXXX"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": []
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=license&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&key=XXXX-XXXX&hwid=HWID-12345'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=license&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&key=XXXX-XXXX&hwid=HWID-12345"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'license',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id',\n  key: 'XXXX-XXXX',\n  hwid: 'HWID-12345'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=license&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&key=XXXX-XXXX&hwid=HWID-12345', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'license',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id',\n    'key': 'XXXX-XXXX',\n    'hwid': 'HWID-12345'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.License(\"XXXX-XXXX\", \"HWID-12345\")"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LicenseAsync(\"XXXX-XXXX\", \"HWID-12345\");"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.license(\"XXXX-XXXX\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.license(\"XXXX-XXXX\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.license('XXXX-XXXX', 'HWID-12345');"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.license(\"XXXX-XXXX\", \"HWID-12345\")?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.license('XXXX-XXXX', 'HWID-12345')"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->license('XXXX-XXXX', 'HWID-12345');"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:license('XXXX-XXXX', 'HWID-12345')"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.License('XXXX-XXXX', 'HWID-12345');"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.License('XXXX-XXXX', 'HWID-12345');"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LicenseAsync(\"XXXX-XXXX\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LicenseAsync(\"XXXX-XXXX\", \"HWID-12345\");"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LicenseAsync(\"XXXX-XXXX\", \"HWID-12345\");"
                    }
                ]
            }
        },
        "/register": {
            "post": {
                "tags": [
                    "Authentication"
                ],
                "summary": "Register",
                "description": "Create a new user account using a valid license key.\n\nAll requests POST form-urlencoded. `type` is fixed to `register` for this operation.",
                "operationId": "register",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid",
                                    "hwid",
                                    "username",
                                    "pass",
                                    "key"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    },
                                    "hwid": {
                                        "type": "string",
                                        "description": "Hardware ID string from client"
                                    },
                                    "username": {
                                        "type": "string",
                                        "description": "Desired username"
                                    },
                                    "pass": {
                                        "type": "string",
                                        "description": "Password"
                                    },
                                    "key": {
                                        "type": "string",
                                        "description": "Unused license key"
                                    },
                                    "email": {
                                        "type": "string",
                                        "description": "Email address"
                                    }
                                }
                            },
                            "example": {
                                "type": "register",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id",
                                "hwid": "HWID-12345",
                                "username": "newuser",
                                "pass": "password",
                                "key": "XXXX-XXXX",
                                "email": "user@mail.com"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Registered successfully"
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=register&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=newuser&pass=pass&key=XXXX&hwid=HWID'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=register&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=newuser&pass=pass&key=XXXX&hwid=HWID"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'register',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id',\n  username: 'newuser',\n  pass: 'pass',\n  key: 'XXXX',\n  hwid: 'HWID'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=register&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=newuser&pass=pass&key=XXXX&hwid=HWID', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'register',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id',\n    'username': 'newuser',\n    'pass': 'pass',\n    'key': 'XXXX',\n    'hwid': 'HWID'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.Register(\"newuser\", \"pass\", \"XXXX\", \"HWID\")"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.RegisterAsync(\"newuser\", \"pass\", \"XXXX\", \"HWID\");"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.register(\"newuser\", \"pass\", \"XXXX\", \"HWID\");"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.register(\"newuser\", \"pass\", \"XXXX\", \"HWID\");"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.register('newuser', 'pass', 'XXXX', 'HWID');"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.register(\"newuser\", \"pass\", \"XXXX\", \"HWID\")?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.register('newuser', 'pass', 'XXXX', 'HWID')"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->register('newuser', 'pass', 'XXXX', 'HWID');"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:register('newuser', 'pass', 'XXXX', 'HWID')"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.Register('newuser', 'pass', 'XXXX', 'HWID');"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.Register('newuser', 'pass', 'XXXX', 'HWID');"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.RegisterAsync(\"newuser\", \"pass\", \"XXXX\", \"HWID\");"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.RegisterAsync(\"newuser\", \"pass\", \"XXXX\", \"HWID\");"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.RegisterAsync(\"newuser\", \"pass\", \"XXXX\", \"HWID\");"
                    }
                ]
            }
        },
        "/upgrade": {
            "post": {
                "tags": [
                    "Authentication"
                ],
                "summary": "Upgrade (Redeem License)",
                "description": "Apply a license key to an existing user account to extend or change subscription.\n\nAll requests POST form-urlencoded. `type` is fixed to `upgrade` for this operation.",
                "operationId": "upgrade",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid",
                                    "username",
                                    "key"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    },
                                    "username": {
                                        "type": "string",
                                        "description": "Existing username"
                                    },
                                    "key": {
                                        "type": "string",
                                        "description": "License key to redeem"
                                    }
                                }
                            },
                            "example": {
                                "type": "upgrade",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id",
                                "username": "user123",
                                "key": "XXXX-XXXX"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Upgraded successfully",
                                    "nonce": ""
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=upgrade&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=user123&key=XXXX-XXXX'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=upgrade&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=user123&key=XXXX-XXXX"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'upgrade',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id',\n  username: 'user123',\n  key: 'XXXX-XXXX'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=upgrade&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&username=user123&key=XXXX-XXXX', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'upgrade',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id',\n    'username': 'user123',\n    'key': 'XXXX-XXXX'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.Upgrade(\"user123\", \"XXXX-XXXX\")"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.UpgradeAsync(\"user123\", \"XXXX-XXXX\");"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.upgrade(\"user123\", \"XXXX-XXXX\");"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.upgrade(\"user123\", \"XXXX-XXXX\");"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.upgrade('user123', 'XXXX-XXXX');"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.upgrade(\"user123\", \"XXXX-XXXX\")?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.upgrade('user123', 'XXXX-XXXX')"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->upgrade('user123', 'XXXX-XXXX');"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:upgrade('user123', 'XXXX-XXXX')"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.Upgrade('user123', 'XXXX-XXXX');"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.Upgrade('user123', 'XXXX-XXXX');"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.UpgradeAsync(\"user123\", \"XXXX-XXXX\");"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.UpgradeAsync(\"user123\", \"XXXX-XXXX\");"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.UpgradeAsync(\"user123\", \"XXXX-XXXX\");"
                    }
                ]
            }
        },
        "/check": {
            "post": {
                "tags": [
                    "Session"
                ],
                "summary": "Check Session",
                "description": "Heartbeat — verify session is still valid. Call periodically from client.\n\nAll requests POST form-urlencoded. `type` is fixed to `check` for this operation.",
                "operationId": "check",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    }
                                }
                            },
                            "example": {
                                "type": "check",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Session is validated."
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Session expired",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": false,
                                    "message": "Session expired"
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=check&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=check&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'check',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=check&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'check',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.Check()"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.CheckAsync();"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.check();"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.check();"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.check();"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.check()?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.check"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->check;"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:check()"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.Check();"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.Check();"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.CheckAsync();"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.CheckAsync();"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.CheckAsync();"
                    }
                ]
            }
        },
        "/logout": {
            "post": {
                "tags": [
                    "Session"
                ],
                "summary": "Logout",
                "description": "Destroy the current session.\n\nAll requests POST form-urlencoded. `type` is fixed to `logout` for this operation.",
                "operationId": "logout",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    }
                                }
                            },
                            "example": {
                                "type": "logout",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Logged out."
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=logout&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=logout&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'logout',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=logout&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'logout',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.Logout()"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogoutAsync();"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.logout();"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.logout();"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.logout();"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.logout()?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.logout"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->logout;"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:logout()"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.Logout();"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.Logout();"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogoutAsync();"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogoutAsync();"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogoutAsync();"
                    }
                ]
            }
        },
        "/var": {
            "post": {
                "tags": [
                    "Data"
                ],
                "summary": "Get Global Variable",
                "description": "Read a global application variable by ID.\n\nAll requests POST form-urlencoded. `type` is fixed to `var` for this operation.",
                "operationId": "var",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid",
                                    "varid"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    },
                                    "varid": {
                                        "type": "string",
                                        "description": "Variable ID from panel"
                                    }
                                }
                            },
                            "example": {
                                "type": "var",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id",
                                "varid": "status"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "...",
                                    "response": "variable_value"
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=var&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&varid=status'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=var&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&varid=status"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'var',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id',\n  varid: 'status'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=var&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&varid=status', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'var',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id',\n    'varid': 'status'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.VarGet(\"status\")"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.VarGetAsync(\"status\");"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.var(\"status\");"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.varGet(\"status\");"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.varGet('status');"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.var_get(\"status\")?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.var_get('status')"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->var_get('status');"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:var('status')"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.VarGet('status');"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.VarGet('status');"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.VarGetAsync(\"status\");"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.VarGetAsync(\"status\");"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.VarGetAsync(\"status\");"
                    }
                ]
            }
        },
        "/log": {
            "post": {
                "tags": [
                    "Data"
                ],
                "summary": "Send Log",
                "description": "Send a client log message to panel Event Logs.\n\nAll requests POST form-urlencoded. `type` is fixed to `log` for this operation.",
                "operationId": "log",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "name",
                                    "ownerid",
                                    "sessionid",
                                    "message"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "Request action name"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Application name from Seller Panel"
                                    },
                                    "ownerid": {
                                        "type": "string",
                                        "description": "10-character Owner ID from panel credentials"
                                    },
                                    "sessionid": {
                                        "type": "string",
                                        "description": "Session ID returned by init"
                                    },
                                    "message": {
                                        "type": "string",
                                        "description": "Log text"
                                    }
                                }
                            },
                            "example": {
                                "type": "log",
                                "name": "MyApp",
                                "ownerid": "XXXXXXXXXX",
                                "sessionid": "your_session_id",
                                "message": "User opened menu"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "success": true,
                                    "message": "Log sent"
                                }
                            }
                        }
                    }
                },
                "x-codeSamples": [
                    {
                        "lang": "bash",
                        "label": "bash",
                        "source": "curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'type=log&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&message=Hello'"
                    },
                    {
                        "lang": "http",
                        "label": "http",
                        "source": "POST /api/1.3/ HTTP/1.1\nHost: libreauth.nutexe.dev\nContent-Type: application/x-www-form-urlencoded\n\ntype=log&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&message=Hello"
                    },
                    {
                        "lang": "javascript",
                        "label": "javascript",
                        "source": "const body = new URLSearchParams({\n  type: 'log',\n  name: 'MyApp',\n  ownerid: 'XXXXXXXXXX',\n  sessionid: 'your_session_id',\n  message: 'Hello'\n});\nfetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })\n  .then(r => r.json()).then(console.log);"
                    },
                    {
                        "lang": "PHP",
                        "label": "PHP",
                        "source": "<?php\n$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');\ncurl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=log&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&message=Hello', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);\necho curl_exec($ch);"
                    },
                    {
                        "lang": "Python",
                        "label": "Python",
                        "source": "import requests\nres = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={\n    'type': 'log',\n    'name': 'MyApp',\n    'ownerid': 'XXXXXXXXXX',\n    'sessionid': 'your_session_id',\n    'message': 'Hello'\n})\nprint(res.json())"
                    },
                    {
                        "lang": "Go",
                        "label": "Go",
                        "source": "app := libreauth.New(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\")\napp.Init()\napp.Log(\"Hello from client\")"
                    },
                    {
                        "lang": "Csharp",
                        "label": "Csharp",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogAsync(\"Hello from client\");"
                    },
                    {
                        "lang": "C++",
                        "label": "C++",
                        "source": "LibreAuth::Client app(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.log(\"Hello from client\");"
                    },
                    {
                        "lang": "Java",
                        "label": "Java",
                        "source": "LibreAuth app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init();\napp.log(\"Hello from client\");"
                    },
                    {
                        "lang": "Typescript",
                        "label": "Typescript",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\nawait app.init();\nawait app.log('Hello from client');"
                    },
                    {
                        "lang": "Rust",
                        "label": "Rust",
                        "source": "let mut app = LibreAuth::new(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\napp.init()?;\napp.log(\"Hello from client\")?;"
                    },
                    {
                        "lang": "Ruby",
                        "label": "Ruby",
                        "source": "app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp.init\napp.log('Hello from client')"
                    },
                    {
                        "lang": "Perl",
                        "label": "Perl",
                        "source": "my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');\n$app->init;\n$app->log('Hello from client');"
                    },
                    {
                        "lang": "Lua",
                        "label": "Lua",
                        "source": "local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')\napp:init()\napp:log('Hello from client')"
                    },
                    {
                        "lang": "React",
                        "label": "React",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);\nawait app.Init();\nawait app.Log('Hello from client');"
                    },
                    {
                        "lang": "Vue",
                        "label": "Vue",
                        "source": "const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);\nawait app.Init();\nawait app.Log('Hello from client');"
                    },
                    {
                        "lang": "Unity",
                        "label": "Unity",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogAsync(\"Hello from client\");"
                    },
                    {
                        "lang": "Wpf",
                        "label": "Wpf",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogAsync(\"Hello from client\");"
                    },
                    {
                        "lang": "Vbnet",
                        "label": "Vbnet",
                        "source": "var app = new LibreAuth(\"MyApp\", \"XXXXXXXXXX\", \"1.0\", \"https://libreauth.nutexe.dev/api/1.3/\");\nawait app.InitAsync();\nawait app.LogAsync(\"Hello from client\");"
                    }
                ]
            }
        }
    },
    "externalDocs": {
        "description": "LibreAuth Documentation",
        "url": "https://libreauth.nutexe.dev/docs/?p=api-endpoints"
    }
}