V2 0/live show/live show comments
来自技术开发小组内部wiki
功能说明
根据现场秀id获取评论列表
URL
http://[域名]/v2_0/live_show/live_show_comments
返回格式
支持json,xml.通过format参数来控制
HTTP请求方式
POST.可以post的数据为xml或json.
输入参数说明
各个参数请进行URL 编码,编码时请遵守 RFC 1738 (1)公共参数 发送请求时必须传入公共参数,详见公共参数说明。 (2)私有参数
参数名称 | 是否必须 | 类型 | 描述 |
---|---|---|---|
live_id |
必须 | int | 现场秀id |
page |
可选 | int | 页码 |
pagesize |
可选 | int | 每一页大小 |
请求示例
正式环境 http://api.fumubang.com/v2_0/live_show/live_show_comment 测试环境 http://api.fumubang.net/v2_0/live_show/live_show_comment 本地环境 http://dev-api.fumubang.net/v2_0/live_show/live_show_comment
正确返回说明
{
"status": "success",// 响应状态
"live_show_comments": [ //评论
{
"id": "2153", //评论id
"live_id": "3191", //微信秀id
"uid": "33893", //用户id
"to_uid": "0", //回复用户id
"content": "不让写英文,真是奇葩了", //评论内容
"ctime": "2015-11-19 10:25:16", //添加评论时间
"username": "solo",//用户名
"face_image_small": "http://uc.fumubang.net/avatar.php?uid=33893&size=middle"//用户头像
},...
]
}
错误返回示例
{
"error_code":"300000",
"error_msg":"参数不全"
}