{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube รายละเอียดวิดีโอ API (V1)",
    "version": "v0",
    "description": "ค้นหาข้อมูลสาธารณะของวิดีโอ YouTube โดยใช้ ID ของวิดีโอ ใช้เพื่อตรวจสอบวิดีโอที่รู้จักก่อนการวิเคราะห์เนื้อหาหรือความคิดเห็นเพิ่มเติม"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)"
    }
  ],
  "tags": [
    {
      "name": "YouTube",
      "description": "การอัปโหลดวิดีโอและรายละเอียดวิดีโอของช่อง YouTube สำหรับการจัดอันดับเนื้อหา การติดตามผู้สร้าง และการวิเคราะห์สื่อ",
      "x-platform-id": "youtube",
      "x-platform-aliases": [
        "YouTube",
        "油管"
      ],
      "x-platform-detection-aliases": [
        "YouTube",
        "油管"
      ]
    }
  ],
  "paths": {
    "/api/youtube/get-video-detail/v1": {
      "get": {
        "tags": [
          "YouTube"
        ],
        "summary": "รายละเอียดวิดีโอ",
        "description": "ค้นหาข้อมูลสาธารณะของวิดีโอ YouTube โดยใช้ ID ของวิดีโอ ใช้เพื่อตรวจสอบวิดีโอที่รู้จักก่อนการวิเคราะห์เนื้อหาหรือความคิดเห็นเพิ่มเติม",
        "operationId": "getApiYoutubeGetVideoDetailV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "โทเค็นการเข้าถึงสำหรับบริการ API นี้",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "videoId",
            "in": "query",
            "description": "ตัวระบุที่ไม่ซ้ำกันสำหรับวิดีโอ YouTube",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "ทั่วไป IETF language tag สำหรับรายละเอียดวิดีโอที่แปลเป็นภาษาต่างๆ เช่น en-US ให้เว้นว่างหากต้องการใช้ภาษาเริ่มต้น",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "ข้อมูลสาธารณะของวิดีโอ YouTube ที่ต้องการ",
                        "properties": {
                          "errorId": {
                            "type": "string",
                            "description": "สถานะที่ส่งกลับมาใน payload ของรายละเอียดวิดีโอ จะเป็น “Success” หากรายละเอียดถูกส่งมา"
                          },
                          "type": {
                            "type": "string",
                            "description": "ประเภทเนื้อหาที่รายงานสำหรับวิดีโอ"
                          },
                          "id": {
                            "type": "string",
                            "description": "ตัวระบุวิดีโอของ YouTube"
                          },
                          "title": {
                            "type": "string",
                            "description": "ชื่อวิดีโอ"
                          },
                          "description": {
                            "type": "string",
                            "description": "ข้อความคำอธิบายของวิดีโอ"
                          },
                          "channel": {
                            "type": "object",
                            "description": "ช่อง YouTube ที่เผยแพร่วิดีโอ",
                            "properties": {
                              "type": {
                                "type": "string",
                                "description": "ประเภทของข้อมูลช่องที่รายงาน"
                              },
                              "id": {
                                "type": "string",
                                "description": "ตัวระบุช่องสาธารณะของ YouTube"
                              },
                              "name": {
                                "type": "string",
                                "description": "ชื่อที่แสดงผลของช่อง"
                              },
                              "handle": {
                                "type": "string",
                                "description": "ชื่อผู้ใช้สาธารณะของช่อง YouTube"
                              },
                              "isVerified": {
                                "type": "boolean",
                                "description": "ช่องนี้ถูกระบุว่าเป็นช่องที่ได้รับการยืนยันหรือไม่?"
                              },
                              "isVerifiedArtist": {
                                "type": "boolean",
                                "description": "ช่องนี้ถูกระบุว่าเป็นศิลปินที่ได้รับการยืนยันหรือไม่?"
                              },
                              "subscriberCountText": {
                                "type": "string",
                                "description": "จำนวนผู้ติดตามช่องในรูปแบบข้อความที่แสดงผล"
                              },
                              "avatar": {
                                "type": "array",
                                "description": "ตัวเลือกภาพลักษณ์ของช่อง",
                                "items": {
                                  "type": "object",
                                  "description": "ตัวเลือกภาพลักษณ์ของช่องหนึ่ง",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL ของรูปภาพ"
                                    },
                                    "width": {
                                      "type": "integer",
                                      "description": "ความกว้างของภาพในพิกเซล"
                                    },
                                    "height": {
                                      "type": "integer",
                                      "description": "ความสูงของภาพในพิกเซล"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "lengthSeconds": {
                            "type": "integer",
                            "description": "ความยาวของวิดีโอในวินาที"
                          },
                          "viewCount": {
                            "type": "integer",
                            "description": "จำนวนการดูวิดีโอที่รายงาน"
                          },
                          "likeCount": {
                            "type": "integer",
                            "description": "จำนวนการกดไลค์วิดีโอที่รายงาน"
                          },
                          "publishedTime": {
                            "type": "string",
                            "description": "วันที่และเวลาการเผยแพร่วิดีโอในรูปแบบข้อความพร้อม offset UTC"
                          },
                          "publishedTimeText": {
                            "type": "string",
                            "description": "เวลาการเผยแพร่วิดีโอในรูปแบบข้อความที่แสดงผล"
                          },
                          "isLiveStream": {
                            "type": "boolean",
                            "description": "ว่าวิดีโอนั้นถูกระบุว่าเป็นสตรีมสดหรือไม่ ใช้ isLiveNow เพื่อตรวจสอบสถานะสตรีมสดในปัจจุบัน"
                          },
                          "isLiveNow": {
                            "type": "boolean",
                            "description": "ว่าวิดีโอนั้นกำลังสตรีมสดอยู่หรือไม่"
                          },
                          "isRegionRestricted": {
                            "type": "boolean",
                            "description": "ว่ามีการรายงานข้อจำกัดการเข้าถึงเฉพาะภูมิภาคสำหรับวิดีโอหรือไม่"
                          },
                          "isUnlisted": {
                            "type": "boolean",
                            "description": "ว่าวิดีโอนั้นถูกระบุว่าเป็นวิดีโอที่ไม่เปิดเผยตัวตนหรือไม่"
                          },
                          "isCommentDisabled": {
                            "type": "boolean",
                            "description": "ว่าคำแสดงความคิดเห็นสำหรับวิดีโอนี้ถูกปิดกั้นหรือไม่"
                          },
                          "commentCountText": {
                            "type": "string",
                            "description": "จำนวนคำแสดงความคิดเห็นของวิดีโอในรูปแบบข้อความที่แสดงผล"
                          },
                          "thumbnails": {
                            "type": "array",
                            "description": "ตัวเลือกภาพขนาดย่อของวิดีโอ",
                            "items": {
                              "type": "object",
                              "description": "ตัวเลือกภาพขนาดย่อหนึ่ง",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "URL ของรูปภาพ"
                                },
                                "width": {
                                  "type": "integer",
                                  "description": "ความกว้างของภาพในพิกเซล"
                                },
                                "height": {
                                  "type": "integer",
                                  "description": "ความสูงของภาพในพิกเซล"
                                }
                              }
                            }
                          },
                          "musicCredits": {
                            "type": "array",
                            "description": "ข้อมูลการระบุแหล่งที่มาของเพลงที่แนบไว้กับวิดีโอ。",
                            "items": {
                              "type": "object",
                              "description": "ข้อมูลการระบุแหล่งที่มาของเพลงหนึ่งรายการ。",
                              "properties": {
                                "title": {
                                  "type": "string",
                                  "description": "ชื่อของท่อนเพลงที่ระบุแหล่งที่มา。"
                                },
                                "artist": {
                                  "type": "string",
                                  "description": "ชื่อศิลปินที่แสดงในข้อมูลการระบุแหล่งที่มา。"
                                },
                                "album": {
                                  "type": "string",
                                  "description": "ชื่ออัลบั้มที่แสดงในข้อมูลการระบุแหล่งที่มา。"
                                },
                                "description": {
                                  "type": "string",
                                  "description": "ข้อความคำอธิบายที่เกี่ยวข้องกับข้อมูลการระบุแหล่งที่มา。"
                                },
                                "thumbnails": {
                                  "type": "array",
                                  "description": "รูปภาพขนาดเล็กสำหรับข้อมูลการระบุแหล่งที่มานี้。",
                                  "items": {
                                    "type": "object",
                                    "description": "ตัวเลือกภาพขนาดย่อหนึ่ง",
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "description": "URL ของรูปภาพ"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "videos": {
                            "type": "object",
                            "description": "ชุดรูปแบบวิดีโอสำหรับวิดีโอนี้。",
                            "properties": {
                              "errorId": {
                                "type": "string",
                                "description": "สถานะที่รายงานสำหรับชุดรูปแบบสื่อนี้。"
                              },
                              "reason": {
                                "type": "string",
                                "description": "เหตุผลที่รูปแบบวิดีโอหรือท่อนเพลงไม่สามารถใช้งานได้ หากมีให้。"
                              },
                              "expiration": {
                                "type": "integer",
                                "description": "เวลาในรูปแบบ Unix หน่วยวินาทีเมื่อ URL ในชุดรูปแบบนี้หมดอายุ。"
                              },
                              "items": {
                                "type": "array",
                                "description": "รูปแบบวิดีโอที่มีอยู่。",
                                "items": {
                                  "type": "object",
                                  "description": "รูปแบบวิดีโอที่มีอยู่หนึ่งรายการ。",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL สำหรับรูปแบบวิดีโอนี้。URL อาจหมดอายุได้。"
                                    },
                                    "lengthMs": {
                                      "type": "integer",
                                      "description": "ความยาวของรูปแบบนี้ในหน่วยมิลลิวินาที。"
                                    },
                                    "mimeType": {
                                      "type": "string",
                                      "description": "ชนิดไฟล์ MIME สำหรับรูปแบบนี้。"
                                    },
                                    "extension": {
                                      "type": "string",
                                      "description": "นามสกุลไฟล์สำหรับรูปแบบนี้。"
                                    },
                                    "lastModified": {
                                      "type": "integer",
                                      "description": "เวลาการปรับปรุงล่าสุดที่รายงานสำหรับรูปแบบสื่อนี้。"
                                    },
                                    "size": {
                                      "type": "integer",
                                      "description": "ขนาดของรูปแบบนี้ในหน่วยไบต์。"
                                    },
                                    "sizeText": {
                                      "type": "string",
                                      "description": "ขนาดไฟล์ของรูปแบบนี้ในรูปแบบข้อความแสดงผล。"
                                    },
                                    "hasAudio": {
                                      "type": "boolean",
                                      "description": "รูปแบบวิดีโอนี้มีท่อนเพลงเสียงหรือไม่。"
                                    },
                                    "quality": {
                                      "type": "string",
                                      "description": "คำอธิบายคุณภาพวิดีโอที่รายงาน。"
                                    },
                                    "width": {
                                      "type": "integer",
                                      "description": "ความกว้างของเฟรมวิดีโอในพิกเซล"
                                    },
                                    "height": {
                                      "type": "integer",
                                      "description": "ความสูงของเฟรมวิดีโอในพิกเซล"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "audios": {
                            "type": "object",
                            "description": "ชุดรูปแบบเสียงสำหรับวิดีโอนี้。",
                            "properties": {
                              "errorId": {
                                "type": "string",
                                "description": "สถานะที่รายงานสำหรับชุดรูปแบบสื่อนี้。"
                              },
                              "reason": {
                                "type": "string",
                                "description": "เหตุผลที่รูปแบบวิดีโอหรือท่อนเพลงไม่สามารถใช้งานได้ หากมีให้。"
                              },
                              "expiration": {
                                "type": "integer",
                                "description": "เวลาในรูปแบบ Unix หน่วยวินาทีเมื่อ URL ในชุดรูปแบบนี้หมดอายุ。"
                              },
                              "items": {
                                "type": "array",
                                "description": "รูปแบบเสียงที่มีอยู่。",
                                "items": {
                                  "type": "object",
                                  "description": "รูปแบบเสียงที่มีอยู่หนึ่งรายการ。",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL สำหรับรูปแบบเสียงนี้. URL อาจหมดอายุได้."
                                    },
                                    "lengthMs": {
                                      "type": "integer",
                                      "description": "ความยาวของรูปแบบนี้ในหน่วยมิลลิวินาที。"
                                    },
                                    "mimeType": {
                                      "type": "string",
                                      "description": "ชนิดไฟล์ MIME สำหรับรูปแบบนี้。"
                                    },
                                    "extension": {
                                      "type": "string",
                                      "description": "นามสกุลไฟล์สำหรับรูปแบบนี้。"
                                    },
                                    "lastModified": {
                                      "type": "integer",
                                      "description": "เวลาการปรับปรุงล่าสุดที่รายงานสำหรับรูปแบบสื่อนี้。"
                                    },
                                    "size": {
                                      "type": "integer",
                                      "description": "ขนาดของรูปแบบนี้ในหน่วยไบต์。"
                                    },
                                    "sizeText": {
                                      "type": "string",
                                      "description": "ขนาดไฟล์ของรูปแบบนี้ในรูปแบบข้อความแสดงผล。"
                                    },
                                    "isDrc": {
                                      "type": "boolean",
                                      "description": "ระบุว่าสำหรับรูปแบบเสียงนี้มีการใช้ Dynamic Range Compression หรือไม่."
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "subtitles": {
                            "type": "object",
                            "description": "ชุดเสียงคำบรรยายสำหรับวิดีโอนี้.",
                            "properties": {
                              "errorId": {
                                "type": "string",
                                "description": "สถานะที่รายงานสำหรับชุดรูปแบบสื่อนี้。"
                              },
                              "reason": {
                                "type": "string",
                                "description": "เหตุผลที่รูปแบบวิดีโอหรือท่อนเพลงไม่สามารถใช้งานได้ หากมีให้。"
                              },
                              "expiration": {
                                "type": "integer",
                                "description": "เวลาในรูปแบบ Unix หน่วยวินาทีเมื่อ URL ในชุดรูปแบบนี้หมดอายุ。"
                              },
                              "items": {
                                "type": "array",
                                "description": "เสียงคำบรรยายที่มีอยู่.",
                                "items": {
                                  "type": "object",
                                  "description": "เสียงคำบรรยายที่มีอยู่หนึ่งเสียง.",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL สำหรับเสียงคำบรรยายนี้. URL อาจหมดอายุได้."
                                    },
                                    "code": {
                                      "type": "string",
                                      "description": "ภาษาหรือรหัสเสียงคำบรรยายที่รายงานไว้สำหรับเสียงคำบรรยายนี้."
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "related": {
                            "type": "object",
                            "description": "ผลการค้นหาวิดีโอที่เกี่ยวข้องรวมอยู่ในรายละเอียด.",
                            "properties": {
                              "nextToken": {
                                "type": "string",
                                "description": "ค่าที่ไม่ชัดเจนสำหรับผลการค้นหาวิดีโอที่เกี่ยวข้อง."
                              },
                              "items": {
                                "type": "array",
                                "description": "เนื้อหาวิดีโอที่เกี่ยวข้องที่ถูกส่งกลับมาพร้อมกับรายละเอียด.",
                                "items": {
                                  "type": "object",
                                  "description": "เนื้อหาวิดีโอที่เกี่ยวข้องหนึ่งรายการ.",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "description": "ประเภทเนื้อหาที่รายงานสำหรับวิดีโอที่เกี่ยวข้อง."
                                    },
                                    "id": {
                                      "type": "string",
                                      "description": "ตัวระบุวิดีโอของ YouTube"
                                    },
                                    "title": {
                                      "type": "string",
                                      "description": "ชื่อของวิดีโอที่เกี่ยวข้อง."
                                    },
                                    "channel": {
                                      "type": "object",
                                      "description": "คลื่นยูทูบที่เผยแพร่วิดีโอที่เกี่ยวข้อง.",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "description": "ประเภทของข้อมูลช่องที่รายงาน"
                                        },
                                        "id": {
                                          "type": "string",
                                          "description": "ตัวระบุช่องสาธารณะของ YouTube"
                                        },
                                        "name": {
                                          "type": "string",
                                          "description": "ชื่อที่แสดงผลของช่อง"
                                        },
                                        "handle": {
                                          "type": "string",
                                          "description": "ชื่อผู้ใช้สาธารณะของช่อง YouTube"
                                        },
                                        "isVerified": {
                                          "type": "boolean",
                                          "description": "ช่องนี้ถูกระบุว่าเป็นช่องที่ได้รับการยืนยันหรือไม่?"
                                        },
                                        "isVerifiedArtist": {
                                          "type": "boolean",
                                          "description": "ช่องนี้ถูกระบุว่าเป็นศิลปินที่ได้รับการยืนยันหรือไม่?"
                                        },
                                        "avatar": {
                                          "type": "array",
                                          "description": "ตัวเลือกภาพลักษณ์ของช่อง",
                                          "items": {
                                            "type": "object",
                                            "description": "ตัวเลือกภาพลักษณ์ของช่องหนึ่ง",
                                            "properties": {
                                              "url": {
                                                "type": "string",
                                                "description": "URL ของรูปภาพ"
                                              },
                                              "width": {
                                                "type": "integer",
                                                "description": "ความกว้างของภาพในพิกเซล"
                                              },
                                              "height": {
                                                "type": "integer",
                                                "description": "ความสูงของภาพในพิกเซล"
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "isLiveNow": {
                                      "type": "boolean",
                                      "description": "วิดีโอที่เกี่ยวข้องนี้กำลังออกอากาศอยู่หรือไม่."
                                    },
                                    "lengthText": {
                                      "type": "string",
                                      "description": "ความยาวของวิดีโอที่เกี่ยวข้องในรูปแบบข้อความแสดงผล."
                                    },
                                    "viewCountText": {
                                      "type": "string",
                                      "description": "จำนวนการดูวิดีโอที่เกี่ยวข้องในรูปแบบข้อความแสดงผล."
                                    },
                                    "publishedTimeText": {
                                      "type": "string",
                                      "description": "เวลาเผยแพร่วิดีโอที่เกี่ยวข้องในรูปแบบข้อความแสดงผล."
                                    },
                                    "thumbnails": {
                                      "type": "array",
                                      "description": "ตัวเลือกภาพขยายของวิดีโอที่เกี่ยวข้อง.",
                                      "items": {
                                        "type": "object",
                                        "description": "ตัวเลือกภาพขนาดย่อหนึ่ง",
                                        "properties": {
                                          "url": {
                                            "type": "string",
                                            "description": "URL ของรูปภาพ"
                                          },
                                          "width": {
                                            "type": "integer",
                                            "description": "ความกว้างของภาพในพิกเซล"
                                          },
                                          "height": {
                                            "type": "integer",
                                            "description": "ความสูงของภาพในพิกเซล"
                                          },
                                          "moving": {
                                            "type": "boolean",
                                            "description": "ภาพขยายเป็นภาพประกอบแบบแอนิเมชันหรือไม่."
                                          }
                                        }
                                      }
                                    },
                                    "collaborators": {
                                      "type": "array",
                                      "description": "คลื่นยูทูบที่ร่วมงานสำหรับวิดีโอที่เกี่ยวข้อง.",
                                      "items": {
                                        "type": "object",
                                        "description": "คลื่นยูทูบที่ร่วมงานสำหรับวิดีโอที่เกี่ยวข้อง.",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "description": "ประเภทของข้อมูลช่องที่รายงาน"
                                          },
                                          "id": {
                                            "type": "string",
                                            "description": "ตัวระบุช่องสาธารณะของ YouTube"
                                          },
                                          "name": {
                                            "type": "string",
                                            "description": "ชื่อที่แสดงผลของช่อง"
                                          },
                                          "handle": {
                                            "type": "string",
                                            "description": "ชื่อผู้ใช้สาธารณะของช่อง YouTube"
                                          },
                                          "isVerified": {
                                            "type": "boolean",
                                            "description": "ช่องนี้ถูกระบุว่าเป็นช่องที่ได้รับการยืนยันหรือไม่?"
                                          },
                                          "isVerifiedArtist": {
                                            "type": "boolean",
                                            "description": "ช่องนี้ถูกระบุว่าเป็นศิลปินที่ได้รับการยืนยันหรือไม่?"
                                          },
                                          "subscriberCountText": {
                                            "type": "string",
                                            "description": "จำนวนผู้ติดตามช่องในรูปแบบข้อความที่แสดงผล"
                                          },
                                          "avatar": {
                                            "type": "array",
                                            "description": "ตัวเลือกภาพลักษณ์ของช่อง",
                                            "items": {
                                              "type": "object",
                                              "description": "ตัวเลือกภาพลักษณ์ของช่องหนึ่ง",
                                              "properties": {
                                                "url": {
                                                  "type": "string",
                                                  "description": "URL ของรูปภาพ"
                                                },
                                                "width": {
                                                  "type": "integer",
                                                  "description": "ความกว้างของภาพในพิกเซล"
                                                },
                                                "height": {
                                                  "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": "25001000",
        "x-api-version": "v1",
        "x-docs-slug": "video-details-v1",
        "x-search-aliases": [
          "YouTube video details",
          "YouTube video information",
          "YouTube video lookup",
          "YouTube视频详情",
          "YouTube视频信息",
          "YouTube视频查询"
        ],
        "x-highlights": [],
        "x-endpoint-family": "youtube_get_video_detail"
      }
    }
  }
}