GroupItems
Stay organized with collections
Save and categorize content based on your preferences.
Methods
The API supports the following methods for
groupItems
resources:
- list
- Returns a collection of group items that match the API request parameters.
Try it now
.
- insert
- Creates a group item.
Try it now
.
- delete
- Removes an item from a group.
Try it now
.
Resource representation
The JSON structure below shows the format of a
groupItems
resource:
{
"
kind
": "youtube#groupItem",
"
etag
":
etag
,
"
id
":
string
,
"
groupId
":
string
,
"
resource
": {
"
kind
":
string
,
"
id
":
string
}
}
Properties
The following table defines the properties that appear in this resource:
Properties
|
kind
|
string
Identifies the API resource's type. The value will be
youtube#groupItem
.
|
etag
|
etag
The Etag of this resource.
|
id
|
string
The ID that YouTube uses to uniquely identify the
channel
,
video
,
playlist
, or
asset
resource that is included in the group. Note that this ID refers specifically to the inclusion of that resource in a particular group and is different than the channel ID, video ID, playlist ID, or asset ID that uniquely identifies the resource itself. The
resource.id
property's value specifies the unique channel, video, playlist, or asset ID.
|
groupId
|
string
The ID that YouTube uses to uniquely identify the group that contains the item.
|
resource
|
object
The
resource
object contains information that identifies the item being added to the group.
|
resource.
kind
|
string
Identifies the type of resource being added to the group.
Valid values for this property are:
youtube#channel
youtube#playlist
youtube#video
youtubePartner#asset
|
resource.
id
|
string
The channel, video, playlist, or asset ID that YouTube uses to uniquely identify the item that is being added to the group.
|
Except as otherwise noted, the content of this page is licensed under the
Creative Commons Attribution 4.0 License
, and code samples are licensed under the
Apache 2.0 License
. For details, see the
Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-11-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]