次の表に、この方法の一般的なユースケースを示します。ユースケース名をクリックすると、API Explorer でサンプル パラメータ値を読み込むことができます。または、ユースケース名の下にあるコードアイコンをクリックすると、全画面表示の API Explorer でユースケースのコードサンプルを確認できます。全画面表示の UI では、パラメータ値やプロパティの値を更新すると、入力した値に合わせてコードサンプルが動的に更新されます。

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.