Resource: PlaylistImage
A playlistImage resource identifies a thumbnail image associated with a playlist.
| JSON representation |
|---|
{ "kind": string, "id": string, "snippet": { "playlistId": string, "type": enum, "width": integer, "height": integer } } |
| Fields | |
|---|---|
kind |
Output only. Identifies what kind of resource this is. Value: the fixed string |
id |
The ID that YouTube uses to uniquely identify the playlist image (combines the playlist ID and image type). |
snippet |
The |
snippet.playlistId |
The ID of the playlist that this image is associated with. |
snippet.type |
The image type. This enum field has the one valid value:
|
snippet.width |
Read-only. The image width, in pixels. The server computes this value from the uploaded image and rejects requests that specify it on insert or update. |
snippet.height |
Read-only. The image height, in pixels. The server computes this value from the uploaded image and rejects requests that specify it on insert or update. |
Methods |
|
|---|---|
|
Deletes a playlist thumbnail image. |
|
Uploads a custom thumbnail image and adds it to a playlist. |
|
Returns a collection of playlist images that match the API request parameters. |
|
Updates the thumbnail image for an existing playlist. |