YouTube Channelsections List

1积分/次
ae_youtube_channelsections_list

获取 YouTube 频道的布局版块,包括精选播放列表和视频分组。

社交视频
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_youtube_channelsections_list' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "part": "xxx"
  }
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
hlstring否Return content in specified language—
idstring否Return the ChannelSections with the given IDs for Stubby or Apiary.—
mineboolean否Return the ChannelSections owned by the authenticated user.—
partstring是Required. Comma-separated list of one or more resource parts: id, snippet, contentDetails. Example: snippet,contentDetails. Use only these part names.—
channelIdstring否Return the ChannelSections owned by the specified channel ID.—
onBehalfOfContentOwnerstring否*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.—