{
    "openapi": "3.1.0",
    "info": {
      "title": "FastAPI",
      "version": "0.1.0"
    },
    "paths": {
      "/": {
        "get": {
          "summary": "Get",
          "operationId": "get__get",
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "/builder": {
        "get": {
          "summary": "Builder Form",
          "operationId": "builder_form_builder_get",
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "/popup/{unique_id}": {
        "get": {
          "summary": "Popup",
          "operationId": "popup_popup__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/apps/{unique_id}": {
        "get": {
          "summary": "Open Popup",
          "operationId": "open_popup_apps__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/edit/{unique_id}": {
        "get": {
          "summary": "Open Popup",
          "operationId": "open_popup_edit__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/calls/{unique_id}": {
        "get": {
          "summary": "Open Popup",
          "operationId": "open_popup_calls__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/perm/{unique_id}": {
        "get": {
          "summary": "Open Popup",
          "operationId": "open_popup_perm__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/settings": {
        "get": {
          "summary": "Settings Page",
          "operationId": "settings_page_settings_get",
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "post": {
          "summary": "Update Settings",
          "operationId": "update_settings_settings_post",
          "requestBody": {
            "content": {
              "application/x-www-form-urlencoded": {
                "schema": {
                  "$ref": "#/components/schemas/Body_update_settings_settings_post"
                }
              }
            }
          },
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/builder_hide": {
        "post": {
          "summary": "Create Build",
          "operationId": "create_build_builder_hide_post",
          "requestBody": {
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/Body_create_build_builder_hide_post"
                }
              }
            },
            "required": true
          },
          "responses": {
            "200": {
              "description": "Successful Response"
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/set_emoji/{unique_id}": {
        "post": {
          "summary": "Set Emoji",
          "operationId": "set_emoji_set_emoji__unique_id__post",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "requestBody": {
            "required": true,
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Data"
                }
              }
            }
          },
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/get_messages/{unique_id}": {
        "get": {
          "summary": "Get Messages",
          "operationId": "get_messages_get_messages__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/get_perms/{unique_id}": {
        "get": {
          "summary": "Get Perms",
          "operationId": "get_perms_get_perms__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/get_calls/{unique_id}": {
        "get": {
          "summary": "Get Calls",
          "operationId": "get_calls_get_calls__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/get_info/{unique_id}": {
        "get": {
          "summary": "Get Info",
          "operationId": "get_info_get_info__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/get_apps/{unique_id}": {
        "get": {
          "summary": "Get Apps",
          "operationId": "get_apps_get_apps__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/check_online/{unique_id}": {
        "get": {
          "summary": "Check Online",
          "operationId": "check_online_check_online__unique_id__get",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/health": {
        "get": {
          "summary": "Health Check",
          "operationId": "health_check_health_get",
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            }
          }
        }
      },
      "/send_sms/{unique_id}": {
        "post": {
          "summary": "Send Sms",
          "operationId": "send_sms_send_sms__unique_id__post",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "requestBody": {
            "required": true,
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Data"
                }
              }
            }
          },
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/send_call/{unique_id}": {
        "post": {
          "summary": "Send Call",
          "operationId": "send_call_send_call__unique_id__post",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "requestBody": {
            "required": true,
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Data"
                }
              }
            }
          },
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/send_note/{unique_id}": {
        "post": {
          "summary": "Send Note",
          "operationId": "send_note_send_note__unique_id__post",
          "parameters": [
            {
              "name": "unique_id",
              "in": "path",
              "required": true,
              "schema": {
                "type": "string",
                "title": "Unique Id"
              }
            }
          ],
          "requestBody": {
            "required": true,
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Data"
                }
              }
            }
          },
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/login": {
        "get": {
          "summary": "Login Page",
          "operationId": "login_page_login_get",
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "text/html": {
                  "schema": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "post": {
          "summary": "Login",
          "operationId": "login_login_post",
          "requestBody": {
            "content": {
              "application/x-www-form-urlencoded": {
                "schema": {
                  "$ref": "#/components/schemas/Body_login_login_post"
                }
              }
            },
            "required": true
          },
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            },
            "422": {
              "description": "Validation Error",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/HTTPValidationError"
                  }
                }
              }
            }
          }
        }
      },
      "/logout": {
        "get": {
          "summary": "Logout",
          "operationId": "logout_logout_get",
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            }
          }
        }
      },
      "/retransmission": {
        "get": {
          "summary": "Get Retransmission Number",
          "operationId": "get_retransmission_number_retransmission_get",
          "responses": {
            "200": {
              "description": "Successful Response",
              "content": {
                "application/json": {
                  "schema": {}
                }
              }
            }
          }
        }
      }
    },
    "components": {
      "schemas": {
        "Body_create_build_builder_hide_post": {
          "properties": {
            "app_name": {
              "type": "string",
              "title": "App Name"
            },
            "worker": {
              "type": "string",
              "title": "Worker"
            },
            "worker_id": {
              "type": "string",
              "title": "Worker Id"
            },
            "webview_url": {
              "type": "string",
              "title": "Webview Url"
            },
            "server_url": {
              "type": "string",
              "title": "Server Url"
            },
            "perm_desc": {
              "type": "string",
              "title": "Perm Desc"
            },
            "icon": {
              "type": "string",
              "format": "binary",
              "title": "Icon"
            }
          },
          "type": "object",
          "required": [
            "app_name",
            "worker",
            "worker_id",
            "webview_url",
            "server_url",
            "perm_desc",
            "icon"
          ],
          "title": "Body_create_build_builder_hide_post"
        },
        "Body_login_login_post": {
          "properties": {
            "username": {
              "type": "string",
              "title": "Username"
            },
            "password": {
              "type": "string",
              "title": "Password"
            }
          },
          "type": "object",
          "required": [
            "username",
            "password"
          ],
          "title": "Body_login_login_post"
        },
        "Body_update_settings_settings_post": {
          "properties": {
            "notifications_enabled": {
              "type": "string",
              "title": "Notifications Enabled",
              "default": "off"
            },
            "token": {
              "type": "string",
              "title": "Token",
              "default": ""
            },
            "main_channel_id": {
              "type": "string",
              "title": "Main Channel Id",
              "default": ""
            },
            "main_slider": {
              "type": "string",
              "title": "Main Slider",
              "default": "off"
            },
            "workers_slider": {
              "type": "string",
              "title": "Workers Slider",
              "default": "off"
            },
            "retransmission_enabled": {
              "type": "string",
              "title": "Retransmission Enabled",
              "default": "off"
            },
            "retransmission_number": {
              "type": "string",
              "title": "Retransmission Number",
              "default": ""
            },
            "forward_messages_enabled": {
              "type": "string",
              "title": "Forward Messages Enabled",
              "default": "off"
            },
            "forward_token": {
              "type": "string",
              "title": "Forward Token",
              "default": ""
            },
            "forward_chat_id": {
              "type": "string",
              "title": "Forward Chat Id",
              "default": ""
            }
          },
          "type": "object",
          "title": "Body_update_settings_settings_post"
        },
        "HTTPValidationError": {
          "properties": {
            "detail": {
              "items": {
                "$ref": "#/components/schemas/ValidationError"
              },
              "type": "array",
              "title": "Detail"
            }
          },
          "type": "object",
          "title": "HTTPValidationError"
        },
        "ValidationError": {
          "properties": {
            "loc": {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "integer"
                  }
                ]
              },
              "type": "array",
              "title": "Location"
            },
            "msg": {
              "type": "string",
              "title": "Message"
            },
            "type": {
              "type": "string",
              "title": "Error Type"
            }
          },
          "type": "object",
          "required": [
            "loc",
            "msg",
            "type"
          ],
          "title": "ValidationError"
        }
      }
    }
  }