Commit 7eae33d6acde36c54c3315ba7c269ba8ac21e564
1 parent
7b0da17e
u
Showing
7 changed files
with
0 additions
and
448 deletions
04.用户云/6. 反馈.md renamed to 04.用户云/2.5 用户反馈.md
04.用户云/3.1 收藏-更新收藏.md deleted
100644 → 0
| 1 | -/* | |
| 2 | - Title: 3.1 更新收藏 | |
| 3 | - Sort: 31 | |
| 4 | -*/ | |
| 5 | -#### URL: http://api.cnlive.com/open/api/CnliveUser/my/updateMyCollection?sp_id=xxx&... | |
| 6 | ------ | |
| 7 | -#### 请求方式: POST | |
| 8 | ------ | |
| 9 | -#### 返回格式: JSON | |
| 10 | ------ | |
| 11 | -#### 请求参数说明: | |
| 12 | -<table class="table table-bordered table-striped table-condensed"> | |
| 13 | - <tr> | |
| 14 | - <th>参数</th> | |
| 15 | - <th>必选</th> | |
| 16 | - <th>类型</th> | |
| 17 | - <th>说明</th> | |
| 18 | - </tr> | |
| 19 | - <tr> | |
| 20 | - <td>spId</td> | |
| 21 | - <td>true</td> | |
| 22 | - <td>string</td> | |
| 23 | - <td>服务提供商ID</td> | |
| 24 | - </tr> | |
| 25 | - <tr> | |
| 26 | - <td>sid</td> | |
| 27 | - <td>true</td> | |
| 28 | - <td>string</td> | |
| 29 | - <td>用户ID</td> | |
| 30 | - </tr> | |
| 31 | - <tr> | |
| 32 | - <td>action</td> | |
| 33 | - <td>true</td> | |
| 34 | - <td>string</td> | |
| 35 | - <td>addOrDel-更新、add-新增、del-删除</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>mediaId</td> | |
| 39 | - <td>true</td> | |
| 40 | - <td>string</td> | |
| 41 | - <td>可提供多个id,用__(双下划线)分割</td> | |
| 42 | - </tr> | |
| 43 | - <tr> | |
| 44 | - <td>type</td> | |
| 45 | - <td>false</td> | |
| 46 | - <td>string</td> | |
| 47 | - <td>更新时的视频类型,多个时用__(双下划线)分割,删除时可不传;program-普通视频;series-剧集;album-专辑;ivod-点播互动;live-直播;freeview-多路流;itv-卫视互动;ilive-虚拟互动;</td> | |
| 48 | - </tr> | |
| 49 | - <tr> | |
| 50 | - <td>token</td> | |
| 51 | - <td>true</td> | |
| 52 | - <td>string</td> | |
| 53 | - <td>平台TOKEN</td> | |
| 54 | - </tr> | |
| 55 | -</table> | |
| 56 | - | |
| 57 | ------ | |
| 58 | -#### 返回格式说明: | |
| 59 | -``` | |
| 60 | -{ | |
| 61 | - errorCode:"0", | |
| 62 | - errorMsg:"成功" | |
| 63 | -} | |
| 64 | -{ | |
| 65 | - errorCode:"xxx", //错误代码(非0) | |
| 66 | - errorMsg:"失败" //错误信息 | |
| 67 | -} | |
| 68 | -``` | |
| 69 | 0 | \ No newline at end of file |
04.用户云/3.2 收藏-读取收藏.md deleted
100644 → 0
| 1 | -/* | |
| 2 | - Title: 3.2 读取收藏 | |
| 3 | - Sort: 32 | |
| 4 | -*/ | |
| 5 | -#### URL: http://api.cnlive.com/open/api/CnliveUser/my/getMyCollection?sp_id=xxx&... | |
| 6 | ------ | |
| 7 | -#### 请求方式: POST | |
| 8 | ------ | |
| 9 | -#### 返回格式: JSON | |
| 10 | ------ | |
| 11 | -#### 请求参数说明: | |
| 12 | -<table class="table table-bordered table-striped table-condensed"> | |
| 13 | - <tr> | |
| 14 | - <th>参数</th> | |
| 15 | - <th>必选</th> | |
| 16 | - <th>类型</th> | |
| 17 | - <th>说明</th> | |
| 18 | - </tr> | |
| 19 | - <tr> | |
| 20 | - <td>spId</td> | |
| 21 | - <td>true</td> | |
| 22 | - <td>string</td> | |
| 23 | - <td>服务提供商ID</td> | |
| 24 | - </tr> | |
| 25 | - <tr> | |
| 26 | - <td>sid</td> | |
| 27 | - <td>true</td> | |
| 28 | - <td>string</td> | |
| 29 | - <td>用户ID</td> | |
| 30 | - </tr> | |
| 31 | - <tr> | |
| 32 | - <td>page</td> | |
| 33 | - <td>true</td> | |
| 34 | - <td>string</td> | |
| 35 | - <td>页号</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>pageSize</td> | |
| 39 | - <td>true</td> | |
| 40 | - <td>string</td> | |
| 41 | - <td>每页条数</td> | |
| 42 | - </tr> | |
| 43 | - <tr> | |
| 44 | - <td>clientPlat</td> | |
| 45 | - <td>true</td> | |
| 46 | - <td>string</td> | |
| 47 | - <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | - </tr> | |
| 49 | - <tr> | |
| 50 | - <td>token</td> | |
| 51 | - <td>true</td> | |
| 52 | - <td>string</td> | |
| 53 | - <td>平台TOKEN</td> | |
| 54 | - </tr> | |
| 55 | -</table> | |
| 56 | - | |
| 57 | ------ | |
| 58 | -#### 返回格式说明: | |
| 59 | -``` | |
| 60 | -{ | |
| 61 | - "errorCode": "0", | |
| 62 | - "errorMessage": "success", | |
| 63 | - "data": [ | |
| 64 | - { | |
| 65 | - "total": "2" | |
| 66 | - "mediaId1": "16d1dba56ac9435881acdaa044726cc8", | |
| 67 | - "mediaId2": "16d1dba56ac9435881acdaa044726cc8", | |
| 68 | - } | |
| 69 | - ], | |
| 70 | - "previous_cursor": "0", | |
| 71 | - "next_cursor": "2", | |
| 72 | - "total_number": "3" | |
| 73 | -} | |
| 74 | -``` | |
| 75 | 0 | \ No newline at end of file |
04.用户云/4.1 消息-我的消息列表.md deleted
100644 → 0
| 1 | -/* | |
| 2 | - Title: 4.1 我的消息列表 | |
| 3 | - Sort: 41 | |
| 4 | -*/ | |
| 5 | -#### URL: http://api.cnlive.com/open/api/CnliveMobile/my/getMyMessages?sp_id=xxx&... | |
| 6 | ------ | |
| 7 | -#### 请求方式: POST | |
| 8 | ------ | |
| 9 | -#### 返回格式: JSON | |
| 10 | ------ | |
| 11 | -#### 请求参数说明: | |
| 12 | -<table class="table table-bordered table-striped table-condensed"> | |
| 13 | - <tr> | |
| 14 | - <th>参数</th> | |
| 15 | - <th>必选</th> | |
| 16 | - <th>类型</th> | |
| 17 | - <th>说明</th> | |
| 18 | - </tr> | |
| 19 | - <tr> | |
| 20 | - <td>sp_id</td> | |
| 21 | - <td>true</td> | |
| 22 | - <td>string</td> | |
| 23 | - <td>服务提供商ID</td> | |
| 24 | - </tr> | |
| 25 | - <tr> | |
| 26 | - <td>sid</td> | |
| 27 | - <td>true</td> | |
| 28 | - <td>string</td> | |
| 29 | - <td>用户ID</td> | |
| 30 | - </tr> | |
| 31 | - <tr> | |
| 32 | - <td>page</td> | |
| 33 | - <td>true</td> | |
| 34 | - <td>string</td> | |
| 35 | - <td>页号</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>pageSize</td> | |
| 39 | - <td>true</td> | |
| 40 | - <td>string</td> | |
| 41 | - <td>每页条数</td> | |
| 42 | - </tr> | |
| 43 | - <tr> | |
| 44 | - <td>uuid</td> | |
| 45 | - <td>true</td> | |
| 46 | - <td>string</td> | |
| 47 | - <td>设备ID</td> | |
| 48 | - </tr> | |
| 49 | - <tr> | |
| 50 | - <td>plat</td> | |
| 51 | - <td>true</td> | |
| 52 | - <td>string</td> | |
| 53 | - <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 54 | - </tr> | |
| 55 | - <tr> | |
| 56 | - <td>sign</td> | |
| 57 | - <td>true</td> | |
| 58 | - <td>string</td> | |
| 59 | - <td>签名</td> | |
| 60 | - </tr> | |
| 61 | -</table> | |
| 62 | - | |
| 63 | ------ | |
| 64 | -#### 返回格式说明: | |
| 65 | -``` | |
| 66 | -{ | |
| 67 | - "errorCode": "0", | |
| 68 | - "errorMessage": "success", | |
| 69 | - "data": [ | |
| 70 | - { | |
| 71 | - "id": 1, | |
| 72 | - "icon": "http://y1.cnliveimg.com:8080/img/cnlive/interact/lottery.jpg", | |
| 73 | - "title": "抽奖活动:26期", | |
| 74 | - "description": "恭喜您获得:iphone6s 一部", | |
| 75 | - "url": "http://cnlive.com?cnliveV5=true&action=enc&callback=http://uc.cnlive.com/my/readAward.action?id=1&msgId=1", | |
| 76 | - "time": "2015-12-20 11:10:00", | |
| 77 | - "status": 0 | |
| 78 | - }, | |
| 79 | - { | |
| 80 | - "id": 3, | |
| 81 | - "icon": "http://y2.cnliveimg.com:8080/img/cnlive/interact/system.jpg", | |
| 82 | - "title": "系统消息", | |
| 83 | - "description": "我的系统消息", | |
| 84 | - "url": "http://cnlive.com?cnliveV5=true&action=default&callback=http://uc.cnlive.com/my/readAward.action?msgId=1", | |
| 85 | - "time": "2015-12-20 11:20:00", | |
| 86 | - "status": 0 | |
| 87 | - }, | |
| 88 | - { | |
| 89 | - "id": 4, | |
| 90 | - "icon": "http://y3.cnliveimg.com:8080/img/cnlive/interact/ad.jpg", | |
| 91 | - "title": "推广消息", | |
| 92 | - "description": "我的推广消息", | |
| 93 | - "url": "http://cnlive.com?cnliveV5=true&action=default&callback=http://uc.cnlive.com/my/readAward.action?msgId=1", | |
| 94 | - "time": "2015-12-20 11:25:00", | |
| 95 | - "status": 1 | |
| 96 | - }, | |
| 97 | - { | |
| 98 | - "id": 2, | |
| 99 | - "icon": "http://y2.cnliveimg.com:8080/img/cnlive/interact/system.jpg", | |
| 100 | - "title": "红包消息", | |
| 101 | - "description": "红包: +5", | |
| 102 | - "url": "http://cnlive.com?cnliveV5=true&action=default&callback=http://uc.cnlive.com/my/readAward.action?msgId=1", | |
| 103 | - "time": "2015-12-20 11:15:00", | |
| 104 | - "status": 0 | |
| 105 | - } | |
| 106 | - ], | |
| 107 | - "previous_cursor": "0", | |
| 108 | - "next_cursor": "0", | |
| 109 | - "total_number": "1" | |
| 110 | -} | |
| 111 | -``` | |
| 112 | 0 | \ No newline at end of file |
04.用户云/4.2 消息-标记消息已读.md deleted
100644 → 0
| 1 | -/* | |
| 2 | - Title: 4.2 标记消息已读 | |
| 3 | - Sort: 42 | |
| 4 | -*/ | |
| 5 | -#### URL: http://api.cnlive.com/open/api/CnliveMobile/my/readMyMessage?sp_id=xxx&... | |
| 6 | ------ | |
| 7 | -#### 请求方式: POST | |
| 8 | ------ | |
| 9 | -#### 返回格式: JSON | |
| 10 | ------ | |
| 11 | -#### 请求参数说明: | |
| 12 | -<table class="table table-bordered table-striped table-condensed"> | |
| 13 | - <tr> | |
| 14 | - <th>参数</th> | |
| 15 | - <th>必选</th> | |
| 16 | - <th>类型</th> | |
| 17 | - <th>说明</th> | |
| 18 | - </tr> | |
| 19 | - <tr> | |
| 20 | - <td>sp_id</td> | |
| 21 | - <td>true</td> | |
| 22 | - <td>string</td> | |
| 23 | - <td>服务提供商ID</td> | |
| 24 | - </tr> | |
| 25 | - <tr> | |
| 26 | - <td>sid</td> | |
| 27 | - <td>true</td> | |
| 28 | - <td>string</td> | |
| 29 | - <td>用户ID</td> | |
| 30 | - </tr> | |
| 31 | - <tr> | |
| 32 | - <td>msgId</td> | |
| 33 | - <td>true</td> | |
| 34 | - <td>string</td> | |
| 35 | - <td>消息ID</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>uuid</td> | |
| 39 | - <td>true</td> | |
| 40 | - <td>string</td> | |
| 41 | - <td>设备ID</td> | |
| 42 | - </tr> | |
| 43 | - <tr> | |
| 44 | - <td>plat</td> | |
| 45 | - <td>true</td> | |
| 46 | - <td>string</td> | |
| 47 | - <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | - </tr> | |
| 49 | - <tr> | |
| 50 | - <td>sign</td> | |
| 51 | - <td>true</td> | |
| 52 | - <td>string</td> | |
| 53 | - <td>签名</td> | |
| 54 | - </tr> | |
| 55 | -</table> | |
| 56 | ------ | |
| 57 | -#### 返回格式说明: | |
| 58 | -``` | |
| 59 | -{ | |
| 60 | - errorCode:"0", | |
| 61 | - errorMsg:"成功" | |
| 62 | -} | |
| 63 | -{ | |
| 64 | - errorCode:"xxx", //错误代码(非0) | |
| 65 | - errorMsg:"失败" //错误信息 | |
| 66 | -} | |
| 67 | -``` | |
| 68 | 0 | \ No newline at end of file |
04.用户云/4.3 消息-我的未读消息.md deleted
100644 → 0
| 1 | -/* | |
| 2 | - Title: 4.3 我的未读消息 | |
| 3 | - Sort: 43 | |
| 4 | -*/ | |
| 5 | -#### URL: http://api.cnlive.com/open/api/CnliveMobile/my/getMyNewMessage?sp_id=xxx&... | |
| 6 | ------ | |
| 7 | -#### 请求方式: POST | |
| 8 | ------ | |
| 9 | -#### 返回格式: JSON | |
| 10 | ------ | |
| 11 | -#### 请求参数说明: | |
| 12 | -<table class="table table-bordered table-striped table-condensed"> | |
| 13 | - <tr> | |
| 14 | - <th>参数</th> | |
| 15 | - <th>必选</th> | |
| 16 | - <th>类型</th> | |
| 17 | - <th>说明</th> | |
| 18 | - </tr> | |
| 19 | - <tr> | |
| 20 | - <td>sp_id</td> | |
| 21 | - <td>true</td> | |
| 22 | - <td>string</td> | |
| 23 | - <td>服务提供商ID</td> | |
| 24 | - </tr> | |
| 25 | - <tr> | |
| 26 | - <td>sid</td> | |
| 27 | - <td>true</td> | |
| 28 | - <td>string</td> | |
| 29 | - <td>用户ID</td> | |
| 30 | - </tr> | |
| 31 | - <tr> | |
| 32 | - <td>uuid</td> | |
| 33 | - <td>true</td> | |
| 34 | - <td>string</td> | |
| 35 | - <td>设备ID</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>plat</td> | |
| 39 | - <td>true</td> | |
| 40 | - <td>string</td> | |
| 41 | - <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 42 | - </tr> | |
| 43 | - <tr> | |
| 44 | - <td>sign</td> | |
| 45 | - <td>true</td> | |
| 46 | - <td>string</td> | |
| 47 | - <td>签名</td> | |
| 48 | - </tr> | |
| 49 | -</table> | |
| 50 | ------ | |
| 51 | -#### 返回格式说明: | |
| 52 | -``` | |
| 53 | -{ | |
| 54 | - errorCode:"0", | |
| 55 | - errorMsg:"成功" | |
| 56 | -} | |
| 57 | -{ | |
| 58 | - errorCode:"xxx", //错误代码(非0) | |
| 59 | - errorMsg:"失败" //错误信息 | |
| 60 | -} | |
| 61 | -``` | |
| 62 | 0 | \ No newline at end of file |
04.用户云/5. 绑定设备pushId.md deleted
100644 → 0
| 1 | -/* | |
| 2 | - Title: 5.1 绑定设备pushId | |
| 3 | - Sort: 50 | |
| 4 | -*/ | |
| 5 | -#### URL: http://api.cnlive.com/open/api/CnliveMobile/user/updatePushId?sp_id=xxx&... | |
| 6 | ------ | |
| 7 | -#### 请求方式: POST | |
| 8 | ------ | |
| 9 | -#### 返回格式: JSON | |
| 10 | ------ | |
| 11 | -#### 请求参数说明: | |
| 12 | -<table class="table table-bordered table-striped table-condensed"> | |
| 13 | - <tr> | |
| 14 | - <th>参数</th> | |
| 15 | - <th>必选</th> | |
| 16 | - <th>类型</th> | |
| 17 | - <th>说明</th> | |
| 18 | - </tr> | |
| 19 | - <tr> | |
| 20 | - <td>sp_id</td> | |
| 21 | - <td>true</td> | |
| 22 | - <td>string</td> | |
| 23 | - <td>服务提供商ID</td> | |
| 24 | - </tr> | |
| 25 | - <tr> | |
| 26 | - <td>type</td> | |
| 27 | - <td>true</td> | |
| 28 | - <td>string</td> | |
| 29 | - <td>推送类型(0-友盟,1-个推,2-Jpush)</td> | |
| 30 | - </tr> | |
| 31 | - <tr> | |
| 32 | - <td>pushid</td> | |
| 33 | - <td>true</td> | |
| 34 | - <td>string</td> | |
| 35 | - <td>推送ID</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>uuid</td> | |
| 39 | - <td>true</td> | |
| 40 | - <td>string</td> | |
| 41 | - <td>设备ID</td> | |
| 42 | - </tr> | |
| 43 | - <tr> | |
| 44 | - <td>plat</td> | |
| 45 | - <td>true</td> | |
| 46 | - <td>string</td> | |
| 47 | - <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | - </tr> | |
| 49 | - <tr> | |
| 50 | - <td>sign</td> | |
| 51 | - <td>true</td> | |
| 52 | - <td>string</td> | |
| 53 | - <td>签名</td> | |
| 54 | - </tr> | |
| 55 | -</table> | |
| 56 | ------ | |
| 57 | -#### 返回格式说明: | |
| 58 | -``` | |
| 59 | -{ | |
| 60 | - errorCode:"0", | |
| 61 | - errorMsg:"成功" | |
| 62 | -} | |
| 63 | -{ | |
| 64 | - errorCode:"xxx", //错误代码(非0) | |
| 65 | - errorMsg:"失败" //错误信息 | |
| 66 | -} | |
| 67 | -``` | |
| 68 | 0 | \ No newline at end of file |