list_subscriptions
Retrieve a channel's public subscriptions or your own, with options to filter by specific channels and paginate results.
Instructions
List a channel's public subscriptions by channel_id (requires API Key), or list your own subscriptions with mine=true (requires OAuth). Returns snippet (title, description, resourceId.channelId) and contentDetails (totalItemCount, newItemCount). Use for_channel_id to check if a channel is subscribed to specific channels. Use page_token to paginate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | No | Channel ID to fetch subscriptions for | |
| mine | No | Set to true to fetch the authenticated user's subscriptions | |
| for_channel_id | No | Comma-separated list of channel IDs to check if the user is subscribed to | |
| max_results | No | Default 5 | |
| page_token | No | Token from a previous response to fetch the next page of results. |