{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube視頻詳情 API (V1)",
    "version": "v0",
    "description": "通過視頻ID獲取YouTube視頻的公開詳情。用於在進一步內容或評論分析之前檢查已知視頻。"
  },
  "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": "通過視頻ID獲取YouTube視頻的公開詳情。用於在進一步內容或評論分析之前檢查已知視頻。",
        "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 語言標籤，用於本地化視頻詳情，例如 en-US。留空則使用預設語言。",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "好的",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "所請求 YouTube 視頻的公開詳情。",
                        "properties": {
                          "errorId": {
                            "type": "string",
                            "description": "視頻詳情資料中的狀態。成功時為 Success。"
                          },
                          "type": {
                            "type": "string",
                            "description": "返回的視頻內容類型。"
                          },
                          "id": {
                            "type": "string",
                            "description": "YouTube 視頻 ID。"
                          },
                          "title": {
                            "type": "string",
                            "description": "視頻標題。"
                          },
                          "description": {
                            "type": "string",
                            "description": "視頻描述文本。"
                          },
                          "channel": {
                            "type": "object",
                            "description": "發佈該視頻的 YouTube 頻道。",
                            "properties": {
                              "type": {
                                "type": "string",
                                "description": "頻道條目的類型。"
                              },
                              "id": {
                                "type": "string",
                                "description": "YouTube 頻道 ID。"
                              },
                              "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": "視頻發佈時間，以帶 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": "該媒體集合的 URL 到期時間，表示為 Unix 秒級時間戳。"
                              },
                              "items": {
                                "type": "array",
                                "description": "可用的視頻格式列表。",
                                "items": {
                                  "type": "object",
                                  "description": "一種可用的視頻格式。",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "該視頻格式的訪問 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": "該媒體集合的 URL 到期時間，表示為 Unix 秒級時間戳。"
                              },
                              "items": {
                                "type": "array",
                                "description": "可用的音頻格式列表。",
                                "items": {
                                  "type": "object",
                                  "description": "一種可用的音頻格式。",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "該音頻格式的訪問 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": "該音頻格式是否標記為使用動態範圍壓縮。"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "subtitles": {
                            "type": "object",
                            "description": "該視頻的字幕軌道信息。",
                            "properties": {
                              "errorId": {
                                "type": "string",
                                "description": "該媒體集合的狀態。"
                              },
                              "reason": {
                                "type": "string",
                                "description": "媒體格式或軌道不可用時返回的原因。"
                              },
                              "expiration": {
                                "type": "integer",
                                "description": "該媒體集合的 URL 到期時間，表示為 Unix 秒級時間戳。"
                              },
                              "items": {
                                "type": "array",
                                "description": "可用的字幕軌道列表。",
                                "items": {
                                  "type": "object",
                                  "description": "一條可用的字幕軌道。",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "該字幕軌道的訪問 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 視頻 ID。"
                                    },
                                    "title": {
                                      "type": "string",
                                      "description": "關聯視頻標題。"
                                    },
                                    "channel": {
                                      "type": "object",
                                      "description": "發佈該關聯視頻的 YouTube 頻道。",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "description": "頻道條目的類型。"
                                        },
                                        "id": {
                                          "type": "string",
                                          "description": "YouTube 頻道 ID。"
                                        },
                                        "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": "關聯視頻中列出的一位合作方的 YouTube 頻道。",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "description": "頻道條目的類型。"
                                          },
                                          "id": {
                                            "type": "string",
                                            "description": "YouTube 頻道 ID。"
                                          },
                                          "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"
                                },
                                "nodeType": {
                                  "type": "string",
                                  "enum": [
                                    "ARRAY",
                                    "BINARY",
                                    "BOOLEAN",
                                    "MISSING",
                                    "NULL",
                                    "NUMBER",
                                    "OBJECT",
                                    "POJO",
                                    "STRING"
                                  ]
                                },
                                "valueNode": {
                                  "type": "boolean"
                                },
                                "container": {
                                  "type": "boolean"
                                },
                                "missingNode": {
                                  "type": "boolean"
                                },
                                "string": {
                                  "type": "boolean"
                                },
                                "integralNumber": {
                                  "type": "boolean"
                                },
                                "floatingPointNumber": {
                                  "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"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "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": "訪問令牌無效或未激活",
            "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"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "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"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "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"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "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"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "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"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "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"
      }
    }
  }
}