В таблице ниже показаны распространенные случаи использования этого метода. Вы можете щелкнуть имя варианта использования, чтобы загрузить образцы значений параметров в проводник API. Или вы можете просмотреть примеры кода для варианта использования в полноэкранном проводнике API, щелкнув значок кода под именем варианта использования. В полноэкранном пользовательском интерфейсе вы можете обновлять значения параметров и свойств, а примеры кода будут динамически обновляться в соответствии с введенными вами значениями.

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.