Tabel di bawah menunjukkan kasus penggunaan umum untuk metode ini. Anda dapat mengklik nama kasus penggunaan untuk memuat nilai parameter contoh di APIs Explorer. Atau, Anda dapat melihat contoh kode untuk kasus penggunaan di APIs Explorer layar penuh dengan mengklik ikon kode di bawah nama kasus penggunaan. Di UI layar penuh, Anda dapat memperbarui nilai parameter dan properti, serta contoh kode akan diperbarui secara dinamis untuk mencerminkan nilai yang Anda masukkan.

Use cases
list (by video ID)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (by video ID)' example for the commentThreads.list method.
This example retrieves all comment threads associated with a particular video. The request's videoId parameter identifies the video.
list (all threads related to channel ID)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (all threads related to channel ID)' example for the commentThreads.list method.
This example retrieves all comment threads associated with a particular channel. The request's allThreadsRelatedToChannelId parameter identifies the channel.