GroupItems
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ייצוג משאבים
המבנה של ה-JSON הבא מציג את הפורמט של משאב groupItems
:
{
"kind": "youtube#groupItem",
"etag": etag,
"id": string,
"groupId": string,
"resource": {
"kind": string,
"id": string
}
}
מאפיינים
בטבלה הבאה מפורטים המאפיינים שמופיעים במשאב הזה:
מאפיינים |
kind |
string
משמש לזיהוי הסוג של משאב ה-API. הערך יהיה youtube#groupItem . |
etag |
etag
ה-Etag של המשאב הזה. |
id |
string
המזהה שמשמש את YouTube לזיהוי ייחודי של המשאבים channel , video , playlist או asset שכלולים בקבוצה. חשוב לזכור שהמזהה הזה מתייחס באופן ספציפי להכללת המשאב בקבוצה מסוימת, והוא שונה ממזהה הערוץ, מזהה הסרטון, מזהה הפלייליסט או מזהה הנכס שמזהים באופן ייחודי את המשאב עצמו. הערך של המאפיין resource.id מציין את הערוץ, הסרטון, הפלייליסט או מזהה הנכס הייחודיים. |
groupId |
string
המזהה שמשמש את YouTube לזיהוי ייחודי של הקבוצה שמכילה את הפריט. |
resource |
object
האובייקט resource מכיל מידע שמזהה את הפריט שנוסף לקבוצה. |
resource.kind |
string
מזהה את סוג המשאב שנוסף לקבוצה.
הערכים החוקיים למאפיין הזה הם:
youtube#channel
youtube#playlist
youtube#video
youtubePartner#asset
|
resource.id |
string
המזהה של הערוץ, הסרטון, הפלייליסט או הנכס שמשמש את YouTube לזיהוי ייחודי של הפריט שנוסף לקבוצה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-09 (שעון UTC).
[[["התוכן קל להבנה","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-09 (שעון UTC)."],[[["The YouTube Analytics API provides methods to manage group items, enabling you to list, insert, and delete them within groups."],["Group items associate a YouTube resource like a channel, video, or playlist with a specific group for analysis."],["Each group item is uniquely identified by an ID and contains information about the resource it links to and the group it belongs to."],["The API uses a JSON structure to represent group items, including properties like `kind`, `etag`, `id`, `groupId`, and `resource`."],["The `resource` property within a group item further specifies the type and unique ID of the linked YouTube resource (channel, video, playlist, or asset)."]]],["The API for `groupItems` resources supports listing, inserting, and deleting items. `groupItems` contain properties like `kind`, `etag`, `id`, and `groupId`. The `resource` object within a `groupItem` identifies the item, specifying its `kind` (channel, playlist, video, or asset) and its unique `id`. The `id` in groupItem identifies a specific resource within a group and is different than the resources' ID, while the `groupId` is the identifier for the group containing the item.\n"]]