Bảng dưới đây trình bày các trường hợp sử dụng phổ biến cho phương thức này. Bạn có thể nhấp vào tên trường hợp sử dụng để tải các giá trị tham số mẫu trong APIs Explorer. Ngoài ra, bạn có thể xem mã mẫu cho một trường hợp sử dụng trong Trình khám phá API toàn màn hình bằng cách nhấp vào biểu tượng mã bên dưới tên trường hợp sử dụng. Trong giao diện người dùng toàn màn hình, bạn có thể cập nhật các giá trị tham số và thuộc tính. Mã mẫu sẽ tự động cập nhật để phản ánh các giá trị mà bạn nhập.

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.