Returns a collection of playlist images that match the API request parameters. Only standard playlists (PL prefix) are supported; other playlist types fail with 400 playlistTypeUnsupported.
Unauthenticated requests (using an API key) can list images for public playlists. Retrieving images for private playlists requires OAuth 2.0 authorization; unauthorized requests for private playlists return 404 notFound. For method-specific error responses, see playlistImages.list errors.
HTTP request
GET https://youtube.googleapis.com/youtube/v3/playlistImages
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
parent |
Required. Specifies the unique ID of the playlist whose images to retrieve. Only standard playlists ( |
maxResults |
Specifies the maximum number of items returned in the result set. Acceptable values are |
pageToken |
The |
part[] |
Required. Specifies a comma-separated list of one or more |
onBehalfOfContentOwner |
Intended exclusively for YouTube content partners and valid only in an authorized request. Indicates that the request's authorization credentials identify a YouTube CMS user acting on behalf of the specified content owner, allowing partners that manage multiple channels to authenticate once and access data for linked channels. |
onBehalfOfContentOwnerChannel |
Intended exclusively for YouTube content partners and valid only in an authorized request. Specifies the YouTube channel ID of a channel managed by the content owner in |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"nextPageToken": string,
"prevPageToken": string,
"pageInfo": {
"totalResults": integer,
"resultsPerPage": integer
},
"items": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
nextPageToken |
The token that can be used as the value of the |
prevPageToken |
The token that can be used as the value of the |
pageInfo |
General pagination information. |
pageInfo.totalResults |
The total number of results in the result set. |
pageInfo.resultsPerPage |
The number of results included in the API response. |
items[] |
A list of playlist images that match the request criteria. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/youtubehttps://www.googleapis.com/auth/youtubepartnerhttps://www.googleapis.com/auth/youtube.readonlyhttps://www.googleapis.com/auth/youtube.force-ssl
For more information, see the OAuth 2.0 Overview.