{
  "openapi": "3.1.0",
  "info": {
    "title": "Lyra Public API",
    "version": "1.0.0-beta",
    "description": "The supported REST contract for bots and integrations. Administrative, moderation-port, federation and internal service routes are intentionally excluded.",
    "license": {
      "name": "PolyForm Noncommercial 1.0.0",
      "url": "https://polyformproject.org/licenses/noncommercial/1.0.0/"
    }
  },
  "servers": [
    {
      "url": "https://beta.lyra.social",
      "description": "Lyra beta"
    },
    {
      "url": "http://localhost:8080",
      "description": "Self-hosted gateway"
    }
  ],
  "externalDocs": {
    "description": "Gateway and integration guides",
    "url": "https://dev.beta.lyra.social/docs/getting-started"
  },
  "tags": [
    {
      "name": "Activities"
    },
    {
      "name": "Applications"
    },
    {
      "name": "Auth"
    },
    {
      "name": "Channels"
    },
    {
      "name": "Dms"
    },
    {
      "name": "Guilds"
    },
    {
      "name": "Interactions"
    },
    {
      "name": "Invites"
    },
    {
      "name": "Media"
    },
    {
      "name": "Moderation"
    },
    {
      "name": "Platform"
    },
    {
      "name": "Public"
    },
    {
      "name": "Reports"
    },
    {
      "name": "Search"
    },
    {
      "name": "Space-invites"
    },
    {
      "name": "Spaces"
    },
    {
      "name": "Users"
    },
    {
      "name": "Vanity"
    },
    {
      "name": "Webhooks"
    },
    {
      "name": "Whiteboards"
    }
  ],
  "paths": {
    "/api/v1/activities/{activity_id}": {
      "delete": {
        "tags": [
          "Activities"
        ],
        "summary": "End activity",
        "operationId": "delete_api_v1_activities_activity_id",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::end_activity",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Activities"
        ],
        "summary": "Get activity",
        "operationId": "get_api_v1_activities_activity_id",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::get_activity",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/activities/{activity_id}/join": {
      "post": {
        "tags": [
          "Activities"
        ],
        "summary": "Join activity",
        "operationId": "post_api_v1_activities_activity_id_join",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::join_activity",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/activities/{activity_id}/leave": {
      "post": {
        "tags": [
          "Activities"
        ],
        "summary": "Leave activity",
        "operationId": "post_api_v1_activities_activity_id_leave",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::leave_activity",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/activities/{activity_id}/play-pause": {
      "post": {
        "tags": [
          "Activities"
        ],
        "summary": "Activity play pause",
        "operationId": "post_api_v1_activities_activity_id_play_pause",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::activity_play_pause",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlayPauseRequest"
              }
            }
          },
          "x-lyra-rust-type": "PlayPauseRequest"
        }
      }
    },
    "/api/v1/activities/{activity_id}/seek": {
      "post": {
        "tags": [
          "Activities"
        ],
        "summary": "Activity seek",
        "operationId": "post_api_v1_activities_activity_id_seek",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::activity_seek",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SeekRequest"
              }
            }
          },
          "x-lyra-rust-type": "SeekRequest"
        }
      }
    },
    "/api/v1/activities/{activity_id}/snapshot": {
      "get": {
        "tags": [
          "Activities"
        ],
        "summary": "Get activity snapshot",
        "operationId": "get_api_v1_activities_activity_id_snapshot",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::get_activity_snapshot",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/activities/{activity_id}/state": {
      "post": {
        "tags": [
          "Activities"
        ],
        "summary": "Activity state update",
        "operationId": "post_api_v1_activities_activity_id_state",
        "parameters": [
          {
            "name": "activity_id",
            "in": "path",
            "required": true,
            "description": "Activity id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::activity_state_update",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StateUpdateRequest"
              }
            }
          },
          "x-lyra-rust-type": "StateUpdateRequest"
        }
      }
    },
    "/api/v1/applications": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "List applications",
        "operationId": "get_api_v1_applications",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::list_applications",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      },
      "post": {
        "tags": [
          "Applications"
        ],
        "summary": "Create application",
        "operationId": "post_api_v1_applications",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::create_application",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApplicationRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateApplicationRequest"
        }
      }
    },
    "/api/v1/applications/{app_id}": {
      "delete": {
        "tags": [
          "Applications"
        ],
        "summary": "Delete application",
        "operationId": "delete_api_v1_applications_app_id",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::delete_application",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      },
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get application",
        "operationId": "get_api_v1_applications_app_id",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::get_application",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Applications"
        ],
        "summary": "Update application",
        "operationId": "patch_api_v1_applications_app_id",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::update_application",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateApplicationRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateApplicationRequest"
        }
      }
    },
    "/api/v1/applications/{app_id}/api-logs": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "App api logs",
        "operationId": "get_api_v1_applications_app_id_api_logs",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "admin::app_api_logs",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/applications/{app_id}/bot": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get bot info",
        "operationId": "get_api_v1_applications_app_id_bot",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::get_bot_info",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Applications"
        ],
        "summary": "Update bot",
        "operationId": "patch_api_v1_applications_app_id_bot",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::update_bot",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBotRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateBotRequest"
        }
      }
    },
    "/api/v1/applications/{app_id}/bot/invite-url": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get bot invite url",
        "operationId": "get_api_v1_applications_app_id_bot_invite_url",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::get_bot_invite_url",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/applications/{app_id}/bot/reset-token": {
      "post": {
        "tags": [
          "Applications"
        ],
        "summary": "Reset bot token",
        "operationId": "post_api_v1_applications_app_id_bot_reset_token",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::reset_bot_token",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/applications/{app_id}/commands": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "List global commands",
        "operationId": "get_api_v1_applications_app_id_commands",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::list_global_commands",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      },
      "post": {
        "tags": [
          "Applications"
        ],
        "summary": "Create global command",
        "operationId": "post_api_v1_applications_app_id_commands",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::create_global_command",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCommandRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateCommandRequest"
        }
      },
      "put": {
        "tags": [
          "Applications"
        ],
        "summary": "Bulk overwrite global commands",
        "operationId": "put_api_v1_applications_app_id_commands",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::bulk_overwrite_global_commands",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CreateCommandRequest"
                }
              }
            }
          },
          "x-lyra-rust-type": "Vec<CreateCommandRequest>"
        }
      }
    },
    "/api/v1/applications/{app_id}/commands/{cmd_id}": {
      "delete": {
        "tags": [
          "Applications"
        ],
        "summary": "Delete global command",
        "operationId": "delete_api_v1_applications_app_id_commands_cmd_id",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cmd_id",
            "in": "path",
            "required": true,
            "description": "Cmd id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::delete_global_command",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/applications/{app_id}/metrics": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "App metrics",
        "operationId": "get_api_v1_applications_app_id_metrics",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "admin::app_metrics",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/applications/{app_id}/public": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get public application",
        "operationId": "get_api_v1_applications_app_id_public",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "applications::get_public_application",
        "security": []
      }
    },
    "/api/v1/applications/{app_id}/webhook-deliveries": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "List deliveries",
        "operationId": "get_api_v1_applications_app_id_webhook_deliveries",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "application_webhooks::list_deliveries",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/applications/{app_id}/webhooks": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "List webhooks",
        "operationId": "get_api_v1_applications_app_id_webhooks",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "application_webhooks::list_webhooks",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      },
      "post": {
        "tags": [
          "Applications"
        ],
        "summary": "Create webhook",
        "operationId": "post_api_v1_applications_app_id_webhooks",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "application_webhooks::create_webhook",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateWebhookRequest"
        }
      }
    },
    "/api/v1/applications/{app_id}/webhooks/{webhook_id}": {
      "delete": {
        "tags": [
          "Applications"
        ],
        "summary": "Delete webhook",
        "operationId": "delete_api_v1_applications_app_id_webhooks_webhook_id",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "application_webhooks::delete_webhook",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Applications"
        ],
        "summary": "Update webhook",
        "operationId": "patch_api_v1_applications_app_id_webhooks_webhook_id",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "application_webhooks::update_webhook",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateWebhookRequest"
        }
      }
    },
    "/api/v1/applications/{app_id}/webhooks/{webhook_id}/regenerate-secret": {
      "post": {
        "tags": [
          "Applications"
        ],
        "summary": "Regenerate secret",
        "operationId": "post_api_v1_applications_app_id_webhooks_webhook_id_regenerate_secret",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "application_webhooks::regenerate_secret",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/applications/{app_id}/webhooks/{webhook_id}/test": {
      "post": {
        "tags": [
          "Applications"
        ],
        "summary": "Test webhook",
        "operationId": "post_api_v1_applications_app_id_webhooks_webhook_id_test",
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "application_webhooks::test_webhook",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/api/v1/auth/forgot-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Forgot password",
        "operationId": "post_api_v1_auth_forgot_password",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "account::forgot_password",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            }
          },
          "x-lyra-rust-type": "ForgotPasswordRequest"
        }
      }
    },
    "/api/v1/auth/reset-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Reset password",
        "operationId": "post_api_v1_auth_reset_password",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "account::reset_password",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            }
          },
          "x-lyra-rust-type": "ResetPasswordRequest"
        }
      }
    },
    "/api/v1/auth/verify-email/{token}": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Verify email",
        "operationId": "post_api_v1_auth_verify_email_token",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "Token",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "account::verify_email",
        "security": []
      }
    },
    "/api/v1/channels/{channel_id}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Delete channel",
        "operationId": "delete_api_v1_channels_channel_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::delete_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get channel",
        "operationId": "get_api_v1_channels_channel_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Channels"
        ],
        "summary": "Update channel",
        "operationId": "patch_api_v1_channels_channel_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::update_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateChannelRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateChannelRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/ack": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Ack channel",
        "operationId": "post_api_v1_channels_channel_id_ack",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "read_state::ack_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/activities": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "List channel activities",
        "operationId": "get_api_v1_channels_channel_id_activities",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::list_channel_activities",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Create activity",
        "operationId": "post_api_v1_channels_channel_id_activities",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::create_activity",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateActivityRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateActivityRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/activities/active": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get active activity",
        "operationId": "get_api_v1_channels_channel_id_activities_active",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "activities::get_active_activity",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/attachments": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Upload attachment",
        "operationId": "post_api_v1_channels_channel_id_attachments",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::upload_attachment",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/drive-links": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "List channel drive links",
        "operationId": "get_api_v1_channels_channel_id_drive_links",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriveLinkResponse"
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_links::list_channel_drive_links",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Create channel drive link",
        "operationId": "post_api_v1_channels_channel_id_drive_links",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DriveLinkResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_links::create_channel_drive_link",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDriveLinkRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateDriveLinkRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/drive-links/{link_id}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Delete channel drive link",
        "operationId": "delete_api_v1_channels_channel_id_drive_links_link_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link_id",
            "in": "path",
            "required": true,
            "description": "Link id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_links::delete_channel_drive_link",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/followers": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "List followers",
        "operationId": "get_api_v1_channels_channel_id_followers",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::list_followers",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Create follow",
        "operationId": "post_api_v1_channels_channel_id_followers",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::create_follow",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFollowRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateFollowRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/followers/{target_channel_id}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Delete follow",
        "operationId": "delete_api_v1_channels_channel_id_followers_target_channel_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "target_channel_id",
            "in": "path",
            "required": true,
            "description": "Target channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source_node_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::delete_follow",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/messages": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get messages",
        "operationId": "get_api_v1_channels_channel_id_messages",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_messages",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Create message",
        "operationId": "post_api_v1_channels_channel_id_messages",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::create_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMessageRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateMessageRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/messages/search": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Proxy channel search",
        "operationId": "get_api_v1_channels_channel_id_messages_search",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "search::proxy_channel_search",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Delete message",
        "operationId": "delete_api_v1_channels_channel_id_messages_message_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::delete_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get message",
        "operationId": "get_api_v1_channels_channel_id_messages_message_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Channels"
        ],
        "summary": "Update message",
        "operationId": "patch_api_v1_channels_channel_id_messages_message_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::update_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMessageRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateMessageRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}/crosspost": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Unpublish message",
        "operationId": "delete_api_v1_channels_channel_id_messages_message_id_crosspost",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::unpublish_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Crosspost message",
        "operationId": "post_api_v1_channels_channel_id_messages_message_id_crosspost",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::crosspost_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}/poll/answers/{answer_id}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Unvote poll",
        "operationId": "delete_api_v1_channels_channel_id_messages_message_id_poll_answers_answer_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "answer_id",
            "in": "path",
            "required": true,
            "description": "Answer id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::unvote_poll",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get poll voters",
        "operationId": "get_api_v1_channels_channel_id_messages_message_id_poll_answers_answer_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "answer_id",
            "in": "path",
            "required": true,
            "description": "Answer id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_poll_voters",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Channels"
        ],
        "summary": "Vote poll",
        "operationId": "put_api_v1_channels_channel_id_messages_message_id_poll_answers_answer_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "answer_id",
            "in": "path",
            "required": true,
            "description": "Answer id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::vote_poll",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}/poll/close": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Close poll",
        "operationId": "post_api_v1_channels_channel_id_messages_message_id_poll_close",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::close_poll",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}/reactions/{emoji}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Remove reaction",
        "operationId": "delete_api_v1_channels_channel_id_messages_message_id_reactions_emoji",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji",
            "in": "path",
            "required": true,
            "description": "Emoji",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::remove_reaction",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get reactions",
        "operationId": "get_api_v1_channels_channel_id_messages_message_id_reactions_emoji",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji",
            "in": "path",
            "required": true,
            "description": "Emoji",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_reactions",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Channels"
        ],
        "summary": "Add reaction",
        "operationId": "put_api_v1_channels_channel_id_messages_message_id_reactions_emoji",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji",
            "in": "path",
            "required": true,
            "description": "Emoji",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::add_reaction",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}/replies": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get replies",
        "operationId": "get_api_v1_channels_channel_id_messages_message_id_replies",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_replies",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}/report": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Report message",
        "operationId": "post_api_v1_channels_channel_id_messages_message_id_report",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::report_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportMessageRequest"
              }
            }
          },
          "x-lyra-rust-type": "ReportMessageRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/messages/{message_id}/threads": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Create thread from message",
        "operationId": "post_api_v1_channels_channel_id_messages_message_id_threads",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::create_thread_from_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateThreadRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateThreadRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/pins": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get pins",
        "operationId": "get_api_v1_channels_channel_id_pins",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_pins",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/pins/{message_id}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Unpin message",
        "operationId": "delete_api_v1_channels_channel_id_pins_message_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::unpin_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Channels"
        ],
        "summary": "Pin message",
        "operationId": "put_api_v1_channels_channel_id_pins_message_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::pin_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/rtc/room": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get rtc room",
        "operationId": "get_api_v1_channels_channel_id_rtc_room",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_rtc_room",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/rtc/token": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get rtc token",
        "operationId": "get_api_v1_channels_channel_id_rtc_token",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_rtc_token",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/share": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Demote channel",
        "operationId": "delete_api_v1_channels_channel_id_share",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::demote_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get sharing info",
        "operationId": "get_api_v1_channels_channel_id_share",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::get_sharing_info",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Promote channel",
        "operationId": "post_api_v1_channels_channel_id_share",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::promote_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/_"
              }
            }
          },
          "x-lyra-rust-type": "_"
        }
      }
    },
    "/api/v1/channels/{channel_id}/share/links": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Link guild",
        "operationId": "post_api_v1_channels_channel_id_share_links",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::link_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGuildRequest"
              }
            }
          },
          "x-lyra-rust-type": "LinkGuildRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/share/links/{guild_id}": {
      "delete": {
        "tags": [
          "Channels"
        ],
        "summary": "Unlink guild",
        "operationId": "delete_api_v1_channels_channel_id_share_links_guild_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::unlink_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Channels"
        ],
        "summary": "Update link",
        "operationId": "patch_api_v1_channels_channel_id_share_links_guild_id",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::update_link",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLinkRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateLinkRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/threads": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "List threads",
        "operationId": "get_api_v1_channels_channel_id_threads",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "archived",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::list_threads",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Create thread",
        "operationId": "post_api_v1_channels_channel_id_threads",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::create_thread",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateThreadRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateThreadRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/typing": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Trigger typing",
        "operationId": "post_api_v1_channels_channel_id_typing",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::trigger_typing",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/upload": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Upload attachment",
        "operationId": "post_api_v1_channels_channel_id_upload",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::upload_attachment",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/channels/{channel_id}/whiteboards": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "List whiteboards",
        "operationId": "get_api_v1_channels_channel_id_whiteboards",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::list_whiteboards",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Create whiteboard",
        "operationId": "post_api_v1_channels_channel_id_whiteboards",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::create_whiteboard",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWhiteboardRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateWhiteboardRequest"
        }
      }
    },
    "/api/v1/channels/{channel_id}/whiteboards/active": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get active whiteboard",
        "operationId": "get_api_v1_channels_channel_id_whiteboards_active",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::get_active_whiteboard",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/client-versions": {
      "get": {
        "tags": [
          "Platform"
        ],
        "summary": "Client versions",
        "operationId": "get_api_v1_client_versions",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "client_versions::client_versions",
        "security": []
      }
    },
    "/api/v1/dms/{channel_id}/ack": {
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Ack channel",
        "operationId": "post_api_v1_dms_channel_id_ack",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "read_state::ack_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{channel_id}/rtc": {
      "delete": {
        "tags": [
          "Dms"
        ],
        "summary": "Leave dm call",
        "operationId": "delete_api_v1_dms_channel_id_rtc",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::leave_dm_call",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Dms"
        ],
        "summary": "Get dm call",
        "operationId": "get_api_v1_dms_channel_id_rtc",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::get_dm_call",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Join dm call",
        "operationId": "post_api_v1_dms_channel_id_rtc",
        "parameters": [
          {
            "name": "channel_id",
            "in": "path",
            "required": true,
            "description": "Channel id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::join_dm_call",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}": {
      "get": {
        "tags": [
          "Dms"
        ],
        "summary": "Get dm channel",
        "operationId": "get_api_v1_dms_dm_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::get_dm_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Dms"
        ],
        "summary": "Update dm channel",
        "operationId": "patch_api_v1_dms_dm_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::update_dm_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDmRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateDmRequest"
        }
      }
    },
    "/api/v1/dms/{dm_id}/attachments": {
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Get dm upload url",
        "operationId": "post_api_v1_dms_dm_id_attachments",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::get_dm_upload_url",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/messages": {
      "get": {
        "tags": [
          "Dms"
        ],
        "summary": "Get dm messages",
        "operationId": "get_api_v1_dms_dm_id_messages",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::get_dm_messages",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Send dm message",
        "operationId": "post_api_v1_dms_dm_id_messages",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::send_dm_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendDmMessageRequest"
              }
            }
          },
          "x-lyra-rust-type": "SendDmMessageRequest"
        }
      }
    },
    "/api/v1/dms/{dm_id}/messages/search": {
      "get": {
        "tags": [
          "Dms"
        ],
        "summary": "Search dm messages",
        "operationId": "get_api_v1_dms_dm_id_messages_search",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::search_dm_messages",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/messages/{message_id}": {
      "delete": {
        "tags": [
          "Dms"
        ],
        "summary": "Delete dm message",
        "operationId": "delete_api_v1_dms_dm_id_messages_message_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::delete_dm_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Dms"
        ],
        "summary": "Update dm message",
        "operationId": "patch_api_v1_dms_dm_id_messages_message_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::update_dm_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDmMessageRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateDmMessageRequest"
        }
      }
    },
    "/api/v1/dms/{dm_id}/messages/{message_id}/poll/answers/{answer_id}": {
      "delete": {
        "tags": [
          "Dms"
        ],
        "summary": "Unvote dm poll",
        "operationId": "delete_api_v1_dms_dm_id_messages_message_id_poll_answers_answer_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "answer_id",
            "in": "path",
            "required": true,
            "description": "Answer id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::unvote_dm_poll",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Dms"
        ],
        "summary": "Get dm poll voters",
        "operationId": "get_api_v1_dms_dm_id_messages_message_id_poll_answers_answer_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "answer_id",
            "in": "path",
            "required": true,
            "description": "Answer id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::get_dm_poll_voters",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Dms"
        ],
        "summary": "Vote dm poll",
        "operationId": "put_api_v1_dms_dm_id_messages_message_id_poll_answers_answer_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "answer_id",
            "in": "path",
            "required": true,
            "description": "Answer id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::vote_dm_poll",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/messages/{message_id}/poll/close": {
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Close dm poll",
        "operationId": "post_api_v1_dms_dm_id_messages_message_id_poll_close",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "channels::close_dm_poll",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/messages/{message_id}/reactions/{emoji}": {
      "delete": {
        "tags": [
          "Dms"
        ],
        "summary": "Remove dm reaction",
        "operationId": "delete_api_v1_dms_dm_id_messages_message_id_reactions_emoji",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji",
            "in": "path",
            "required": true,
            "description": "Emoji",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::remove_dm_reaction",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Dms"
        ],
        "summary": "Get dm reactions",
        "operationId": "get_api_v1_dms_dm_id_messages_message_id_reactions_emoji",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji",
            "in": "path",
            "required": true,
            "description": "Emoji",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::get_dm_reactions",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Dms"
        ],
        "summary": "Add dm reaction",
        "operationId": "put_api_v1_dms_dm_id_messages_message_id_reactions_emoji",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji",
            "in": "path",
            "required": true,
            "description": "Emoji",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::add_dm_reaction",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/mls/commit": {
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Commit mls epoch",
        "operationId": "post_api_v1_dms_dm_id_mls_commit",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::commit_mls_epoch",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlsCommitRequest"
              }
            }
          },
          "x-lyra-rust-type": "MlsCommitRequest"
        }
      }
    },
    "/api/v1/dms/{dm_id}/pins": {
      "get": {
        "tags": [
          "Dms"
        ],
        "summary": "Get dm pins",
        "operationId": "get_api_v1_dms_dm_id_pins",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::get_dm_pins",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/pins/{message_id}": {
      "delete": {
        "tags": [
          "Dms"
        ],
        "summary": "Unpin dm message",
        "operationId": "delete_api_v1_dms_dm_id_pins_message_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::unpin_dm_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Dms"
        ],
        "summary": "Pin dm message",
        "operationId": "put_api_v1_dms_dm_id_pins_message_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "description": "Message id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::pin_dm_message",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/recipients/{user_id}": {
      "delete": {
        "tags": [
          "Dms"
        ],
        "summary": "Remove recipient",
        "operationId": "delete_api_v1_dms_dm_id_recipients_user_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::remove_recipient",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Add recipient",
        "operationId": "post_api_v1_dms_dm_id_recipients_user_id",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::add_recipient",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/typing": {
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Trigger dm typing",
        "operationId": "post_api_v1_dms_dm_id_typing",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::trigger_dm_typing",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/dms/{dm_id}/upload": {
      "post": {
        "tags": [
          "Dms"
        ],
        "summary": "Upload dm attachment",
        "operationId": "post_api_v1_dms_dm_id_upload",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::upload_dm_attachment",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create guild",
        "operationId": "post_api_v1_guilds",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::create_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGuildRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateGuildRequest"
        }
      }
    },
    "/api/v1/guilds/discover": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Discover guilds",
        "operationId": "get_api_v1_guilds_discover",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "theme",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "nsfw",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "min_members",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "guilds::discover_guilds",
        "security": []
      }
    },
    "/api/v1/guilds/search": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Search guilds",
        "operationId": "get_api_v1_guilds_search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "theme",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "nsfw",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "min_members",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "guilds::search_guilds",
        "security": []
      }
    },
    "/api/v1/guilds/{guild_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete guild",
        "operationId": "delete_api_v1_guilds_guild_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::delete_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get guild",
        "operationId": "get_api_v1_guilds_guild_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update guild",
        "operationId": "patch_api_v1_guilds_guild_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGuildRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateGuildRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/applications": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List applications",
        "operationId": "get_api_v1_guilds_guild_id_applications",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MembershipApplicationStatus"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::list_applications",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/applications/@me": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get my application",
        "operationId": "get_api_v1_guilds_guild_id_applications_me",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_my_application",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/applications/{application_id}": {
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Decide application",
        "operationId": "patch_api_v1_guilds_guild_id_applications_application_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "application_id",
            "in": "path",
            "required": true,
            "description": "Application id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::decide_application",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideApplicationRequest"
              }
            }
          },
          "x-lyra-rust-type": "DecideApplicationRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/audit-log": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get audit log",
        "operationId": "get_api_v1_guilds_guild_id_audit_log",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "user_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "audit_log::get_audit_log",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/automod": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get config",
        "operationId": "get_api_v1_guilds_guild_id_automod",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "automod::get_config",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update config",
        "operationId": "put_api_v1_guilds_guild_id_automod",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "automod::update_config",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAutomod"
              }
            }
          },
          "x-lyra-rust-type": "UpdateAutomod"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/automod/alerts": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List alerts",
        "operationId": "get_api_v1_guilds_guild_id_automod_alerts",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "automod::list_alerts",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/bans": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get bans",
        "operationId": "get_api_v1_guilds_guild_id_bans",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_bans",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/bans/{user_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Unban member",
        "operationId": "delete_api_v1_guilds_guild_id_bans_user_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::unban_member",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Ban member",
        "operationId": "post_api_v1_guilds_guild_id_bans_user_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::ban_member",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BanRequest"
              }
            }
          },
          "x-lyra-rust-type": "BanRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/bot-authorize": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Authorize bot",
        "operationId": "post_api_v1_guilds_guild_id_bot_authorize",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "applications::authorize_bot",
        "security": [
          {
            "HumanBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeBotRequest"
              }
            }
          },
          "x-lyra-rust-type": "AuthorizeBotRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/channels": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get channels",
        "operationId": "get_api_v1_guilds_guild_id_channels",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_channels",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create channel",
        "operationId": "post_api_v1_guilds_guild_id_channels",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::create_channel",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateChannelRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateChannelRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/commands": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List all guild commands",
        "operationId": "get_api_v1_guilds_guild_id_commands",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::list_all_guild_commands",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/commands/{app_id}": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild commands",
        "operationId": "get_api_v1_guilds_guild_id_commands_app_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::list_guild_commands",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Guilds"
        ],
        "summary": "Bulk overwrite guild commands",
        "operationId": "put_api_v1_guilds_guild_id_commands_app_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "description": "App id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::bulk_overwrite_guild_commands",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CreateCommandRequest"
                }
              }
            }
          },
          "x-lyra-rust-type": "Vec<CreateCommandRequest>"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/discoverability": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get discoverability",
        "operationId": "get_api_v1_guilds_guild_id_discoverability",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_discoverability",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update discoverability",
        "operationId": "patch_api_v1_guilds_guild_id_discoverability",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_discoverability",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDiscoverabilityRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateDiscoverabilityRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/audit": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild drive audit",
        "operationId": "get_api_v1_guilds_guild_id_drive_audit",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::list_guild_drive_audit",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/folders": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create guild drive folder",
        "operationId": "post_api_v1_guilds_guild_id_drive_folders",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::create_guild_drive_folder",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          },
          "x-lyra-rust-type": "Value"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/folders/{folder_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Trash guild drive folder",
        "operationId": "delete_api_v1_guilds_guild_id_drive_folders_folder_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "folder_id",
            "in": "path",
            "required": true,
            "description": "Folder id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::trash_guild_drive_folder",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild drive folder",
        "operationId": "get_api_v1_guilds_guild_id_drive_folders_folder_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "folder_id",
            "in": "path",
            "required": true,
            "description": "Folder id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::list_guild_drive_folder",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Rename guild drive folder",
        "operationId": "patch_api_v1_guilds_guild_id_drive_folders_folder_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "folder_id",
            "in": "path",
            "required": true,
            "description": "Folder id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::rename_guild_drive_folder",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          },
          "x-lyra-rust-type": "Value"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/folders/{folder_id}/acl": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get folder acl",
        "operationId": "get_api_v1_guilds_guild_id_drive_folders_folder_id_acl",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "folder_id",
            "in": "path",
            "required": true,
            "description": "Folder id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::get_folder_acl",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Guilds"
        ],
        "summary": "Set folder acl",
        "operationId": "put_api_v1_guilds_guild_id_drive_folders_folder_id_acl",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "folder_id",
            "in": "path",
            "required": true,
            "description": "Folder id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::set_folder_acl",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetFolderAclBody"
              }
            }
          },
          "x-lyra-rust-type": "SetFolderAclBody"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/items": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Register guild drive item",
        "operationId": "post_api_v1_guilds_guild_id_drive_items",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::register_guild_drive_item",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          },
          "x-lyra-rust-type": "Value"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/items/search": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Search guild drive items",
        "operationId": "get_api_v1_guilds_guild_id_drive_items_search",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "author_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "mentions",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "has",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::search_guild_drive_items",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/items/{item_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete guild drive item",
        "operationId": "delete_api_v1_guilds_guild_id_drive_items_item_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item_id",
            "in": "path",
            "required": true,
            "description": "Item id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::delete_guild_drive_item",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get guild drive item",
        "operationId": "get_api_v1_guilds_guild_id_drive_items_item_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item_id",
            "in": "path",
            "required": true,
            "description": "Item id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::get_guild_drive_item",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update guild drive item",
        "operationId": "patch_api_v1_guilds_guild_id_drive_items_item_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item_id",
            "in": "path",
            "required": true,
            "description": "Item id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::update_guild_drive_item",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          },
          "x-lyra-rust-type": "Value"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/items/{item_id}/download-token": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get drive item download token",
        "operationId": "get_api_v1_guilds_guild_id_drive_items_item_id_download_token",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item_id",
            "in": "path",
            "required": true,
            "description": "Item id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::get_drive_item_download_token",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/items/{item_id}/restore": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Restore guild drive item",
        "operationId": "post_api_v1_guilds_guild_id_drive_items_item_id_restore",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item_id",
            "in": "path",
            "required": true,
            "description": "Item id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::restore_guild_drive_item",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/items/{item_id}/trash": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Trash guild drive item",
        "operationId": "post_api_v1_guilds_guild_id_drive_items_item_id_trash",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item_id",
            "in": "path",
            "required": true,
            "description": "Item id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::trash_guild_drive_item",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/quota": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get guild drive quota",
        "operationId": "get_api_v1_guilds_guild_id_drive_quota",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::get_guild_drive_quota",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Set guild drive quota",
        "operationId": "patch_api_v1_guilds_guild_id_drive_quota",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::set_guild_drive_quota",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetQuotaRequest"
              }
            }
          },
          "x-lyra-rust-type": "SetQuotaRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/search": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Proxy drive search",
        "operationId": "get_api_v1_guilds_guild_id_drive_search",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "search::proxy_drive_search",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/shares": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild drive shares",
        "operationId": "get_api_v1_guilds_guild_id_drive_shares",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "direction",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "include_revoked",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::list_guild_drive_shares",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create guild drive share",
        "operationId": "post_api_v1_guilds_guild_id_drive_shares",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::create_guild_drive_share",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDriveShareRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateDriveShareRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/shares/{share_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Revoke guild drive share",
        "operationId": "delete_api_v1_guilds_guild_id_drive_shares_share_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "share_id",
            "in": "path",
            "required": true,
            "description": "Share id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::revoke_guild_drive_share",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update guild drive share",
        "operationId": "patch_api_v1_guilds_guild_id_drive_shares_share_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "share_id",
            "in": "path",
            "required": true,
            "description": "Share id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::update_guild_drive_share",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDriveShareRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateDriveShareRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/drive/shares/{share_id}/browse": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Browse received drive share",
        "operationId": "get_api_v1_guilds_guild_id_drive_shares_share_id_browse",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "share_id",
            "in": "path",
            "required": true,
            "description": "Share id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::browse_received_drive_share",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/shares/{share_id}/token": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get share download token",
        "operationId": "get_api_v1_guilds_guild_id_drive_shares_share_id_token",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "share_id",
            "in": "path",
            "required": true,
            "description": "Share id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::get_share_download_token",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/drive/upload-grant": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get drive upload grant",
        "operationId": "post_api_v1_guilds_guild_id_drive_upload_grant",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_sharing::get_drive_upload_grant",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadGrantRequest"
              }
            }
          },
          "x-lyra-rust-type": "UploadGrantRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/emojis": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List emojis",
        "operationId": "get_api_v1_guilds_guild_id_emojis",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::list_emojis",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create emoji",
        "operationId": "post_api_v1_guilds_guild_id_emojis",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::create_emoji",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmojiRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateEmojiRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/emojis/{emoji_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete emoji",
        "operationId": "delete_api_v1_guilds_guild_id_emojis_emoji_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji_id",
            "in": "path",
            "required": true,
            "description": "Emoji id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::delete_emoji",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update emoji",
        "operationId": "patch_api_v1_guilds_guild_id_emojis_emoji_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "emoji_id",
            "in": "path",
            "required": true,
            "description": "Emoji id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::update_emoji",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmojiRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateEmojiRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/init": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get guild init",
        "operationId": "get_api_v1_guilds_guild_id_init",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "channel_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_guild_init",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/invites": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get invites",
        "operationId": "get_api_v1_guilds_guild_id_invites",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_invites",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create invite",
        "operationId": "post_api_v1_guilds_guild_id_invites",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::create_invite",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInviteRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateInviteRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/invites/{code}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete invite",
        "operationId": "delete_api_v1_guilds_guild_id_invites_code",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "Code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::delete_invite",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/join": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Join public guild",
        "operationId": "post_api_v1_guilds_guild_id_join",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::join_public_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitApplicationRequest"
              }
            }
          },
          "x-lyra-rust-type": "super::SubmitApplicationRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/members": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get members",
        "operationId": "get_api_v1_guilds_guild_id_members",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "channel_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_members",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/members/@me": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Leave guild",
        "operationId": "delete_api_v1_guilds_guild_id_members_me",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::leave_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/members/@me/notification-settings": {
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update my notification settings",
        "operationId": "patch_api_v1_guilds_guild_id_members_me_notification_settings",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_my_notification_settings",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationSettingsRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateNotificationSettingsRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/members/{user_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Kick member",
        "operationId": "delete_api_v1_guilds_guild_id_members_user_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::kick_member",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get member",
        "operationId": "get_api_v1_guilds_guild_id_members_user_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_member",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update member",
        "operationId": "patch_api_v1_guilds_guild_id_members_user_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_member",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMemberRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateMemberRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/moderation/infractions": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List infractions",
        "operationId": "get_api_v1_guilds_guild_id_moderation_infractions",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "infraction_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::list_infractions",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create infraction",
        "operationId": "post_api_v1_guilds_guild_id_moderation_infractions",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::create_infraction",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInfractionRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateInfractionRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/moderation/infractions/{infraction_id}/pardon": {
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Pardon infraction",
        "operationId": "patch_api_v1_guilds_guild_id_moderation_infractions_infraction_id_pardon",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "infraction_id",
            "in": "path",
            "required": true,
            "description": "Infraction id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::pardon_infraction",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/moderation/reports": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild reports",
        "operationId": "get_api_v1_guilds_guild_id_moderation_reports",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::list_guild_reports",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/moderation/reports/{report_id}": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get guild report",
        "operationId": "get_api_v1_guilds_guild_id_moderation_reports_report_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_id",
            "in": "path",
            "required": true,
            "description": "Report id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::get_guild_report",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/moderation/reports/{report_id}/resolve": {
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Resolve guild report",
        "operationId": "patch_api_v1_guilds_guild_id_moderation_reports_report_id_resolve",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_id",
            "in": "path",
            "required": true,
            "description": "Report id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::resolve_guild_report",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveReportBody"
              }
            }
          },
          "x-lyra-rust-type": "ResolveReportBody"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/roles": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get roles",
        "operationId": "get_api_v1_guilds_guild_id_roles",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_roles",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create role",
        "operationId": "post_api_v1_guilds_guild_id_roles",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::create_role",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRoleRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateRoleRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/roles/{role_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete role",
        "operationId": "delete_api_v1_guilds_guild_id_roles_role_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "role_id",
            "in": "path",
            "required": true,
            "description": "Role id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::delete_role",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update role",
        "operationId": "patch_api_v1_guilds_guild_id_roles_role_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "role_id",
            "in": "path",
            "required": true,
            "description": "Role id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_role",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateRoleRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/rules": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get rules",
        "operationId": "get_api_v1_guilds_guild_id_rules",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "guilds::get_rules",
        "security": []
      },
      "put": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update rules",
        "operationId": "put_api_v1_guilds_guild_id_rules",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_rules",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRulesRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateRulesRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/rules/accept": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Accept rules",
        "operationId": "post_api_v1_guilds_guild_id_rules_accept",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::accept_rules",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/scheduled-events": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List scheduled events",
        "operationId": "get_api_v1_guilds_guild_id_scheduled_events",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "with_user_count",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "scheduled_events::list_scheduled_events",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create scheduled event",
        "operationId": "post_api_v1_guilds_guild_id_scheduled_events",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "scheduled_events::create_scheduled_event",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScheduledEventRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateScheduledEventRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/scheduled-events/{event_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete scheduled event",
        "operationId": "delete_api_v1_guilds_guild_id_scheduled_events_event_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_id",
            "in": "path",
            "required": true,
            "description": "Event id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "scheduled_events::delete_scheduled_event",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get scheduled event",
        "operationId": "get_api_v1_guilds_guild_id_scheduled_events_event_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_id",
            "in": "path",
            "required": true,
            "description": "Event id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "scheduled_events::get_scheduled_event",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update scheduled event",
        "operationId": "patch_api_v1_guilds_guild_id_scheduled_events_event_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_id",
            "in": "path",
            "required": true,
            "description": "Event id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "scheduled_events::update_scheduled_event",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScheduledEventRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateScheduledEventRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/scheduled-events/{event_id}/interested": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Remove interest",
        "operationId": "delete_api_v1_guilds_guild_id_scheduled_events_event_id_interested",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_id",
            "in": "path",
            "required": true,
            "description": "Event id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "scheduled_events::remove_interest",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Guilds"
        ],
        "summary": "Add interest",
        "operationId": "put_api_v1_guilds_guild_id_scheduled_events_event_id_interested",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_id",
            "in": "path",
            "required": true,
            "description": "Event id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "scheduled_events::add_interest",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/shared-channels": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild shared channels",
        "operationId": "get_api_v1_guilds_guild_id_shared_channels",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::list_guild_shared_channels",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/space-invites": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild space invites",
        "operationId": "get_api_v1_guilds_guild_id_space_invites",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::list_guild_space_invites",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/stickers": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List stickers",
        "operationId": "get_api_v1_guilds_guild_id_stickers",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::list_stickers",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create sticker",
        "operationId": "post_api_v1_guilds_guild_id_stickers",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::create_sticker",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStickerRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateStickerRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/stickers/{sticker_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete sticker",
        "operationId": "delete_api_v1_guilds_guild_id_stickers_sticker_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sticker_id",
            "in": "path",
            "required": true,
            "description": "Sticker id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::delete_sticker",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update sticker",
        "operationId": "patch_api_v1_guilds_guild_id_stickers_sticker_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sticker_id",
            "in": "path",
            "required": true,
            "description": "Sticker id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "emojis::update_sticker",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStickerRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateStickerRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/vanity-url": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get vanity url",
        "operationId": "get_api_v1_guilds_guild_id_vanity_url",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_vanity_url",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update vanity url",
        "operationId": "patch_api_v1_guilds_guild_id_vanity_url",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_vanity_url",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVanityUrlRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateVanityUrlRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/webhooks": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "List guild webhooks",
        "operationId": "get_api_v1_guilds_guild_id_webhooks",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "webhooks::list_guild_webhooks",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Create webhook",
        "operationId": "post_api_v1_guilds_guild_id_webhooks",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "webhooks::create_webhook",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateWebhookRequest"
        }
      }
    },
    "/api/v1/guilds/{guild_id}/webhooks/{webhook_id}": {
      "delete": {
        "tags": [
          "Guilds"
        ],
        "summary": "Delete webhook authed",
        "operationId": "delete_api_v1_guilds_guild_id_webhooks_webhook_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "webhooks::delete_webhook_authed",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/webhooks/{webhook_id}/reset-token": {
      "post": {
        "tags": [
          "Guilds"
        ],
        "summary": "Reset webhook token authed",
        "operationId": "post_api_v1_guilds_guild_id_webhooks_webhook_id_reset_token",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "webhooks::reset_webhook_token_authed",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/guilds/{guild_id}/welcome-screen": {
      "get": {
        "tags": [
          "Guilds"
        ],
        "summary": "Get welcome screen",
        "operationId": "get_api_v1_guilds_guild_id_welcome_screen",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::get_welcome_screen",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Guilds"
        ],
        "summary": "Update welcome screen",
        "operationId": "patch_api_v1_guilds_guild_id_welcome_screen",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::update_welcome_screen",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWelcomeScreenRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateWelcomeScreenRequest"
        }
      }
    },
    "/api/v1/health": {
      "get": {
        "tags": [
          "Platform"
        ],
        "summary": "Health check",
        "operationId": "get_api_v1_health",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "health::health_check",
        "security": []
      }
    },
    "/api/v1/interactions/modal-submit": {
      "post": {
        "tags": [
          "Interactions"
        ],
        "summary": "Submit modal",
        "operationId": "post_api_v1_interactions_modal_submit",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::submit_modal",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModalSubmitRequest"
              }
            }
          },
          "x-lyra-rust-type": "ModalSubmitRequest"
        }
      }
    },
    "/api/v1/interactions/{interaction_id}/callback": {
      "post": {
        "tags": [
          "Interactions"
        ],
        "summary": "Interaction callback",
        "operationId": "post_api_v1_interactions_interaction_id_callback",
        "parameters": [
          {
            "name": "interaction_id",
            "in": "path",
            "required": true,
            "description": "Interaction id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "slash_commands::interaction_callback",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InteractionCallbackRequest"
              }
            }
          },
          "x-lyra-rust-type": "InteractionCallbackRequest"
        }
      }
    },
    "/api/v1/invites/{code}": {
      "get": {
        "tags": [
          "Invites"
        ],
        "summary": "Get invite",
        "operationId": "get_api_v1_invites_code",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "Code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "guilds::get_invite",
        "security": []
      }
    },
    "/api/v1/invites/{code}/join": {
      "post": {
        "tags": [
          "Invites"
        ],
        "summary": "Join via invite",
        "operationId": "post_api_v1_invites_code_join",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "Code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "guilds::join_via_invite",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/moderation/report-reasons": {
      "get": {
        "tags": [
          "Moderation"
        ],
        "summary": "List report reasons",
        "operationId": "get_api_v1_moderation_report_reasons",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "moderation::list_report_reasons",
        "security": []
      }
    },
    "/api/v1/public/guilds/{guild_id}": {
      "get": {
        "tags": [
          "Public"
        ],
        "summary": "Get public guild",
        "operationId": "get_api_v1_public_guilds_guild_id",
        "parameters": [
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "guilds::get_public_guild",
        "security": []
      }
    },
    "/api/v1/reports": {
      "post": {
        "tags": [
          "Reports"
        ],
        "summary": "Report target",
        "operationId": "post_api_v1_reports",
        "parameters": [],
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "moderation::report_target",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportTargetRequest"
              }
            }
          },
          "x-lyra-rust-type": "ReportTargetRequest"
        }
      }
    },
    "/api/v1/search": {
      "get": {
        "tags": [
          "Search"
        ],
        "summary": "Proxy search",
        "operationId": "get_api_v1_search",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "search::proxy_search",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/search/channels-spaces": {
      "get": {
        "tags": [
          "Search"
        ],
        "summary": "Proxy channels spaces search",
        "operationId": "get_api_v1_search_channels_spaces",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "search::proxy_channels_spaces_search",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/space-invites/{invite_id}/accept": {
      "post": {
        "tags": [
          "Space-invites"
        ],
        "summary": "Accept space invite",
        "operationId": "post_api_v1_space_invites_invite_id_accept",
        "parameters": [
          {
            "name": "invite_id",
            "in": "path",
            "required": true,
            "description": "Invite id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::accept_space_invite",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/space-invites/{invite_id}/decline": {
      "post": {
        "tags": [
          "Space-invites"
        ],
        "summary": "Decline space invite",
        "operationId": "post_api_v1_space_invites_invite_id_decline",
        "parameters": [
          {
            "name": "invite_id",
            "in": "path",
            "required": true,
            "description": "Invite id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::decline_space_invite",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/spaces": {
      "get": {
        "tags": [
          "Spaces"
        ],
        "summary": "List spaces",
        "operationId": "get_api_v1_spaces",
        "parameters": [
          {
            "name": "universe_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::list_spaces",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Spaces"
        ],
        "summary": "Create space",
        "operationId": "post_api_v1_spaces",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::create_space",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSpaceRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateSpaceRequest"
        }
      }
    },
    "/api/v1/spaces/{global_id}": {
      "delete": {
        "tags": [
          "Spaces"
        ],
        "summary": "Delete space",
        "operationId": "delete_api_v1_spaces_global_id",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::delete_space",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Spaces"
        ],
        "summary": "Get space",
        "operationId": "get_api_v1_spaces_global_id",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::get_space",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Spaces"
        ],
        "summary": "Update space",
        "operationId": "patch_api_v1_spaces_global_id",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::update_space",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSpaceRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateSpaceRequest"
        }
      }
    },
    "/api/v1/spaces/{global_id}/drive-links": {
      "get": {
        "tags": [
          "Spaces"
        ],
        "summary": "List space drive links",
        "operationId": "get_api_v1_spaces_global_id_drive_links",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriveLinkResponse"
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_links::list_space_drive_links",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Spaces"
        ],
        "summary": "Create space drive link",
        "operationId": "post_api_v1_spaces_global_id_drive_links",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DriveLinkResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_links::create_space_drive_link",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDriveLinkRequest"
              }
            }
          },
          "x-lyra-rust-type": "CreateDriveLinkRequest"
        }
      }
    },
    "/api/v1/spaces/{global_id}/drive-links/{link_id}": {
      "delete": {
        "tags": [
          "Spaces"
        ],
        "summary": "Delete space drive link",
        "operationId": "delete_api_v1_spaces_global_id_drive_links_link_id",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link_id",
            "in": "path",
            "required": true,
            "description": "Link id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "drive_links::delete_space_drive_link",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/spaces/{global_id}/guilds": {
      "get": {
        "tags": [
          "Spaces"
        ],
        "summary": "List guild links",
        "operationId": "get_api_v1_spaces_global_id_guilds",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::list_guild_links",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Spaces"
        ],
        "summary": "Attach guild",
        "operationId": "post_api_v1_spaces_global_id_guilds",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::attach_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachGuildRequest"
              }
            }
          },
          "x-lyra-rust-type": "AttachGuildRequest"
        }
      }
    },
    "/api/v1/spaces/{global_id}/guilds/{guild_id}": {
      "delete": {
        "tags": [
          "Spaces"
        ],
        "summary": "Detach guild",
        "operationId": "delete_api_v1_spaces_global_id_guilds_guild_id",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "guild_id",
            "in": "path",
            "required": true,
            "description": "Guild id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::detach_guild",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/spaces/{global_id}/invites": {
      "post": {
        "tags": [
          "Spaces"
        ],
        "summary": "Invite guild to space",
        "operationId": "post_api_v1_spaces_global_id_invites",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "spaces::invite_guild_to_space",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteGuildRequest"
              }
            }
          },
          "x-lyra-rust-type": "InviteGuildRequest"
        }
      }
    },
    "/api/v1/spaces/{global_id}/shared-channels": {
      "get": {
        "tags": [
          "Spaces"
        ],
        "summary": "List space shared channels",
        "operationId": "get_api_v1_spaces_global_id_shared_channels",
        "parameters": [
          {
            "name": "global_id",
            "in": "path",
            "required": true,
            "description": "Global id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "shared_channels::list_space_shared_channels",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/tenor/categories": {
      "get": {
        "tags": [
          "Media"
        ],
        "summary": "Categories",
        "operationId": "get_api_v1_tenor_categories",
        "parameters": [
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenorCategoriesResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "tenor::categories",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/tenor/search": {
      "get": {
        "tags": [
          "Media"
        ],
        "summary": "Search",
        "operationId": "get_api_v1_tenor_search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pos",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenorSearchResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "tenor::search",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/tenor/trending": {
      "get": {
        "tags": [
          "Media"
        ],
        "summary": "Trending",
        "operationId": "get_api_v1_tenor_trending",
        "parameters": [
          {
            "name": "pos",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenorSearchResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "tenor::trending",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get me",
        "operationId": "get_api_v1_users_me",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::get_me",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "summary": "Update me",
        "operationId": "patch_api_v1_users_me",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::update_me",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMeRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateMeRequest"
        }
      }
    },
    "/api/v1/users/@me/2fa": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get 2fa status",
        "operationId": "get_api_v1_users_me_2fa",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::get_2fa_status",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/2fa/disable": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Disable 2fa",
        "operationId": "delete_api_v1_users_me_2fa_disable",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::disable_2fa",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Disable2FARequest"
              }
            }
          },
          "x-lyra-rust-type": "Disable2FARequest"
        }
      }
    },
    "/api/v1/users/@me/2fa/enable": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Enable 2fa",
        "operationId": "post_api_v1_users_me_2fa_enable",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::enable_2fa",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Enable2FARequest"
              }
            }
          },
          "x-lyra-rust-type": "Enable2FARequest"
        }
      }
    },
    "/api/v1/users/@me/2fa/setup": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Setup 2fa",
        "operationId": "post_api_v1_users_me_2fa_setup",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::setup_2fa",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/channels": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get dm channels",
        "operationId": "get_api_v1_users_me_channels",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::get_dm_channels",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Open dm",
        "operationId": "post_api_v1_users_me_channels",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "dm::open_dm",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenDmRequest"
              }
            }
          },
          "x-lyra-rust-type": "OpenDmRequest"
        }
      }
    },
    "/api/v1/users/@me/connections/{provider}": {
      "patch": {
        "tags": [
          "Users"
        ],
        "summary": "Update connection visibility",
        "operationId": "patch_api_v1_users_me_connections_provider",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "description": "Provider",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::update_connection_visibility",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConnectionVisibilityRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateConnectionVisibilityRequest"
        }
      }
    },
    "/api/v1/users/@me/data-export": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Export user data",
        "operationId": "get_api_v1_users_me_data_export",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "gdpr::export_user_data",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/delete": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Delete account",
        "operationId": "post_api_v1_users_me_delete",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::delete_account",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAccountRequest"
              }
            }
          },
          "x-lyra-rust-type": "DeleteAccountRequest"
        }
      }
    },
    "/api/v1/users/@me/devices": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "List devices",
        "operationId": "get_api_v1_users_me_devices",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::list_devices",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Register device",
        "operationId": "post_api_v1_users_me_devices",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::register_device",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDeviceRequest"
              }
            }
          },
          "x-lyra-rust-type": "RegisterDeviceRequest"
        }
      }
    },
    "/api/v1/users/@me/devices/{device_id}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Revoke device",
        "operationId": "delete_api_v1_users_me_devices_device_id",
        "parameters": [
          {
            "name": "device_id",
            "in": "path",
            "required": true,
            "description": "Device id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::revoke_device",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/e2ee-recovery": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get recovery backup",
        "operationId": "get_api_v1_users_me_e2ee_recovery",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::get_recovery_backup",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Put recovery backup",
        "operationId": "put_api_v1_users_me_e2ee_recovery",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::put_recovery_backup",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecoveryBackupRequest"
              }
            }
          },
          "x-lyra-rust-type": "RecoveryBackupRequest"
        }
      }
    },
    "/api/v1/users/@me/email": {
      "patch": {
        "tags": [
          "Users"
        ],
        "summary": "Change email",
        "operationId": "patch_api_v1_users_me_email",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::change_email",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeEmailRequest"
              }
            }
          },
          "x-lyra-rust-type": "ChangeEmailRequest"
        }
      }
    },
    "/api/v1/users/@me/erasure": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Erase user data",
        "operationId": "post_api_v1_users_me_erasure",
        "parameters": [],
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "gdpr::erase_user_data",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErasureRequest"
              }
            }
          },
          "x-lyra-rust-type": "ErasureRequest"
        }
      }
    },
    "/api/v1/users/@me/guilds": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get my guilds",
        "operationId": "get_api_v1_users_me_guilds",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::get_my_guilds",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/key-packages": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Key package status",
        "operationId": "get_api_v1_users_me_key_packages",
        "parameters": [
          {
            "name": "device_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::key_package_status",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Publish key packages",
        "operationId": "post_api_v1_users_me_key_packages",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::publish_key_packages",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishKeyPackagesRequest"
              }
            }
          },
          "x-lyra-rust-type": "PublishKeyPackagesRequest"
        }
      }
    },
    "/api/v1/users/@me/message-requests": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "List message requests",
        "operationId": "get_api_v1_users_me_message_requests",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "privacy::list_message_requests",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/message-requests/{dm_id}/accept": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Accept message request",
        "operationId": "post_api_v1_users_me_message_requests_dm_id_accept",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "privacy::accept_message_request",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/message-requests/{dm_id}/reject": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Reject message request",
        "operationId": "post_api_v1_users_me_message_requests_dm_id_reject",
        "parameters": [
          {
            "name": "dm_id",
            "in": "path",
            "required": true,
            "description": "Dm id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "privacy::reject_message_request",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/mls/welcomes": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Consume welcomes",
        "operationId": "get_api_v1_users_me_mls_welcomes",
        "parameters": [
          {
            "name": "device_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::consume_welcomes",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/notifications": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "List notifications",
        "operationId": "get_api_v1_users_me_notifications",
        "parameters": [
          {
            "name": "unread",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "notifications::list_notifications",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/notifications/read-all": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Mark all read",
        "operationId": "post_api_v1_users_me_notifications_read_all",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "notifications::mark_all_read",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/notifications/unread-count": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Unread count",
        "operationId": "get_api_v1_users_me_notifications_unread_count",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "notifications::unread_count",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/notifications/{id}/read": {
      "patch": {
        "tags": [
          "Users"
        ],
        "summary": "Mark read",
        "operationId": "patch_api_v1_users_me_notifications_id_read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "notifications::mark_read",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/onboard": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Complete onboarding",
        "operationId": "post_api_v1_users_me_onboard",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::complete_onboarding",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/password": {
      "patch": {
        "tags": [
          "Users"
        ],
        "summary": "Change password",
        "operationId": "patch_api_v1_users_me_password",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::change_password",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          },
          "x-lyra-rust-type": "ChangePasswordRequest"
        }
      }
    },
    "/api/v1/users/@me/privacy": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get privacy",
        "operationId": "get_api_v1_users_me_privacy",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "privacy::get_privacy",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Users"
        ],
        "summary": "Update privacy",
        "operationId": "patch_api_v1_users_me_privacy",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "privacy::update_privacy",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePrivacy"
              }
            }
          },
          "x-lyra-rust-type": "UpdatePrivacy"
        }
      }
    },
    "/api/v1/users/@me/push-subscriptions": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "List push subscriptions",
        "operationId": "get_api_v1_users_me_push_subscriptions",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "push::list_push_subscriptions",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Register push subscription",
        "operationId": "post_api_v1_users_me_push_subscriptions",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "push::register_push_subscription",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPushRequest"
              }
            }
          },
          "x-lyra-rust-type": "RegisterPushRequest"
        }
      }
    },
    "/api/v1/users/@me/push-subscriptions/{id}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Delete push subscription",
        "operationId": "delete_api_v1_users_me_push_subscriptions_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "push::delete_push_subscription",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/read-states": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get read states",
        "operationId": "get_api_v1_users_me_read_states",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "read_state::get_read_states",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/relationships": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "List relationships",
        "operationId": "get_api_v1_users_me_relationships",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "relationships::list_relationships",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/relationships/{user_id}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Delete relationship",
        "operationId": "delete_api_v1_users_me_relationships_user_id",
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "relationships::delete_relationship",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Upsert relationship",
        "operationId": "put_api_v1_users_me_relationships_user_id",
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "relationships::upsert_relationship",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertRelationshipRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpsertRelationshipRequest"
        }
      }
    },
    "/api/v1/users/@me/sessions": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Revoke all account sessions",
        "operationId": "delete_api_v1_users_me_sessions",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::revoke_all_account_sessions",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "List account sessions",
        "operationId": "get_api_v1_users_me_sessions",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::list_account_sessions",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/sessions/{session_id}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Revoke account session",
        "operationId": "delete_api_v1_users_me_sessions_session_id",
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Session id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::revoke_account_session",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/suggestions/friends": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Suggest friends",
        "operationId": "get_api_v1_users_me_suggestions_friends",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::suggest_friends",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/@me/verify-email/resend": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Resend verification email",
        "operationId": "post_api_v1_users_me_verify_email_resend",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "account::resend_verification_email",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/search": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Search users",
        "operationId": "get_api_v1_users_search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::search_users",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/{user_id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get user",
        "operationId": "get_api_v1_users_user_id",
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::get_user",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/{user_id}/key-packages": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Consume key packages",
        "operationId": "get_api_v1_users_user_id_key_packages",
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "device_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "e2ee::consume_key_packages",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/users/{user_id}/profile": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get user profile",
        "operationId": "get_api_v1_users_user_id_profile",
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "User id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "users::get_user_profile",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/vanity/{slug}": {
      "get": {
        "tags": [
          "Vanity"
        ],
        "summary": "Resolve vanity url",
        "operationId": "get_api_v1_vanity_slug",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "Slug",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "guilds::resolve_vanity_url",
        "security": []
      }
    },
    "/api/v1/webhooks/{webhook_id}": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Get webhook",
        "operationId": "get_api_v1_webhooks_webhook_id",
        "parameters": [
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "webhooks::get_webhook",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      }
    },
    "/api/v1/webhooks/{webhook_id}/{token}": {
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete webhook",
        "operationId": "delete_api_v1_webhooks_webhook_id_token",
        "parameters": [
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "Token",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "webhooks::delete_webhook",
        "security": []
      },
      "patch": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Update webhook",
        "operationId": "patch_api_v1_webhooks_webhook_id_token",
        "parameters": [
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "Token",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "webhooks::update_webhook",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateWebhookRequest"
        }
      },
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Execute webhook",
        "operationId": "post_api_v1_webhooks_webhook_id_token",
        "parameters": [
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "Token",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "webhooks::execute_webhook",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecuteWebhookRequest"
              }
            }
          },
          "x-lyra-rust-type": "ExecuteWebhookRequest"
        }
      }
    },
    "/api/v1/webhooks/{webhook_id}/{token}/reset-token": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Reset webhook token",
        "operationId": "post_api_v1_webhooks_webhook_id_token_reset_token",
        "parameters": [
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "Token",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "webhooks::reset_webhook_token",
        "security": []
      }
    },
    "/api/v1/whiteboards/{whiteboard_id}": {
      "delete": {
        "tags": [
          "Whiteboards"
        ],
        "summary": "Archive whiteboard",
        "operationId": "delete_api_v1_whiteboards_whiteboard_id",
        "parameters": [
          {
            "name": "whiteboard_id",
            "in": "path",
            "required": true,
            "description": "Whiteboard id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::archive_whiteboard",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "get": {
        "tags": [
          "Whiteboards"
        ],
        "summary": "Get whiteboard",
        "operationId": "get_api_v1_whiteboards_whiteboard_id",
        "parameters": [
          {
            "name": "whiteboard_id",
            "in": "path",
            "required": true,
            "description": "Whiteboard id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::get_whiteboard",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Whiteboards"
        ],
        "summary": "Update whiteboard",
        "operationId": "patch_api_v1_whiteboards_whiteboard_id",
        "parameters": [
          {
            "name": "whiteboard_id",
            "in": "path",
            "required": true,
            "description": "Whiteboard id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::update_whiteboard",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWhiteboardRequest"
              }
            }
          },
          "x-lyra-rust-type": "UpdateWhiteboardRequest"
        }
      }
    },
    "/api/v1/whiteboards/{whiteboard_id}/ops": {
      "get": {
        "tags": [
          "Whiteboards"
        ],
        "summary": "Get ops",
        "operationId": "get_api_v1_whiteboards_whiteboard_id_ops",
        "parameters": [
          {
            "name": "whiteboard_id",
            "in": "path",
            "required": true,
            "description": "Whiteboard id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::get_ops",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Whiteboards"
        ],
        "summary": "Append op",
        "operationId": "post_api_v1_whiteboards_whiteboard_id_ops",
        "parameters": [
          {
            "name": "whiteboard_id",
            "in": "path",
            "required": true,
            "description": "Whiteboard id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::append_op",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppendOpRequest"
              }
            }
          },
          "x-lyra-rust-type": "AppendOpRequest"
        }
      }
    },
    "/api/v1/whiteboards/{whiteboard_id}/snapshot": {
      "post": {
        "tags": [
          "Whiteboards"
        ],
        "summary": "Take snapshot",
        "operationId": "post_api_v1_whiteboards_whiteboard_id_snapshot",
        "parameters": [
          {
            "name": "whiteboard_id",
            "in": "path",
            "required": true,
            "description": "Whiteboard id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "whiteboard::take_snapshot",
        "security": [
          {
            "HumanBearer": []
          },
          {
            "BotToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TakeSnapshotRequest"
              }
            }
          },
          "x-lyra-rust-type": "TakeSnapshotRequest"
        }
      }
    },
    "/auth/forgot-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Forgot password",
        "operationId": "post_auth_forgot_password",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::forgot_password",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            }
          },
          "x-lyra-rust-type": "ForgotPasswordRequest"
        }
      }
    },
    "/auth/guest": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Create guest session",
        "operationId": "post_auth_guest",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::create_guest_session",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GuestSessionRequest"
              }
            }
          },
          "x-lyra-rust-type": "GuestSessionRequest"
        }
      }
    },
    "/auth/login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Login",
        "operationId": "post_auth_login",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::login",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "x-lyra-rust-type": "LoginRequest"
        }
      }
    },
    "/auth/logout": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Logout",
        "operationId": "post_auth_logout",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::logout",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            }
          },
          "x-lyra-rust-type": "LogoutRequest"
        }
      }
    },
    "/auth/oauth/providers": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "List providers",
        "operationId": "get_auth_oauth_providers",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::oauth::list_providers",
        "security": []
      }
    },
    "/auth/oauth/unlink/{provider}": {
      "delete": {
        "tags": [
          "Auth"
        ],
        "summary": "Unlink provider",
        "operationId": "delete_auth_oauth_unlink_provider",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "description": "Provider",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "auth::oauth::unlink_provider",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/auth/oauth/{provider}/authorize": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Authorize",
        "operationId": "get_auth_oauth_provider_authorize",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "description": "Provider",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::oauth::authorize",
        "security": []
      }
    },
    "/auth/oauth/{provider}/callback": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Callback get",
        "operationId": "get_auth_oauth_provider_callback",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "description": "Provider",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "error",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "error_description",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::oauth::callback_get",
        "security": []
      },
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Callback post",
        "operationId": "post_auth_oauth_provider_callback",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "description": "Provider",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::oauth::callback_post",
        "security": []
      }
    },
    "/auth/refresh": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Refresh token",
        "operationId": "post_auth_refresh",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::refresh_token",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshRequest"
              }
            }
          },
          "x-lyra-rust-type": "RefreshRequest"
        }
      }
    },
    "/auth/register": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Register",
        "operationId": "post_auth_register",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::register",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterRequest"
              }
            }
          },
          "x-lyra-rust-type": "RegisterRequest"
        }
      }
    },
    "/auth/registration-policy": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Registration policy",
        "operationId": "get_auth_registration_policy",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegistrationPolicyResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::registration_policy",
        "security": []
      }
    },
    "/auth/reset-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Reset password",
        "operationId": "post_auth_reset_password",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::reset_password",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            }
          },
          "x-lyra-rust-type": "ResetPasswordRequest"
        }
      }
    },
    "/auth/verify-email": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Confirm email",
        "operationId": "post_auth_verify_email",
        "parameters": [],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::confirm_email",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmEmailRequest"
              }
            }
          },
          "x-lyra-rust-type": "ConfirmEmailRequest"
        }
      }
    },
    "/auth/verify-email/resend": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Resend email verification",
        "operationId": "post_auth_verify_email_resend",
        "parameters": [],
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::resend_email_verification",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResendVerificationRequest"
              }
            }
          },
          "x-lyra-rust-type": "ResendVerificationRequest"
        }
      }
    },
    "/auth/webauthn/credentials": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "List credentials",
        "operationId": "get_auth_webauthn_credentials",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "auth::webauthn::list_credentials",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/auth/webauthn/credentials/{credential_id}": {
      "delete": {
        "tags": [
          "Auth"
        ],
        "summary": "Revoke credential",
        "operationId": "delete_auth_webauthn_credentials_credential_id",
        "parameters": [
          {
            "name": "credential_id",
            "in": "path",
            "required": true,
            "description": "Credential id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful response"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "x-lyra-handler": "auth::webauthn::revoke_credential",
        "security": [
          {
            "HumanBearer": []
          }
        ]
      }
    },
    "/auth/webauthn/login/finish": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Finish authentication",
        "operationId": "post_auth_webauthn_login_finish",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::webauthn::finish_authentication",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FinishAuthenticationRequest"
              }
            }
          },
          "x-lyra-rust-type": "FinishAuthenticationRequest"
        }
      }
    },
    "/auth/webauthn/login/start": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Start authentication",
        "operationId": "post_auth_webauthn_login_start",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::webauthn::start_authentication",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartAuthenticationRequest"
              }
            }
          },
          "x-lyra-rust-type": "StartAuthenticationRequest"
        }
      }
    },
    "/auth/webauthn/register/finish": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Finish registration",
        "operationId": "post_auth_webauthn_register_finish",
        "parameters": [],
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::webauthn::finish_registration",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FinishRegistrationRequest"
              }
            }
          },
          "x-lyra-rust-type": "FinishRegistrationRequest"
        }
      }
    },
    "/auth/webauthn/register/start": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Start registration",
        "operationId": "post_auth_webauthn_register_start",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicResponse"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-lyra-handler": "auth::webauthn::start_registration",
        "security": []
      }
    }
  },
  "components": {
    "securitySchemes": {
      "HumanBearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Human access token returned by Lyra authentication."
      },
      "BotToken": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Send the complete value `Bot <token>`."
      }
    },
    "schemas": {
      "AclEntryBody": {
        "type": "object",
        "properties": {
          "role_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "everyone": {
            "type": "boolean"
          },
          "access": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "access"
        ]
      },
      "AppendOpRequest": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false,
        "required": [
          "data"
        ]
      },
      "AttachGuildRequest": {
        "type": "object",
        "properties": {
          "guild_id": {
            "type": "string"
          },
          "role": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SpaceGuildRole"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "guild_id"
        ]
      },
      "AuthorizeBotRequest": {
        "type": "object",
        "properties": {
          "application_id": {
            "type": "string"
          },
          "permissions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "application_id"
        ]
      },
      "BanRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "duration_secs": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "delete_message_days": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "ChangeEmailRequest": {
        "type": "object",
        "properties": {
          "new_email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "new_email",
          "password"
        ]
      },
      "ChangePasswordRequest": {
        "type": "object",
        "properties": {
          "current_password": {
            "type": "string"
          },
          "new_password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "current_password",
          "new_password"
        ]
      },
      "ChannelType": {
        "type": "string",
        "enum": [
          "GuildText",
          "GuildVoice",
          "GuildCategory",
          "GuildAnnouncement",
          "GuildStage",
          "GuildForum",
          "GuildThread"
        ]
      },
      "ConfirmEmailRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "token"
        ]
      },
      "CreateActivityRequest": {
        "type": "object",
        "properties": {
          "activity_type": {
            "type": "string"
          },
          "initial_state": {
            "type": "object",
            "additionalProperties": true
          },
          "rtc_session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "space_global_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "activity_type",
          "initial_state"
        ]
      },
      "CreateApplicationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 32
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "maxLength": 400
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "CreateChannelRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "channel_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChannelType"
              },
              {
                "type": "null"
              }
            ]
          },
          "topic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "parent_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "nsfw": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "rate_limit_per_user": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "position": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "bitrate": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "permission_overwrites": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PermissionOverwriteInput"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "CreateCommandRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "command_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dm_permission": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "default_member_permissions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "description"
        ]
      },
      "CreateDriveLinkRequest": {
        "type": "object",
        "properties": {
          "folder_id": {
            "type": "string"
          },
          "guild_id": {
            "type": "string"
          },
          "access": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "folder_id",
          "guild_id",
          "access"
        ]
      },
      "CreateDriveShareRequest": {
        "type": "object",
        "properties": {
          "target_type": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          },
          "grantee_guild_id": {
            "type": "string"
          },
          "grantee_node_id": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "access": {
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "target_type",
          "target_id",
          "grantee_guild_id",
          "grantee_node_id",
          "scope",
          "access"
        ]
      },
      "CreateEmojiRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 32
          },
          "asset": {
            "type": "string"
          },
          "animated": {
            "type": "boolean"
          },
          "require_boost": {
            "type": "boolean"
          },
          "available_to_roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "asset"
        ]
      },
      "CreateFollowRequest": {
        "type": "object",
        "properties": {
          "target_channel_id": {
            "type": "string"
          },
          "source_node_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "target_channel_id"
        ]
      },
      "CreateGuildRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "template": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GuildTemplate"
              },
              {
                "type": "null"
              }
            ]
          },
          "template_locale": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "nsfw": {
            "type": "boolean"
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "CreateInfractionRequest": {
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string"
          },
          "infraction_type": {
            "$ref": "#/components/schemas/InfractionType"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "user_id",
          "infraction_type"
        ]
      },
      "CreateInviteRequest": {
        "type": "object",
        "properties": {
          "channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_uses": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_age_secs": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "temporary": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CreateMessageRequest": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "maxLength": 4000
          },
          "embeds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmbedInput"
            }
          },
          "attachment_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxLength": 10
          },
          "sticker_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxLength": 1
          },
          "poll": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PollInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "message_reference": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MessageReferenceInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "tts": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "forward_from_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "author_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CreateRoleRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "color": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "hoist": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "mentionable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "permissions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "CreateScheduledEventRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_start_time": {
            "type": "string",
            "format": "date-time"
          },
          "scheduled_end_time": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "entity_type": {
            "$ref": "#/components/schemas/ScheduledEventEntityType"
          },
          "channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "scheduled_start_time",
          "entity_type"
        ]
      },
      "CreateSpaceRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SpaceVisibility"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "universe_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "guild_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "CreateStickerRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 30
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "maxLength": 100
          },
          "tags": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "asset": {
            "type": "string"
          },
          "format_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/StickerFormatType"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "tags",
          "asset"
        ]
      },
      "CreateThreadRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "auto_archive_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tag_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "CreateWebhookRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "url",
          "events"
        ]
      },
      "CreateWhiteboardRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "space_global_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rtc_session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "title"
        ]
      },
      "DecideApplicationRequest": {
        "type": "object",
        "properties": {
          "decision": {
            "$ref": "#/components/schemas/MembershipApplicationStatus"
          }
        },
        "additionalProperties": false,
        "required": [
          "decision"
        ]
      },
      "DeleteAccountRequest": {
        "type": "object",
        "properties": {
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "password"
        ]
      },
      "Disable2FARequest": {
        "type": "object",
        "properties": {
          "password": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "password",
          "code"
        ]
      },
      "DriveLinkResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "link_type": {
            "type": "string"
          },
          "linked_entity_id": {
            "type": "string"
          },
          "guild_id": {
            "type": "string"
          },
          "folder_id": {
            "type": "string"
          },
          "access": {
            "type": "string"
          },
          "created_by": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "id",
          "link_type",
          "linked_entity_id",
          "guild_id",
          "folder_id",
          "access",
          "created_by",
          "created_at"
        ]
      },
      "DynamicResponse": {
        "type": "object",
        "additionalProperties": true,
        "description": "Endpoint response. Stable fields are detailed in the associated guide and SDK types."
      },
      "EmbedAudioInput": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "proxy_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "duration_ms": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "waveform": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "url"
        ]
      },
      "EmbedAuthorInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "icon_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "EmbedFieldInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "inline": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "value"
        ]
      },
      "EmbedFooterInput": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "icon_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "text"
        ]
      },
      "EmbedInput": {
        "type": "object",
        "properties": {
          "embed_type": {
            "$ref": "#/components/schemas/EmbedTypeInput"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "color": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "footer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmbedFooterInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmbedMediaInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "thumbnail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmbedMediaInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "video": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmbedMediaInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "audio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmbedAudioInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmbedProviderInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "author": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmbedAuthorInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmbedFieldInput"
            }
          },
          "duration_ms": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "site_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "embed_type"
        ]
      },
      "EmbedMediaInput": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "proxy_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "height": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "url"
        ]
      },
      "EmbedProviderInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "icon_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "EmbedTypeInput": {
        "type": "string",
        "enum": [
          "Rich",
          "Image",
          "Video",
          "Gifv",
          "Article",
          "Link",
          "Audio"
        ]
      },
      "Enable2FARequest": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "code"
        ]
      },
      "EncryptedEnvelope": {
        "type": "object",
        "additionalProperties": true,
        "description": "Serialized `EncryptedEnvelope` value. See the endpoint guide for field semantics."
      },
      "ErasureRequest": {
        "type": "object",
        "properties": {
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "password"
        ]
      },
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "example": "VALIDATION_ERROR"
              },
              "message": {
                "type": "string",
                "example": "The request is invalid"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "ExecuteWebhookRequest": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "content"
        ]
      },
      "FinishAuthenticationRequest": {
        "type": "object",
        "properties": {
          "flow_id": {
            "type": "string"
          },
          "credential": {
            "$ref": "#/components/schemas/PublicKeyCredential"
          }
        },
        "additionalProperties": false,
        "required": [
          "flow_id",
          "credential"
        ]
      },
      "FinishRegistrationRequest": {
        "type": "object",
        "properties": {
          "flow_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "credential": {
            "$ref": "#/components/schemas/RegisterPublicKeyCredential"
          }
        },
        "additionalProperties": false,
        "required": [
          "flow_id",
          "name",
          "credential"
        ]
      },
      "ForgotPasswordRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "email"
        ]
      },
      "ForumSort": {
        "type": "string",
        "enum": [
          "LatestActivity",
          "CreationDate"
        ]
      },
      "ForumTagInput": {
        "type": "object",
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "emoji": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ]
      },
      "FrankingReveal": {
        "type": "object",
        "additionalProperties": true,
        "description": "Serialized `FrankingReveal` value. See the endpoint guide for field semantics."
      },
      "GuestSessionRequest": {
        "type": "object",
        "properties": {
          "display_name": {
            "type": "string"
          },
          "guild_id": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "display_name",
          "guild_id"
        ]
      },
      "GuildJoinMode": {
        "type": "string",
        "enum": [
          "Open",
          "Apply"
        ]
      },
      "GuildTemplate": {
        "type": "string",
        "enum": [
          "Basic",
          "Community",
          "Gaming",
          "Creator",
          "Study",
          "Project"
        ]
      },
      "InfractionType": {
        "type": "string",
        "enum": [
          "Warn",
          "Mute",
          "Kick",
          "Ban"
        ]
      },
      "InteractionCallbackRequest": {
        "type": "object",
        "properties": {
          "interaction_type": {
            "type": "integer"
          },
          "data": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "interaction_type"
        ]
      },
      "InviteGuildRequest": {
        "type": "object",
        "properties": {
          "guild_id": {
            "type": "string"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "guild_id"
        ]
      },
      "KeyPackageInput": {
        "type": "object",
        "properties": {
          "package_ref": {
            "type": "string"
          },
          "key_package": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "package_ref",
          "key_package"
        ]
      },
      "LinkGuildRequest": {
        "type": "object",
        "properties": {
          "guild_id": {
            "type": "string"
          },
          "guild_node_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "visibility_role_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "guild_id"
        ]
      },
      "LoginRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "username",
          "password"
        ]
      },
      "LogoutRequest": {
        "type": "object",
        "properties": {
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "everywhere": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "MembershipApplicationStatus": {
        "type": "string",
        "enum": [
          "Pending",
          "Accepted",
          "Rejected"
        ]
      },
      "MessageReferenceInput": {
        "type": "object",
        "properties": {
          "message_id": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "message_id"
        ]
      },
      "MlsCommitRequest": {
        "type": "object",
        "properties": {
          "expected_epoch": {
            "type": "integer"
          },
          "envelope": {
            "$ref": "#/components/schemas/EncryptedEnvelope"
          },
          "welcomes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WelcomeInput"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "expected_epoch",
          "envelope"
        ]
      },
      "ModalSubmitRequest": {
        "type": "object",
        "properties": {
          "custom_id": {
            "type": "string"
          },
          "components": {
            "type": "object",
            "additionalProperties": true
          },
          "channel_id": {
            "type": "string"
          },
          "guild_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "custom_id",
          "components",
          "channel_id"
        ]
      },
      "OpenDmRequest": {
        "type": "object",
        "properties": {
          "recipient_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "recipient_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "maxLength": 100
          },
          "encrypted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "PermissionOverwriteInput": {
        "type": "object",
        "properties": {
          "target_id": {
            "type": "string"
          },
          "target_type": {
            "type": "string"
          },
          "allow": {
            "type": "integer"
          },
          "deny": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "required": [
          "target_id",
          "target_type",
          "allow",
          "deny"
        ]
      },
      "PlayPauseRequest": {
        "type": "object",
        "properties": {
          "paused": {
            "type": "boolean"
          },
          "position_ms": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "required": [
          "paused",
          "position_ms"
        ]
      },
      "PollInput": {
        "type": "object",
        "properties": {
          "question": {
            "type": "string"
          },
          "answers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "allow_multiselect": {
            "type": "boolean"
          },
          "anonymous": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "required": [
          "question",
          "answers"
        ]
      },
      "PublicKeyCredential": {
        "type": "object",
        "additionalProperties": true,
        "description": "Serialized `PublicKeyCredential` value. See the endpoint guide for field semantics."
      },
      "PublishKeyPackagesRequest": {
        "type": "object",
        "properties": {
          "device_id": {
            "type": "string"
          },
          "key_packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyPackageInput"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "device_id",
          "key_packages"
        ]
      },
      "RecoveryBackupRequest": {
        "type": "object",
        "properties": {
          "version": {
            "type": "integer"
          },
          "blob": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "version",
          "blob"
        ]
      },
      "RefreshRequest": {
        "type": "object",
        "properties": {
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "RegisterDeviceRequest": {
        "type": "object",
        "properties": {
          "device_id": {
            "type": "string"
          },
          "signature_key": {
            "type": "string"
          },
          "credential": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "device_id",
          "signature_key",
          "credential"
        ]
      },
      "RegisterPublicKeyCredential": {
        "type": "object",
        "additionalProperties": true,
        "description": "Serialized `RegisterPublicKeyCredential` value. See the endpoint guide for field semantics."
      },
      "RegisterPushRequest": {
        "type": "object",
        "properties": {
          "endpoint": {
            "type": "string"
          },
          "p256dh": {
            "type": "string"
          },
          "auth": {
            "type": "string"
          },
          "user_agent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "platform": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "endpoint",
          "platform"
        ]
      },
      "RegisterRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 2,
            "maxLength": 32
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string",
            "minLength": 8,
            "maxLength": 128
          },
          "terms_accepted": {
            "type": "boolean"
          },
          "date_of_birth": {
            "type": "string"
          },
          "invitation_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "username",
          "email",
          "password",
          "terms_accepted",
          "date_of_birth"
        ]
      },
      "RegistrationPolicyResponse": {
        "type": "object",
        "properties": {
          "registration_mode": {
            "type": "string"
          },
          "invitation_required": {
            "type": "boolean"
          },
          "email_verification_required": {
            "type": "boolean"
          },
          "minimum_age": {
            "type": "integer"
          },
          "terms_version": {
            "type": "string"
          },
          "privacy_version": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "registration_mode",
          "invitation_required",
          "email_verification_required",
          "minimum_age",
          "terms_version",
          "privacy_version"
        ]
      },
      "ReportMessageRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string"
          },
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "reveals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FrankingReveal"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "reason"
        ]
      },
      "ReportTargetRequest": {
        "type": "object",
        "properties": {
          "target_type": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "target_type",
          "target_id",
          "reason"
        ]
      },
      "ResendVerificationRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "email"
        ]
      },
      "ResetPasswordRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "new_password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "token",
          "new_password"
        ]
      },
      "ResolveReportBody": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "moderator_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "action"
        ]
      },
      "ScheduledEventEntityType": {
        "type": "string",
        "enum": [
          "Voice",
          "External"
        ]
      },
      "ScheduledEventStatus": {
        "type": "string",
        "enum": [
          "Scheduled",
          "Active",
          "Completed",
          "Cancelled"
        ]
      },
      "SeekRequest": {
        "type": "object",
        "properties": {
          "position_ms": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "required": [
          "position_ms"
        ]
      },
      "SendDmMessageRequest": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "maxLength": 4000
          },
          "tts": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "message_reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "attachment_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxLength": 10
          },
          "poll": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PollInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "forward_from_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "encrypted": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EncryptedEnvelope"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "SetFolderAclBody": {
        "type": "object",
        "properties": {
          "acl": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AclEntryBody"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "acl"
        ]
      },
      "SetQuotaRequest": {
        "type": "object",
        "properties": {
          "max_bytes": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "required": [
          "max_bytes"
        ]
      },
      "SharedChannelLinkState": {
        "type": "string",
        "enum": [
          "Active",
          "Suspended",
          "Removed"
        ]
      },
      "SpaceGuildRole": {
        "type": "string",
        "enum": [
          "Owner",
          "Admin",
          "Member",
          "Guest"
        ]
      },
      "SpaceVisibility": {
        "type": "string",
        "enum": [
          "Public",
          "Restricted",
          "Private"
        ]
      },
      "StartAuthenticationRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "email"
        ]
      },
      "StateUpdateRequest": {
        "type": "object",
        "properties": {
          "patch": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false,
        "required": [
          "patch"
        ]
      },
      "StickerFormatType": {
        "type": "string",
        "enum": [
          "Png",
          "Apng",
          "Gif",
          "Lottie"
        ]
      },
      "SubmitApplicationRequest": {
        "type": "object",
        "properties": {
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "TakeSnapshotRequest": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": false,
        "required": [
          "data"
        ]
      },
      "TenorCategoriesResponse": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenorCategory"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "categories"
        ]
      },
      "TenorCategory": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "search_term": {
            "type": "string"
          },
          "image": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "search_term",
          "image"
        ]
      },
      "TenorResult": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "content_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "preview_url": {
            "type": "string"
          },
          "full_url": {
            "type": "string"
          },
          "tenor_url": {
            "type": "string"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "height": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "id",
          "preview_url",
          "full_url",
          "tenor_url"
        ]
      },
      "TenorSearchResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenorResult"
            }
          },
          "next": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "results"
        ]
      },
      "UpdateApplicationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 2,
            "maxLength": 32
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "maxLength": 400
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "redirect_uris": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "public_bot": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateAutomod": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "blocked_terms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "block_links": {
            "type": "boolean"
          },
          "max_mentions": {
            "type": "integer"
          },
          "max_messages_per_10s": {
            "type": "integer"
          },
          "exempt_role_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exempt_channel_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "action": {
            "type": "string"
          },
          "alert_channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lockdown_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "enabled",
          "max_mentions",
          "max_messages_per_10s",
          "action"
        ]
      },
      "UpdateBotRequest": {
        "type": "object",
        "properties": {
          "username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 2,
            "maxLength": 32
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 1,
            "maxLength": 32
          },
          "avatar": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateChannelRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 1,
            "maxLength": 100
          },
          "topic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "maxLength": 1024
          },
          "nsfw": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "position": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "rate_limit_per_user": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "parent_id": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "bitrate": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "user_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "video_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "video_quality_mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/VideoQualityMode"
              },
              {
                "type": "null"
              }
            ]
          },
          "rtc_region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "archived": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "auto_archive_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "available_tags": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ForumTagInput"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "default_sort": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ForumSort"
              },
              {
                "type": "null"
              }
            ]
          },
          "permission_overwrites": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PermissionOverwriteInput"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateConnectionVisibilityRequest": {
        "type": "object",
        "properties": {
          "visible": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "required": [
          "visible"
        ]
      },
      "UpdateDiscoverabilityRequest": {
        "type": "object",
        "properties": {
          "is_public": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "discoverable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "themes": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "nsfw": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "preferred_locale": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateDmMessageRequest": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4000
          }
        },
        "additionalProperties": false,
        "required": [
          "content"
        ]
      },
      "UpdateDmRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 1,
            "maxLength": 100
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateDriveShareRequest": {
        "type": "object",
        "properties": {
          "access": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateEmojiRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 2,
            "maxLength": 32
          },
          "available_to_roles": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateGuildRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "banner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "verification_level": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ]
          },
          "default_message_notifications": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ]
          },
          "explicit_content_filter": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ]
          },
          "system_channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rules_channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "public_updates_channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "preferred_locale": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "nsfw": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "themes": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "owner_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "is_public": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "vanity_url": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ]
          },
          "drive_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "show_offline_members": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateLinkRequest": {
        "type": "object",
        "properties": {
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SharedChannelLinkState"
              },
              {
                "type": "null"
              }
            ]
          },
          "visibility_role_ids": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateMeRequest": {
        "type": "object",
        "properties": {
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 2,
            "maxLength": 32
          },
          "bio": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "maxLength": 190
          },
          "avatar": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "banner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateMemberRequest": {
        "type": "object",
        "properties": {
          "nickname": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "role_ids": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "mute": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "deaf": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "communication_disabled_until": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateMessageRequest": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4000
          }
        },
        "additionalProperties": false,
        "required": [
          "content"
        ]
      },
      "UpdateNotificationSettingsRequest": {
        "type": "object",
        "properties": {
          "mute_mentions": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "mute_everyone": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdatePrivacy": {
        "type": "object",
        "properties": {
          "dm_policy": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "dm_policy"
        ]
      },
      "UpdateRoleRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "color": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "hoist": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "mentionable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "permissions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateRulesRequest": {
        "type": "object",
        "properties": {
          "text_md": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "join_mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GuildJoinMode"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateScheduledEventRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 1,
            "maxLength": 100
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_start_time": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_end_time": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduledEventStatus"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateSpaceRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 1,
            "maxLength": 100
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SpaceVisibility"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateStickerRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 2,
            "maxLength": 30
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "maxLength": 100
          },
          "tags": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 1,
            "maxLength": 200
          }
        },
        "additionalProperties": false
      },
      "UpdateVanityUrlRequest": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "slug"
        ]
      },
      "UpdateWebhookRequest": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "events": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateWelcomeScreenRequest": {
        "type": "object",
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "welcome_channels": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WelcomeChannelInput"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UpdateWhiteboardRequest": {
        "type": "object",
        "properties": {
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "minLength": 1,
            "maxLength": 100
          }
        },
        "additionalProperties": false
      },
      "UploadGrantRequest": {
        "type": "object",
        "properties": {
          "max_bytes": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "UpsertRelationshipRequest": {
        "type": "object",
        "properties": {
          "rel_type": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "required": [
          "rel_type"
        ]
      },
      "VideoQualityMode": {
        "type": "string",
        "enum": [
          "Auto",
          "Full720p",
          "Full1080p"
        ]
      },
      "WelcomeChannelInput": {
        "type": "object",
        "properties": {
          "channel_id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "emoji": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "channel_id",
          "description"
        ]
      },
      "WelcomeInput": {
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string"
          },
          "device_id": {
            "type": "string"
          },
          "welcome": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "required": [
          "user_id",
          "device_id",
          "welcome"
        ]
      },
      "_": {
        "type": "object",
        "additionalProperties": true,
        "description": "Serialized `_` value. See the endpoint guide for field semantics."
      }
    },
    "responses": {
      "Error": {
        "description": "API error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Missing, invalid or expired credentials",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Forbidden": {
        "description": "The principal lacks the required permission",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "RateLimited": {
        "description": "Rate limit exceeded. Respect `Retry-After` when present.",
        "headers": {
          "Retry-After": {
            "schema": {
              "type": "number"
            },
            "description": "Seconds before retrying."
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  }
}
