W tabeli poniżej znajdziesz typowe przypadki użycia tej metody. Możesz kliknąć nazwę przypadku użycia, aby wczytać przykładowe wartości parametrów w narzędziu Google APIs Explorer. Możesz też zobaczyć przykłady kodu dla danego przypadku użycia w pełnoekranowym narzędziu APIs Explorer, klikając ikonę kodu pod nazwą przypadku użycia. W interfejsie pełnoekranowym możesz aktualizować wartości parametrów i właściwości, a przykłady kodu są dynamicznie aktualizowane, aby odzwierciedlać wpisane przez Ciebie wartości.

Use cases
list (by channel ID)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (by channel ID)' example for the channelSections.list method.
This example retrieves the channel sections shown on the Google Developers channel, using the channelId request parameter to identify the channel.
list (my channel)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (my channel)' example for the channelSections.list method.
This example retrieves the channel sections shown on the authorized user's channel. It uses the mine request parameter to indicate that the API should return channel sections on that channel.