v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1381232.0 KB
groupItems

Creates a group item.

post/v2/groupItems

Query parameters

onBehalfOfContentOwnerstring

This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.

Request body

idstring

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.

kindstring

Identifies the API resource's type. The value will be youtube#groupItem.

etagstring

The Etag of this resource.

groupIdstring

The ID that YouTube uses to uniquely identify the group that contains the item.

Response

Successful response