获取频道自定义菜单
优质
小牛编辑
129浏览
2023-12-01
请求header
GET /v1/activities/{频道id}/getMenu
Authorization:Bearer {ACCESS TOKEN}
Content-Type:application/json
注:
请将上方的{ACCESS TOKEN}替换为您的ACCESS TOKEN
请将"{频道id}"替换您需要获取的频道id
返回
{
"menus": {
"errcode": 1000,
"menus": [
{
"id": 240739,
"name": "视频菜单",
"order": 5,
"type": 3,
"rich_text_url": "",
"photo_live_url": "",
"videos": [
{
"vid": "mng1d54l"
},
{
"vid": "l8vp3d9o"
}
],
"ranks": null
},
{
"id": 240476,
"name": "话题互动",
"order": 4,
"type": 4,
"rich_text_url": "",
"photo_live_url": "",
"videos": null,
"ranks": null
},
{
"id": 240415,
"name": "聊天互动",
"order": 1,
"type": 1,
"rich_text_url": "",
"photo_live_url": "",
"videos": null,
"ranks": null
}
],
"msg": "OK"
}
}
返回参数说明
参数 | 描述 | 类型 |
---|---|---|
id | 菜单ID | integer |
name | 菜单名称 | string |
order | 菜单排序 | integer |
type | 菜单类别 | integer |
rich_text_url | 图文链接地址 | string |
videos | 视频 | string |