次の表に、この方法の一般的なユースケースを示します。ユースケース名をクリックすると、API Explorer でサンプル パラメータ値を読み込むことができます。または、ユースケース名の下にあるコードアイコンをクリックすると、全画面表示の API Explorer でユースケースのコードサンプルを確認できます。全画面表示の 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.