{
  "openapi": "3.1.0",
  "info": {
    "title": "Bilibili การค้นหาวิดีโอ API (V2)",
    "version": "v0",
    "description": "ค้นหาวิดีโอบน Bilibili โดยใช้คำสำคัญ พร้อมการแบ่งหน้าและการจัดเรียงตามอันดับทั่วไป จำนวนครั้งเล่น จำนวนการเผยแพร่ จำนวนการโยนดันมากุ หรือจำนวนครั้งที่ชื่นชอบ ใช้เพื่อสนับสนุนการค้นหาข้อมูล การวิจัยหัวข้อ หรือการค้นหาเพื่อจัดอันดับ"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)"
    }
  ],
  "tags": [
    {
      "name": "Bilibili",
      "description": "ข้อมูลเมตาดาต้าของวิดีโอของ Bilibili, คอมเมนต์, danmaku, คำบรรยาย, ผู้ใช้, และการอัปโหลด เพื่อการวิเคราะห์และค้นหาสื่อ",
      "x-platform-id": "bilibili",
      "x-platform-aliases": [
        "Bilibili",
        "哔哩哔哩",
        "B站"
      ],
      "x-platform-detection-aliases": [
        "Bilibili",
        "哔哩哔哩",
        "B站"
      ]
    }
  ],
  "paths": {
    "/api/bilibili/search-video/v2": {
      "get": {
        "tags": [
          "Bilibili"
        ],
        "summary": "การค้นหาวิดีโอ",
        "description": "ค้นหาวิดีโอบน Bilibili โดยใช้คำสำคัญ พร้อมการแบ่งหน้าและการจัดเรียงตามอันดับทั่วไป จำนวนครั้งเล่น จำนวนการเผยแพร่ จำนวนการโยนดันมากุ หรือจำนวนครั้งที่ชื่นชอบ ใช้เพื่อสนับสนุนการค้นหาข้อมูล การวิจัยหัวข้อ หรือการค้นหาเพื่อจัดอันดับ",
        "operationId": "getApiBilibiliSearchVideoV2",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "โทเค็นสำหรับเข้าถึง API",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "คำสำคัญสำหรับการค้นหา.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "หมายเลขหน้าสำหรับการพับหน้า。",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "description": "เกณฑ์การจัดเรียงสำหรับผลลัพธ์การค้นหา.\n\nค่าที่มีอยู่:\n- `general`: สำหรับทั่วไป\n- `click`: ยอดนิยมที่สุด\n- `pubdate`: ล่าสุด\n- `dm`: ยอดดันมัคที่สุด\n- `stow`: ยอดนิยมที่สุด",
            "required": false,
            "schema": {
              "type": "string",
              "default": "general",
              "description": "เกณฑ์การจัดเรียงการค้นหาวิดีโอของ Bilibili",
              "enum": [
                "general",
                "click",
                "pubdate",
                "dm",
                "stow"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "คำตอบจากการค้นหาของ Bilibili พร้อมสถานะของแพลตฟอร์มและผลการค้นหาหนึ่งหน้า",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "description": "สถานะที่เป็นตัวเลขที่ Bilibili รายงานสำหรับคำขอการค้นหา"
                          },
                          "message": {
                            "type": "string",
                            "description": "ข้อความแจ้งสถานะการค้นหาที่ Bilibili รายงาน"
                          },
                          "ttl": {
                            "type": "integer",
                            "description": "ค่า TTL ที่ Bilibili รายงาน"
                          },
                          "data": {
                            "type": "object",
                            "description": "ฟิลด์สำหรับการค้นหาและการแสดงผลการแบ่งหน้าสำหรับหน้า current",
                            "properties": {
                              "page": {
                                "type": "integer",
                                "description": "หมายเลขหน้าที่ Bilibili รายงาน"
                              },
                              "pagesize": {
                                "type": "integer",
                                "description": "ขนาดของหน้าที่ Bilibili รายงาน ใช้ความยาวของผลลัพธ์เพื่อกำหนดจำนวนฟิลด์บนหน้า"
                              },
                              "numResults": {
                                "type": "integer",
                                "description": "จำนวนผลลัพธ์ที่ Bilibili รายงานสำหรับการค้นหา"
                              },
                              "numPages": {
                                "type": "integer",
                                "description": "จำนวนหน้าที่ Bilibili รายงาน ผลลัพธ์อาจยังมีฟิลด์สำหรับหน้าที่ต้องการมากกว่านี้"
                              },
                              "next": {
                                "type": "integer",
                                "description": "หมายเลขหน้าถัดไปที่ส่งกลับมาเมื่อการค้นหายังคงดำเนินต่อไป หากมีผลลัพธ์ ฟิลด์นี้อาจเป็น 0 หากหน้านี้ยังมีผลลัพธ์อยู่"
                              },
                              "suggest_keyword": {
                                "type": "string",
                                "description": "คำสำคัญการค้นหาที่แนะนำโดย Bilibili เมื่อมีการระบุ"
                              },
                              "result": {
                                "type": "array",
                                "description": "ไกด์ที่อยู่บนหน้าค้นหาตอนนี้ ซึ่งอาจรวมถึงวิดีโอ คอร์สเรียน หรือผลลัพธ์ที่ได้รับการโฆษณา ไกด์อาจตรงกับคำสำคัญโดยไม่มีการระบุคำสำคัญในชื่อ",
                                "items": {
                                  "type": "object",
                                  "description": "การ์ดผลการค้นหาหนึ่งใบ อ่านประเภทของการ์ดเพื่อแยกวิดีโอออกจากผลลัพธ์อื่น",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "description": "ป้ายกำกับประเภทของไกด์การค้นหา ไกด์วิดีโอ คอร์สเรียน และไกด์ที่ได้รับการโฆษณาอาจใช้ป้ายกำกับและฟิลด์ที่แตกต่างกัน"
                                    },
                                    "id": {
                                      "type": "integer",
                                      "description": "ตัวระบุตัวเลขที่ส่งกลับสำหรับไกด์การค้นหา"
                                    },
                                    "aid": {
                                      "type": "integer",
                                      "description": "ตัวระบุเนื้อหาของ Bilibili ที่ส่งมาสำหรับไกด์"
                                    },
                                    "bvid": {
                                      "type": "string",
                                      "description": "ตัวระบุ BV ของ Bilibili เมื่อมีการระบุบางไกด์ เช่น คอร์สเรียน อาจส่งค่าเป็นสตริงว่าง"
                                    },
                                    "title": {
                                      "type": "string",
                                      "description": "ชื่อผลลัพธ์ที่ส่งมาจาก Bilibili อาจรวมถึงการเน้นด้วยเครื่องหมายอักษร"
                                    },
                                    "description": {
                                      "type": "string",
                                      "description": "คำอธิบายผลลัพธ์ที่ส่งมาจาก Bilibili"
                                    },
                                    "desc": {
                                      "type": "string",
                                      "description": "คำอธิบายการแสดงผลเพิ่มเติมที่ส่งกลับสำหรับไกด์"
                                    },
                                    "tag": {
                                      "type": "string",
                                      "description": "หมวดหมู่ที่เกี่ยวข้องกับผลลัพธ์ในรูปแบบข้อความสำหรับการแสดงผล"
                                    },
                                    "subtitle": {
                                      "type": "string",
                                      "description": "ป้ายกำกับสำหรับการแสดงผลที่ส่งมาสำหรับไกด์ หากมี"
                                    },
                                    "arcurl": {
                                      "type": "string",
                                      "description": "URL ของหน้าเนื้อหาที่ส่งมาสำหรับไกด์"
                                    },
                                    "url": {
                                      "type": "string",
                                      "description": "URL เป้าหมายที่ส่งมาเพื่อเปิดไกด์"
                                    },
                                    "pic": {
                                      "type": "string",
                                      "description": "ที่อยู่ของภาพหลักที่ส่งกลับสำหรับผลลัพธ์ หากมี"
                                    },
                                    "cover": {
                                      "type": "string",
                                      "description": "ที่อยู่ของภาพปกที่ส่งมาสำหรับไกด์ หากมี"
                                    },
                                    "corner": {
                                      "type": "string",
                                      "description": "ข้อความป้ายกำกับสำหรับการแสดงผลบนไกด์"
                                    },
                                    "rec_reason": {
                                      "type": "string",
                                      "description": "คำอธิบายการแนะนำที่ส่งกลับสำหรับไกด์ หากมี"
                                    },
                                    "hit_columns": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "description": "ฟิลด์ที่ถูกระบุว่าเป็นผลลัพธ์ที่ตรงกับคำค้นหา เมื่อมีการระบุ",
                                      "items": {
                                        "type": "string",
                                        "description": "ชื่อของฟิลด์ที่ถูกระบุว่าเป็นผลลัพธ์ที่ตรงกับคำค้นหา"
                                      }
                                    },
                                    "new_rec_tags": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "description": "ฟิลด์หมวดหมู่การแนะนำที่ส่งกลับสำหรับไกด์"
                                    },
                                    "view_type": {
                                      "type": "string",
                                      "description": "ป้ายกำกับประเภทการแสดงผลที่ส่งกลับสำหรับไกด์การค้นหา"
                                    },
                                    "typeid": {
                                      "type": "string",
                                      "description": "ตัวระบุหมวดหมู่ที่แสดงเป็นข้อความ"
                                    },
                                    "typename": {
                                      "type": "string",
                                      "description": "ชื่อหมวดหมู่ที่รายงานสำหรับผลลัพธ์"
                                    },
                                    "cate_name": {
                                      "type": "string",
                                      "description": "ป้ายกำกับหมวดหมู่ที่ส่งมาสำหรับไกด์ หากมี"
                                    },
                                    "author": {
                                      "type": "string",
                                      "description": "ชื่อของผู้อัปโหลดหรือผู้สร้างที่แสดงในผลลัพธ์"
                                    },
                                    "mid": {
                                      "type": "integer",
                                      "description": "ตัวระบุตัวเลขสำหรับผู้สร้างบิลิบิวลีที่เชื่อมโยงกับผลลัพธ์"
                                    },
                                    "upic": {
                                      "type": "string",
                                      "description": "ที่อยู่ของรูปภาพอวาตาของผู้อัปโหลด"
                                    },
                                    "pubdate": {
                                      "type": "integer",
                                      "description": "เวลาการเผยแพร่เมื่อมีผลบวก, ในหน่วยวินาทีตามเวลายูนิกซ์. บางค่ายจะส่งค่า 0 กลับมา."
                                    },
                                    "senddate": {
                                      "type": "integer",
                                      "description": "เวลาการส่งข้อความเมื่อมีผลบวก, ในหน่วยวินาทีตามเวลายูนิกซ์. บางค่ายจะส่งค่า 0 กลับมา."
                                    },
                                    "duration": {
                                      "type": "string",
                                      "description": "ระยะเวลาแสดงเป็นข้อความ เช่น นาทีและวินาทีที่แยกด้วยจุด บางคาร์ดอาจไม่มีข้อมูลนี้"
                                    },
                                    "play": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "description": "จำนวนครั้งที่วิดีโอถูกเล่น หากมีข้อมูล"
                                    },
                                    "favorites": {
                                      "type": "integer",
                                      "description": "จำนวนครั้งที่คาร์ดถูกเลือกเป็นคาร์ดที่ชื่นชอบ"
                                    },
                                    "review": {
                                      "type": "integer",
                                      "description": "จำนวนครั้งที่คาร์ดมีความคิดเห็น"
                                    },
                                    "video_review": {
                                      "type": "integer",
                                      "description": "จำนวนครั้งที่มีการแสดง Danmaku ในวิดีโอผลลัพธ์"
                                    },
                                    "danmaku": {
                                      "type": "integer",
                                      "description": "ฟิลด์เพิ่มเติมสำหรับจำนวน Danmaku ที่สืบค้นได้"
                                    },
                                    "like": {
                                      "type": "integer",
                                      "description": "จำนวนครั้งที่คาร์ดได้รับการกดไลค์"
                                    },
                                    "badgepay": {
                                      "type": "boolean",
                                      "description": "ว่าคาร์ดมีป้ายบอกการชำระเงินหรือไม่"
                                    },
                                    "is_pay": {
                                      "type": "integer",
                                      "description": "ตัวชี้วัดที่เกี่ยวข้องกับการชำระเงิน หากมีค่าเป็นตัวเลข"
                                    },
                                    "is_charge_video": {
                                      "type": "integer",
                                      "description": "ตัวชี้วัดว่าวิดีโอถูกจัดประเภทเป็นเนื้อหาที่ชำระเงินหรือไม่"
                                    },
                                    "is_union_video": {
                                      "type": "integer",
                                      "description": "ตัวชี้วัดว่าวิดีโอถูกจัดประเภทเป็นการส่งผลลัพธ์ร่วมหรือไม่"
                                    },
                                    "episode_count_text": {
                                      "type": "string",
                                      "description": "ข้อความสำหรับแสดงจำนวนตอนหรือบทเรียน หากมีข้อมูล"
                                    },
                                    "release_status": {
                                      "type": "integer",
                                      "description": "สถานะการปล่อยวิดีโอ หากมีข้อมูลเป็นตัวเลข"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "format": "int32",
                          "enum": [
                            0,
                            100,
                            101,
                            202,
                            300,
                            301,
                            302,
                            303,
                            400,
                            404,
                            500,
                            503,
                            600,
                            601,
                            602
                          ]
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "data": {},
                        "recordTime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "requestId": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "requestParams": {
                          "type": "object",
                          "properties": {
                            "query": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "object"
                              }
                            },
                            "body": {
                              "type": "object",
                              "properties": {
                                "empty": {
                                  "type": "boolean"
                                },
                                "array": {
                                  "type": "boolean"
                                },
                                "null": {
                                  "type": "boolean"
                                },
                                "object": {
                                  "type": "boolean"
                                },
                                "float": {
                                  "type": "boolean"
                                },
                                "integralNumber": {
                                  "type": "boolean"
                                },
                                "floatingPointNumber": {
                                  "type": "boolean"
                                },
                                "valueNode": {
                                  "type": "boolean"
                                },
                                "nodeType": {
                                  "type": "string",
                                  "enum": [
                                    "ARRAY",
                                    "BINARY",
                                    "BOOLEAN",
                                    "MISSING",
                                    "NULL",
                                    "NUMBER",
                                    "OBJECT",
                                    "POJO",
                                    "STRING"
                                  ]
                                },
                                "string": {
                                  "type": "boolean"
                                },
                                "missingNode": {
                                  "type": "boolean"
                                },
                                "container": {
                                  "type": "boolean"
                                },
                                "pojo": {
                                  "type": "boolean"
                                },
                                "short": {
                                  "type": "boolean"
                                },
                                "int": {
                                  "type": "boolean"
                                },
                                "long": {
                                  "type": "boolean"
                                },
                                "double": {
                                  "type": "boolean"
                                },
                                "bigDecimal": {
                                  "type": "boolean"
                                },
                                "bigInteger": {
                                  "type": "boolean"
                                },
                                "textual": {
                                  "type": "boolean",
                                  "deprecated": true
                                },
                                "boolean": {
                                  "type": "boolean"
                                },
                                "binary": {
                                  "type": "boolean"
                                },
                                "number": {
                                  "type": "boolean"
                                },
                                "embeddedValue": {
                                  "type": "boolean"
                                }
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "code",
                        "data",
                        "message",
                        "recordTime"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "การอนุญาตถูกปฏิเสธ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "อัตราการขอหรือจำนวนคำสั่งที่จำกัดในแต่ละวันถูกเกิน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "ความผิดพลาดของเซิร์ฟเวอร์ภายใน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "503": {
            "description": "บริการไม่สามารถใช้งานได้ในขณะนี้",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          }
        },
        "x-order": 18001500,
        "x-api-version": "v2",
        "x-docs-slug": "video-search-v2",
        "x-search-aliases": [
          "Bilibili video search API",
          "Bilibili keyword video search",
          "Bilibili sorted video search",
          "哔哩哔哩视频搜索",
          "B站关键词搜视频",
          "B站视频排序查询"
        ],
        "x-highlights": [],
        "x-endpoint-family": "bilibili_search_video"
      }
    }
  }
}