ตารางด้านล่างแสดง Use Case ที่พบบ่อยสําหรับวิธีนี้ คุณคลิกชื่อ Use Case เพื่อโหลดค่าพารามิเตอร์ตัวอย่างใน API Explorer ได้ หรือดูตัวอย่างโค้ดสำหรับ Use Case ใน API Explorer แบบเต็มหน้าจอได้โดยคลิกไอคอนโค้ดใต้ชื่อ Use Case คุณสามารถอัปเดตพารามิเตอร์และค่าพร็อพเพอร์ตี้ได้ใน UI แบบเต็มหน้าจอ และตัวอย่างโค้ดจะอัปเดตแบบไดนามิกเพื่อแสดงค่าที่คุณป้อน

Use cases
list (all playlists for a channel)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (all playlists for a channel)' example for the playlists.list method.
This example retrieves playlists owned by the YouTube channel that the request's channelId parameter identifies.
list (my playlists)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (my playlists)' example for the playlists.list method.
This example retrieves playlists created in the authorized user's YouTube channel. It uses the mine request parameter to indicate that the API should only return playlists owned by the user authorizing the request.

Content owners can also use the onBehalfOfContentOwner and onBehalfOfContentOwnerChannel parameters to retrieve playlists for a particular owned channel.