【发布时间】:2016-06-14 10:23:55
【问题描述】:
在使用 ID 为 21 的“Videoblogging”类别时,使用 API 将视频上传到 YouTube 时似乎出现错误。我什至使用该文档在“Try it”下的https://developers.google.com/youtube/v3/docs/videoCategories/list 处检索 ID “ 部分。
{
"kind": "youtube#videoCategory",
"etag": "\"0Fu6lI6VPLdRMlQU3wwNcowdAUs/EapFaGYG7K0StIXVf8aba249tdM\"",
"id": "21",
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": "Videoblogging",
"assignable": false
}
与其他类别,如体育
{
"kind": "youtube#videoCategory",
"etag": "\"0Fu6lI6VPLdRMlQU3wwNcowdAUs/9GQMSRjrZdHeb1OEM1XVQ9zbGec\"",
"id": "17",
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": "Sports",
"assignable": true
}
唯一的区别是可分配的,因此不可分配的类别将不起作用,因为该领域的文档不清楚。
【问题讨论】:
标签: youtube-api youtube-data-api