GuideCategories
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
注意:這是淘汰功能的公告。
guideCategories
資源和 guideCategories.list
方法已於 2020 年 9 月 9 日淘汰。
guideCategory
資源會指出 YouTube 根據頻道內容或其他指標 (例如頻道的熱門程度),以演算法指派的類別。這份清單與影片類別類似,但差別在於影片上傳者可以指派影片類別,而頻道類別則只能由 YouTube 指派。
方法
這個 API 支援 guideCategories
資源的下列方法:
- list
- 傳回可與 YouTube 頻道建立關聯的類別清單。立即試用。
資源表示法
以下 JSON 結構顯示 guideCategories
資源的格式:
{
"kind": "youtube#guideCategory",
"etag": etag,
"id": string,
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": string
}
}
屬性
下表定義了這個資源中顯示的屬性:
屬性 |
kind |
string
識別 API 資源的類型。值為 youtube#guideCategory 。 |
etag |
etag
這項資源的 Etag。 |
id |
string
YouTube 用來識別指南類別的 ID。 |
snippet |
object
snippet 物件包含類別的基本詳細資料,例如名稱。 |
snippet.channelId |
string
YouTube 會使用這個 ID 來識別發布指南類別的頻道。 |
snippet.title |
string
類別的標題。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-29 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-11-29 (世界標準時間)。"],[[["The `guideCategories` resource and `guideCategories.list` method were deprecated on September 9, 2020."],["A guide category is a classification assigned by YouTube to a channel based on its content or other indicators."],["The `guideCategories.list` method provided a list of categories applicable to YouTube channels."],["The `guideCategory` resource contains an ID, a snippet with basic details like a title, and other metadata such as the category's etag."],["Unlike video categories that are assigned by uploaders, channel categories are exclusively assigned by YouTube."]]],["The `guideCategories` resource and its `list` method were deprecated on September 9, 2020. A `guideCategory` represents a YouTube-assigned category for a channel. The `list` method previously returned categories associated with YouTube channels. The resource's JSON structure included `kind`, `etag`, `id`, and a `snippet` object with `channelId` and `title` properties. Only YouTube could assign these categories, unlike video categories, which could be assigned by the uploader.\n"]]