拉取组合课的资源列表3.0
POST
https://api.xiaoe-tech.com/xe.goods.relation.get/3.0.0
拥有此API的权限集 |
---|
商品管理-查询商品信息 |
拉取专栏的资源列表4.0.0
接口来获取专栏的资源列表code=0
时,msg
:code!=0
时,msg
:拉取数据错误请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.goods.relation.get/3.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token":"xe_xxxxx",
"data":{
"goods_id":"p_xxxx",
"goods_type":8,
"resource_type":[ 6 ],
"last_id":"xxx",
"page_size":20
}
}'
响应示例响应示例
{
"code": 0,
"msg": "成功",
"data": {
"last_id": "i_xxx",
"goods_list": [
{
"resource_id": "e_xxx",
"title": "电子书测试课程dscdas",
"img_url": "http://xxxx.jpg",
"img_url_compress": "http://xxxx.jpg",
"resource_type": 20,
"view_count": 0
},
{
"resource_id": "l_xxx",
"title": "Jacky要直播啦",
"view_count": 2,
"img_url": "http://xxxx.png",
"img_url_compress": "http://xxxx.png",
"resource_type": 4
},
{
"resource_id": "v_xxxx",
"title": "zak 视频",
"img_url": "http://xxxx.jpg",
"img_url_compress": "http://xxxx.jpg",
"view_count": 315,
"resource_type": 3
},
{
"resource_id": "a_xxxx",
"title": "付费0.1",
"img_url": "http:/xxxx.jpg",
"img_url_compress": "http://xxxx.jpg",
"view_count": 21,
"resource_type": 2
},
{
"resource_id": "i_xxx",
"title": "10元的图文",
"img_url": "http://xxxx.jpg",
"img_url_compress": "http://xxxx.jpg",
"view_count": 8,
"resource_type": 1
}
]
}
}
请求参数
Body 参数application/json
返回响应
修改于 2022-03-10 10:53:00