Data API'yi, YouTube'un Shorts görüntülemelerini sayma şekliyle eşleşecek şekilde güncelliyoruz.
Daha fazla bilgi
PlaylistImages
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
playlistImage
kaynağı, bir oynatma listesiyle ilişkili küçük resim görüntüsünü tanımlar.
Yöntemler
API, playlistImages
kaynakları için aşağıdaki yöntemleri destekler:
- list
- API isteği parametreleriyle eşleşen oynatma listesi resimlerinin koleksiyonunu döndürür.
Hemen deneyin.
- insert
- Oynatma listesine küçük resim ekler.
Hemen deneyin.
- güncelleme
- Mevcut bir oynatma listesinin küçük resmini günceller.
Hemen deneyin.
- sil
- Oynatma listesi küçük resmini siler.
Hemen deneyin.
Kaynak temsili
Aşağıdaki JSON yapısında, playlistImages
kaynağının biçimi gösterilmektedir:
{
"kind": "youtube#playlistImage",
"id": string,
"snippet": {
"playlistId": string,
"type": string,
"width": string,
"height": string,
}
}
Özellikler
Aşağıdaki tabloda, bu kaynakta görünen özellikler tanımlanmaktadır:
Özellikler |
kind |
string
API kaynağının türünü tanımlar. Değer youtube#playlistImage olur. |
id |
string
YouTube'un oynatma listesi resmini benzersiz şekilde tanımlamak için kullandığı kimlik. |
snippet |
object
snippet nesnesi, oynatma listesi resmiyle ilgili tür ve boyut gibi temel ayrıntıları içerir. |
snippet.playlistId |
string
Bu resmin ilişkili olduğu oynatma listesinin oynatma listesi kimliği. |
snippet.type |
string
Resmin türü.
|
snippet.width |
string
Resmin genişliği. |
snippet.height |
string
Resimlerin yüksekliği. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-21 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-21 UTC."],[[["\u003cp\u003eA playlistImage resource in the YouTube API represents the thumbnail image associated with a specific playlist.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to list, insert, update, and delete playlist images, allowing for comprehensive management of playlist thumbnails.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eplaylistImages\u003c/code\u003e resource contains properties such as \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eid\u003c/code\u003e, and \u003ccode\u003esnippet\u003c/code\u003e, with the \u003ccode\u003esnippet\u003c/code\u003e object detailing the associated playlist's ID, image type, width, and height.\u003c/p\u003e\n"],["\u003cp\u003eThe API's \u003ccode\u003eplaylistImages\u003c/code\u003e resource structure is in JSON format, and the value of \u003ccode\u003ekind\u003c/code\u003e is always \u003ccode\u003eyoutube#playlistImage\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `playlistImage` resource represents a playlist's thumbnail. The API provides methods to interact with these images: `list` retrieves images, `insert` adds an image, `update` modifies an existing image, and `delete` removes an image. Each `playlistImage` resource contains an `id`, `kind` which will always be `youtube#playlistImage`, and a `snippet` with details like `playlistId`, `type`, `width`, and `height` of the image.\n"],null,["# PlaylistImages\n\nA **playlistImage** resource identifies\nthe thumbnail image associated with a playlist.\n\nMethods\n-------\n\nThe API supports the following methods for `playlistImages` resources:\n\n[list](/youtube/v3/docs/playlistImages/list)\n: Returns a collection of playlist images that match the API request parameters.\n [Try it now](/youtube/v3/docs/playlistImages/list#usage).\n\n[insert](/youtube/v3/docs/playlistImages/insert)\n: Adds a thumbail image to a playlist.\n [Try it now](/youtube/v3/docs/playlistImages/insert#usage).\n\n[update](/youtube/v3/docs/playlistImages/update)\n: Updates the thumbnail image for an existing playlist.\n [Try it now](/youtube/v3/docs/playlistImages/update#usage).\n\n[delete](/youtube/v3/docs/playlistImages/delete)\n: Deletes a playlist thumbnail image.\n [Try it now](/youtube/v3/docs/playlistImages/delete#usage).\n\nResource representation\n-----------------------\n\nThe following JSON structure shows the format of a `playlistImages` resource: \n\n```carbon\n{\n \"#kind\": \"youtube#playlistImage\",\n \"#id\": string,\n \"#snippet\": {\n \"#snippet.playlistId\": string,\n \"#snippet.type\": string,\n \"#snippet.width\": string,\n \"#snippet.height\": string,\n }\n}\n```\n\n### Properties\n\nThe following table defines the properties that appear in this resource:\n\n| Properties ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies the API resource's type. The value will be `youtube#playlistImage`. |\n| `id` | `string` The ID that YouTube uses to uniquely identify the playlist image. |\n| `snippet` | `object` The `snippet` object contains basic details about the playlist image, such as its type and dimensions. |\n| snippet.`playlistId` | `string` The playlist ID of the playlist this image is associated with. |\n| snippet.`type` | `string` The image type. |\n| snippet.`width` | `string` The image's width. |\n| snippet.`height` | `string` The images's height. |"]]