PlaylistImages
ทรัพยากร playlistImage
ระบุว่า
ภาพขนาดย่อที่เชื่อมโยงกับเพลย์ลิสต์
เมธอด
API รองรับเมธอดต่อไปนี้สำหรับทรัพยากร playlistImages
- list
- ส่งคืนคอลเล็กชันรูปภาพของเพลย์ลิสต์ที่ตรงกับพารามิเตอร์คำขอ API
ลองใช้เลย
- แทรก
- เพิ่มภาพขนาดย่อลงในเพลย์ลิสต์
ลองใช้เลย
- อัปเดต
- อัปเดตภาพขนาดย่อสำหรับเพลย์ลิสต์ที่มีอยู่
ลองใช้เลย
- ลบ
- ลบภาพขนาดย่อของเพลย์ลิสต์
ลองใช้เลย
การนำเสนอทรัพยากร
โครงสร้าง JSON ต่อไปนี้แสดงรูปแบบของทรัพยากร playlistImages
{
"kind": "youtube#playlistImage",
"id": string,
"snippet": {
"playlistId": string,
"type": string,
"width": string,
"height": string,
}
}
พร็อพเพอร์ตี้
ตารางต่อไปนี้จะระบุพร็อพเพอร์ตี้ที่ปรากฏในทรัพยากรนี้
พร็อพเพอร์ตี้ |
kind |
string
ระบุประเภทของทรัพยากร API ค่าจะเป็น youtube#playlistImage |
id |
string
รหัสที่ YouTube ใช้เพื่อระบุรูปภาพเพลย์ลิสต์แบบไม่ซ้ำ |
snippet |
object
ออบเจ็กต์ snippet มีรายละเอียดพื้นฐานเกี่ยวกับรูปภาพเพลย์ลิสต์ เช่น ประเภทและขนาด |
snippet.playlistId |
string
รหัสเพลย์ลิสต์ของเพลย์ลิสต์ที่เชื่อมโยงกับรูปภาพนี้ |
snippet.type |
string
ประเภทรูปภาพ
|
snippet.width |
string
ความกว้างของรูปภาพ |
snippet.height |
string
ความสูงของรูปภาพ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-16 UTC
[null,null,["อัปเดตล่าสุด 2024-08-16 UTC"],[[["A playlistImage resource in the YouTube API represents the thumbnail image associated with a specific playlist."],["The API provides methods to list, insert, update, and delete playlist images, allowing for comprehensive management of playlist thumbnails."],["The `playlistImages` resource contains properties such as `kind`, `id`, and `snippet`, with the `snippet` object detailing the associated playlist's ID, image type, width, and height."],["The API's `playlistImages` resource structure is in JSON format, and the value of `kind` is always `youtube#playlistImage`."]]],[]]