{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube Chi tiết video API (V1)",
    "version": "v0",
    "description": "Lấy lại thông tin công cộng về video trên YouTube được xác định bằng ID video. Sử dụng để kiểm tra một video đã biết trước khi phân tích nội dung hoặc bình luận tiếp theo."
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API sản xuất toàn cục (mặc định)"
    }
  ],
  "tags": [
    {
      "name": "YouTube",
      "description": "Các bài đăng và chi tiết video của kênh YouTube để phân loại nội dung, giám sát nhà sáng tạo và phân tích truyền thông.",
      "x-platform-id": "youtube",
      "x-platform-aliases": [
        "YouTube",
        "油管"
      ],
      "x-platform-detection-aliases": [
        "YouTube",
        "油管"
      ]
    }
  ],
  "paths": {
    "/api/youtube/get-video-detail/v1": {
      "get": {
        "tags": [
          "YouTube"
        ],
        "summary": "Chi tiết video",
        "description": "Lấy lại thông tin công cộng về video trên YouTube được xác định bằng ID video. Sử dụng để kiểm tra một video đã biết trước khi phân tích nội dung hoặc bình luận tiếp theo.",
        "operationId": "getApiYoutubeGetVideoDetailV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Token truy cập cho dịch vụ API này.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "videoId",
            "in": "query",
            "description": "Định danh duy nhất của một video trên YouTube.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Thẻ ngôn ngữ IETF tùy chọn để local hóa thông tin video, như en-US. Để trống để sử dụng ngôn ngữ mặc định.",
            "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": "Thông tin công khai về video YouTube được yêu cầu.",
                        "properties": {
                          "errorId": {
                            "type": "string",
                            "description": "Trạng thái được trả về trong dữ liệu chi tiết video. “Success” cho thông tin thành công."
                          },
                          "type": {
                            "type": "string",
                            "description": "Loại nội dung được báo cáo cho video."
                          },
                          "id": {
                            "type": "string",
                            "description": "Thanh toán video YouTube."
                          },
                          "title": {
                            "type": "string",
                            "description": "Tiêu đề video."
                          },
                          "description": {
                            "type": "string",
                            "description": "Văn bản mô tả video."
                          },
                          "channel": {
                            "type": "object",
                            "description": "Kênh YouTube đã phát hành video.",
                            "properties": {
                              "type": {
                                "type": "string",
                                "description": "Loại thông tin kênh được báo cáo."
                              },
                              "id": {
                                "type": "string",
                                "description": "Thanh toán kênh YouTube."
                              },
                              "name": {
                                "type": "string",
                                "description": "Tên hiển thị của kênh."
                              },
                              "handle": {
                                "type": "string",
                                "description": "Tên handle công khai của kênh YouTube."
                              },
                              "isVerified": {
                                "type": "boolean",
                                "description": "Kênh có được đánh dấu là đã được xác thực hay không."
                              },
                              "isVerifiedArtist": {
                                "type": "boolean",
                                "description": "Kênh có được đánh dấu là nghệ sĩ đã được xác thực hay không."
                              },
                              "subscriberCountText": {
                                "type": "string",
                                "description": "Số lượng người theo dõi kênh dưới dạng văn bản hiển thị."
                              },
                              "avatar": {
                                "type": "array",
                                "description": "Tùy chọn hình ảnh avatar của kênh.",
                                "items": {
                                  "type": "object",
                                  "description": "Một tùy chọn hình ảnh avatar của kênh.",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL của ảnh."
                                    },
                                    "width": {
                                      "type": "integer",
                                      "description": "Chiều rộng của hình ảnh trong pixel."
                                    },
                                    "height": {
                                      "type": "integer",
                                      "description": "Chiều cao của hình ảnh trong pixel."
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "lengthSeconds": {
                            "type": "integer",
                            "description": "Thời lượng video tính bằng giây."
                          },
                          "viewCount": {
                            "type": "integer",
                            "description": "Số lượt xem video được báo cáo."
                          },
                          "likeCount": {
                            "type": "integer",
                            "description": "Số lượt like video được báo cáo."
                          },
                          "publishedTime": {
                            "type": "string",
                            "description": "Ngày và giờ phát hành video dưới dạng văn bản với khoảng thời gian UTC."
                          },
                          "publishedTimeText": {
                            "type": "string",
                            "description": "Thời gian phát hành video dưới dạng văn bản hiển thị."
                          },
                          "isLiveStream": {
                            "type": "boolean",
                            "description": "Liệu video có được xác định là stream trực tiếp hay không. Sử dụng isLiveNow để kiểm tra trạng thái stream hiện tại."
                          },
                          "isLiveNow": {
                            "type": "boolean",
                            "description": "Liệu video có đang phát trực tiếp hay không."
                          },
                          "isRegionRestricted": {
                            "type": "boolean",
                            "description": "Liệu có báo cáo hạn chế khả năng xem video theo khu vực hay không."
                          },
                          "isUnlisted": {
                            "type": "boolean",
                            "description": "Liệu video có được đánh dấu là không công khai hay không."
                          },
                          "isCommentDisabled": {
                            "type": "boolean",
                            "description": "Liệu bình luận cho video này có bị tắt hay không."
                          },
                          "commentCountText": {
                            "type": "string",
                            "description": "Số lượt bình luận video dưới dạng văn bản hiển thị."
                          },
                          "thumbnails": {
                            "type": "array",
                            "description": "Tùy chọn hình nền video.",
                            "items": {
                              "type": "object",
                              "description": "Một tùy chọn hình nền video.",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "URL của ảnh."
                                },
                                "width": {
                                  "type": "integer",
                                  "description": "Chiều rộng của hình ảnh trong pixel."
                                },
                                "height": {
                                  "type": "integer",
                                  "description": "Chiều cao của hình ảnh trong pixel."
                                }
                              }
                            }
                          },
                          "musicCredits": {
                            "type": "array",
                            "description": "Thông tin ghi nhận nguồn âm nhạc được gắn với video.",
                            "items": {
                              "type": "object",
                              "description": "Một thông tin ghi nhận nguồn âm nhạc.",
                              "properties": {
                                "title": {
                                  "type": "string",
                                  "description": "Tiêu đề của bản nhạc được ghi nhận nguồn."
                                },
                                "artist": {
                                  "type": "string",
                                  "description": "Nhà nghệ sĩ được hiển thị trong thông tin nguồn âm nhạc."
                                },
                                "album": {
                                  "type": "string",
                                  "description": "Album được hiển thị trong thông tin nguồn âm nhạc."
                                },
                                "description": {
                                  "type": "string",
                                  "description": "Văn bản mô tả liên quan đến thông tin nguồn âm nhạc."
                                },
                                "thumbnails": {
                                  "type": "array",
                                  "description": "Hình ảnh thu nhỏ cho thông tin nguồn âm nhạc này.",
                                  "items": {
                                    "type": "object",
                                    "description": "Một tùy chọn hình nền video.",
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "description": "URL của ảnh."
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "videos": {
                            "type": "object",
                            "description": "Bộ phương thức định dạng video cho video này.",
                            "properties": {
                              "errorId": {
                                "type": "string",
                                "description": "Trạng thái được báo cáo cho bộ phương thức định dạng này."
                              },
                              "reason": {
                                "type": "string",
                                "description": "Lý do tại sao các định dạng video hoặc bản nhạc không có sẵn, nếu có."
                              },
                              "expiration": {
                                "type": "integer",
                                "description": "Thời gian đánh dấu Unix bằng giây khi các URL trong bộ phương thức này hết hạn."
                              },
                              "items": {
                                "type": "array",
                                "description": "Các định dạng video có sẵn.",
                                "items": {
                                  "type": "object",
                                  "description": "Một định dạng video có sẵn.",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL cho định dạng video này. URL có thể hết hạn."
                                    },
                                    "lengthMs": {
                                      "type": "integer",
                                      "description": "Thời lượng của định dạng này bằng mili giây."
                                    },
                                    "mimeType": {
                                      "type": "string",
                                      "description": "Loại tệp MIME cho định dạng này."
                                    },
                                    "extension": {
                                      "type": "string",
                                      "description": "Đuôi tệp cho định dạng này."
                                    },
                                    "lastModified": {
                                      "type": "integer",
                                      "description": "Thời gian cập nhật cuối cùng được báo cáo cho định dạng này."
                                    },
                                    "size": {
                                      "type": "integer",
                                      "description": "Kích thước của định dạng này bằng byte."
                                    },
                                    "sizeText": {
                                      "type": "string",
                                      "description": "Kích thước tệp của định dạng này dưới dạng văn bản hiển thị."
                                    },
                                    "hasAudio": {
                                      "type": "boolean",
                                      "description": "Liệu định dạng video có bao gồm bản nhạc hay không."
                                    },
                                    "quality": {
                                      "type": "string",
                                      "description": "Tiêu đề chất lượng video được báo cáo."
                                    },
                                    "width": {
                                      "type": "integer",
                                      "description": "Chiều rộng khung video trong pixel."
                                    },
                                    "height": {
                                      "type": "integer",
                                      "description": "Chiều cao khung video trong pixel."
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "audios": {
                            "type": "object",
                            "description": "Bộ phương thức định dạng âm thanh cho video này.",
                            "properties": {
                              "errorId": {
                                "type": "string",
                                "description": "Trạng thái được báo cáo cho bộ phương thức định dạng này."
                              },
                              "reason": {
                                "type": "string",
                                "description": "Lý do tại sao các định dạng video hoặc bản nhạc không có sẵn, nếu có."
                              },
                              "expiration": {
                                "type": "integer",
                                "description": "Thời gian đánh dấu Unix bằng giây khi các URL trong bộ phương thức này hết hạn."
                              },
                              "items": {
                                "type": "array",
                                "description": "Các định dạng âm thanh có sẵn.",
                                "items": {
                                  "type": "object",
                                  "description": "Một định dạng âm thanh có sẵn.",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL dành cho định dạng âm thanh này. URL có thể hết hạn."
                                    },
                                    "lengthMs": {
                                      "type": "integer",
                                      "description": "Thời lượng của định dạng này bằng mili giây."
                                    },
                                    "mimeType": {
                                      "type": "string",
                                      "description": "Loại tệp MIME cho định dạng này."
                                    },
                                    "extension": {
                                      "type": "string",
                                      "description": "Đuôi tệp cho định dạng này."
                                    },
                                    "lastModified": {
                                      "type": "integer",
                                      "description": "Thời gian cập nhật cuối cùng được báo cáo cho định dạng này."
                                    },
                                    "size": {
                                      "type": "integer",
                                      "description": "Kích thước của định dạng này bằng byte."
                                    },
                                    "sizeText": {
                                      "type": "string",
                                      "description": "Kích thước tệp của định dạng này dưới dạng văn bản hiển thị."
                                    },
                                    "isDrc": {
                                      "type": "boolean",
                                      "description": "Liệu định dạng âm thanh này có sử dụng kỹ thuật nén phạm vi động hay không."
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "subtitles": {
                            "type": "object",
                            "description": "Bộ phụ đề dành cho video này.",
                            "properties": {
                              "errorId": {
                                "type": "string",
                                "description": "Trạng thái được báo cáo cho bộ phương thức định dạng này."
                              },
                              "reason": {
                                "type": "string",
                                "description": "Lý do tại sao các định dạng video hoặc bản nhạc không có sẵn, nếu có."
                              },
                              "expiration": {
                                "type": "integer",
                                "description": "Thời gian đánh dấu Unix bằng giây khi các URL trong bộ phương thức này hết hạn."
                              },
                              "items": {
                                "type": "array",
                                "description": "Các bộ phụ đề có sẵn.",
                                "items": {
                                  "type": "object",
                                  "description": "Một bộ phụ đề có sẵn.",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "URL dành cho bộ phụ đề này. URL có thể hết hạn."
                                    },
                                    "code": {
                                      "type": "string",
                                      "description": "Ngôn ngữ hoặc mã kênh được báo cáo cho bộ phụ đề."
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "related": {
                            "type": "object",
                            "description": "Kết quả video liên quan được bao gồm trong thông tin chi tiết.",
                            "properties": {
                              "nextToken": {
                                "type": "string",
                                "description": "Giá trị liên quan được báo cáo cho kết quả video liên quan."
                              },
                              "items": {
                                "type": "array",
                                "description": "Các mục video liên quan được trả về cùng với thông tin chi tiết.",
                                "items": {
                                  "type": "object",
                                  "description": "Một mục video liên quan.",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "description": "Loại nội dung được báo cáo cho video liên quan."
                                    },
                                    "id": {
                                      "type": "string",
                                      "description": "Thanh toán video YouTube."
                                    },
                                    "title": {
                                      "type": "string",
                                      "description": "Tiêu đề của video liên quan."
                                    },
                                    "channel": {
                                      "type": "object",
                                      "description": "Kênh YouTube đã đăng video liên quan.",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "description": "Loại thông tin kênh được báo cáo."
                                        },
                                        "id": {
                                          "type": "string",
                                          "description": "Thanh toán kênh YouTube."
                                        },
                                        "name": {
                                          "type": "string",
                                          "description": "Tên hiển thị của kênh."
                                        },
                                        "handle": {
                                          "type": "string",
                                          "description": "Tên handle công khai của kênh YouTube."
                                        },
                                        "isVerified": {
                                          "type": "boolean",
                                          "description": "Kênh có được đánh dấu là đã được xác thực hay không."
                                        },
                                        "isVerifiedArtist": {
                                          "type": "boolean",
                                          "description": "Kênh có được đánh dấu là nghệ sĩ đã được xác thực hay không."
                                        },
                                        "avatar": {
                                          "type": "array",
                                          "description": "Tùy chọn hình ảnh avatar của kênh.",
                                          "items": {
                                            "type": "object",
                                            "description": "Một tùy chọn hình ảnh avatar của kênh.",
                                            "properties": {
                                              "url": {
                                                "type": "string",
                                                "description": "URL của ảnh."
                                              },
                                              "width": {
                                                "type": "integer",
                                                "description": "Chiều rộng của hình ảnh trong pixel."
                                              },
                                              "height": {
                                                "type": "integer",
                                                "description": "Chiều cao của hình ảnh trong pixel."
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "isLiveNow": {
                                      "type": "boolean",
                                      "description": "Liệu video liên quan hiện đang phát trực tuyến hay không."
                                    },
                                    "lengthText": {
                                      "type": "string",
                                      "description": "Độ dài video liên quan dưới dạng văn bản hiển thị."
                                    },
                                    "viewCountText": {
                                      "type": "string",
                                      "description": "Số lượt xem video liên quan dưới dạng văn bản hiển thị."
                                    },
                                    "publishedTimeText": {
                                      "type": "string",
                                      "description": "Thời gian phát hành video liên quan dưới dạng văn bản hiển thị."
                                    },
                                    "thumbnails": {
                                      "type": "array",
                                      "description": "Tùy chọn hình nền của video liên quan.",
                                      "items": {
                                        "type": "object",
                                        "description": "Một tùy chọn hình nền video.",
                                        "properties": {
                                          "url": {
                                            "type": "string",
                                            "description": "URL của ảnh."
                                          },
                                          "width": {
                                            "type": "integer",
                                            "description": "Chiều rộng của hình ảnh trong pixel."
                                          },
                                          "height": {
                                            "type": "integer",
                                            "description": "Chiều cao của hình ảnh trong pixel."
                                          },
                                          "moving": {
                                            "type": "boolean",
                                            "description": "Liệu hình nền có phải là bản xem trước hoạt động hay không."
                                          }
                                        }
                                      }
                                    },
                                    "collaborators": {
                                      "type": "array",
                                      "description": "Các kênh hợp tác được liệt kê cho video liên quan.",
                                      "items": {
                                        "type": "object",
                                        "description": "Một kênh YouTube hợp tác được liệt kê cho video liên quan.",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "description": "Loại thông tin kênh được báo cáo."
                                          },
                                          "id": {
                                            "type": "string",
                                            "description": "Thanh toán kênh YouTube."
                                          },
                                          "name": {
                                            "type": "string",
                                            "description": "Tên hiển thị của kênh."
                                          },
                                          "handle": {
                                            "type": "string",
                                            "description": "Tên handle công khai của kênh YouTube."
                                          },
                                          "isVerified": {
                                            "type": "boolean",
                                            "description": "Kênh có được đánh dấu là đã được xác thực hay không."
                                          },
                                          "isVerifiedArtist": {
                                            "type": "boolean",
                                            "description": "Kênh có được đánh dấu là nghệ sĩ đã được xác thực hay không."
                                          },
                                          "subscriberCountText": {
                                            "type": "string",
                                            "description": "Số lượng người theo dõi kênh dưới dạng văn bản hiển thị."
                                          },
                                          "avatar": {
                                            "type": "array",
                                            "description": "Tùy chọn hình ảnh avatar của kênh.",
                                            "items": {
                                              "type": "object",
                                              "description": "Một tùy chọn hình ảnh avatar của kênh.",
                                              "properties": {
                                                "url": {
                                                  "type": "string",
                                                  "description": "URL của ảnh."
                                                },
                                                "width": {
                                                  "type": "integer",
                                                  "description": "Chiều rộng của hình ảnh trong pixel."
                                                },
                                                "height": {
                                                  "type": "integer",
                                                  "description": "Chiều cao của hình ảnh trong pixel."
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "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": "Các tham số hoặc nội dung yêu cầu không hợp lệ.",
            "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": "Tài khoản truy cập không hợp lệ hoặc không hoạt động.",
            "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": "Quyền truy cập bị từ chối.",
            "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": "Tốc độ yêu cầu hoặc giới hạn hàng ngày đã vượt quá.",
            "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": "Lỗi máy chủ nội bộ.",
            "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": "Dịch vụ tạm thời không khả dụng.",
            "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"
      }
    }
  }
}