Commit b2a5968cd9356e1d2092cbdc5db4507a8a38afad

Authored by 郑超
1 parent 0c6230ae

update

12.内容库云/2.1 获取点播列表接口Server.md
@@ -15,6 +15,7 @@ HTTP GET @@ -15,6 +15,7 @@ HTTP GET
15 |参数名| 参数类型 | 必选 | 参数说明 | 15 |参数名| 参数类型 | 必选 | 参数说明 |
16 |:----- | :------: | :------: | :------: | 16 |:----- | :------: | :------: | :------: |
17 |appId| string | true | 应用ID | 17 |appId| string | true | 应用ID |
  18 +|keyword| string | false | 关键词 |
18 |categoryId| int | false | 分类Id,从分类树接口中取。 categoryId 和spId 不能同时为空 根分类7个是常量,每个SP都有,分别如下:电影100001电视剧100002;娱乐100004;资讯100008;体育100012;教育100016;其他100026| 19 |categoryId| int | false | 分类Id,从分类树接口中取。 categoryId 和spId 不能同时为空 根分类7个是常量,每个SP都有,分别如下:电影100001电视剧100002;娱乐100004;资讯100008;体育100012;教育100016;其他100026|
19 |page| string | false | 页号,如为空,默认值:1 | 20 |page| string | false | 页号,如为空,默认值:1 |
20 |pageSize| string | false | 每页返回条数,如为空,默认值:20 | 21 |pageSize| string | false | 每页返回条数,如为空,默认值:20 |
@@ -28,6 +29,9 @@ HTTP GET @@ -28,6 +29,9 @@ HTTP GET
28 | :-----------| :------: | :------: | :------: | 29 | :-----------| :------: | :------: | :------: |
29 | errorCode| int | true | 错误类型号 | 30 | errorCode| int | true | 错误类型号 |
30 | errorMessage| string | true | 错误类型 | 31 | errorMessage| string | true | 错误类型 |
  32 +| totalNum| long | true | 总条数 |
  33 +| nextCursor| long | true | 下一页 |
  34 +| previousCursor| long | true | 上一页 |
31 | uuid| string | true | 节目的唯一标识 | 35 | uuid| string | true | 节目的唯一标识 |
32 | title| string | true | 节目标题 | 36 | title| string | true | 节目标题 |
33 | subTitle| string | false | 节目副标题 | 37 | subTitle| string | false | 节目副标题 |
@@ -45,46 +49,59 @@ HTTP GET @@ -45,46 +49,59 @@ HTTP GET
45 49
46 ``` json 50 ``` json
47 { 51 {
48 - "data":{  
49 - "programs":[ {  
50 - "uuid":"17cbfede6f074db18d06fdeb170e41c4",  
51 - "title":"大道之行一带一路",  
52 - "categoryId":123,  
53 - "categoryName":"资讯",  
54 - "desc":"一带一路特别节目",  
55 - "imgJson":{  
56 - "316*506":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/316/h/506",  
57 - "112*63":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/112/h/63"  
58 - },  
59 - "rates":"1,2",  
60 - "cpName":"非凡娱乐",  
61 - "subTitle":"",  
62 - "tag":"丝绸之路,一带一路,文化交流,中华文化",  
63 - "createDate":"2017-09-20 12:30:34",  
64 - "lastModify":"2017-09-21 12:30:34"  
65 - },  
66 - {  
67 - "uuid":"17cbfede6f074db18d06fdeb170e41c4",  
68 - "title":"大道之行一带一路",  
69 - "categoryId":123,  
70 - "categoryName":"资讯",  
71 - "desc":"一带一路特别节目",  
72 - "imgJson":{  
73 - "316*506":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/316/h/506",  
74 - "112*63":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/112/h/63"  
75 - },  
76 - "rates":"1,2",  
77 - "cpName":"非凡娱乐",  
78 - "subTitle":"",  
79 - "tag":"丝绸之路,一带一路,文化交流,中华文化",  
80 - "createDate":"2017-09-20 12:30:34",  
81 - "lastModify":"2017-09-21 12:30:34"  
82 - }  
83 -  
84 - ]  
85 -  
86 - },  
87 - "errorCode":0,  
88 - "errorMessage":"sucess" 52 + "errorCode": 0,
  53 + "errorMessage": "成功",
  54 + "data": {
  55 + "programs": [
  56 + {
  57 + "uuid": "60_d57ad6f690cd4d4899cf56eb32512c19",
  58 + "title": "黄家驹宣传片",
  59 + "categoryId": "100001/72/73",
  60 + "categoryName": "电影/喜剧/电影喜剧子分类",
  61 + "desc": "黄家驹宣传片",
  62 + "imgJson": [
  63 + {
  64 + "format": "485*303",
  65 + "type": "contentImage",
  66 + "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/485/h/303",
  67 + "desc": ""
  68 + },
  69 + {
  70 + "format": "224*398",
  71 + "type": "contentImage",
  72 + "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/224/h/398",
  73 + "desc": ""
  74 + },
  75 + {
  76 + "format": "316*506",
  77 + "type": "contentImage",
  78 + "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/316/h/506",
  79 + "desc": ""
  80 + },
  81 + {
  82 + "format": "112*63",
  83 + "type": "contentImage",
  84 + "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/112/h/63",
  85 + "desc": ""
  86 + },
  87 + {
  88 + "format": "224*126",
  89 + "type": "contentImage",
  90 + "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/224/h/126",
  91 + "desc": ""
  92 + }
  93 + ],
  94 + "rates": "2",
  95 + "cpName": "测试账号",
  96 + "subTitle": null,
  97 + "tag": "黄家驹宣传片",
  98 + "createDate": "2017-08-18",
  99 + "verTimestamp": 1508320723191
  100 + }
  101 + ],
  102 + "totalNum": 1,
  103 + "nextCursor": 0,
  104 + "previousCursor": 0
  105 + }
89 } 106 }
90 ``` 107 ```
91 \ No newline at end of file 108 \ No newline at end of file