Commit fbed788a148d765c74389c7b4b4e38002204118a

Authored by LSL
2 parents 3771e4f6 be753169

Merge remote-tracking branch 'origin/master'

12.内容库云/1.1.1 内容云入库接口_video_mam.md
@@ -16,6 +16,9 @@ HTTP POST @@ -16,6 +16,9 @@ HTTP POST
16 |:----- | :------: | :------: | :------: | 16 |:----- | :------: | :------: | :------: |
17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 | 17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |
18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId | 18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |
  19 +| groupType | string | true | 组类型:program、richtxt等 ,内容分组:节目(来源于媒资库)、富文本(来自CMS或图片库等) |
  20 +| contentType | string | true | 内容类型:video、live、audio、pics、article等 ,<br/>内容类型(需要设计6个小的icon,便于内容结果展示的标示):<br/>节目分下含:video(默认1)、live、audio<br/>富文本含:article(默认0)、vtxt、spectxt、picstxt<br/>注意:某节目可能被检索2次,即一个video类型,一个vtxt类型。 |
  21 +| spId | string | true | |
19 | spName | string | false | | 22 | spName | string | false | |
20 | cpId | string | true | cp标识 | 23 | cpId | string | true | cp标识 |
21 | cpName | string | false | | 24 | cpName | string | false | |
@@ -29,8 +32,9 @@ HTTP POST @@ -29,8 +32,9 @@ HTTP POST
29 | keywords | string | false | 关键词 | 32 | keywords | string | false | 关键词 |
30 | pageUrl | string | false | 内容的页面地址 | 33 | pageUrl | string | false | 内容的页面地址 |
31 | description | string | false | 描述 | 34 | description | string | false | 描述 |
  35 +| bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |
32 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) | 36 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |
33 -| imgJson | string | true | 图片:json格式 | 37 +| imgJson | string | true | 图片:json格式 <br/> type: 图片类型:titleImage:标题图片;contentImage:组图图片|
34 | director | string | false | 导演 | 38 | director | string | false | 导演 |
35 | actors | string | false | 演员 | 39 | actors | string | false | 演员 |
36 | albumName | string | false | 专辑名称 | 40 | albumName | string | false | 专辑名称 |
@@ -42,7 +46,7 @@ HTTP POST @@ -42,7 +46,7 @@ HTTP POST
42 | weight | string | true | 权重, 取值:0 ~ 100 | 46 | weight | string | true | 权重, 取值:0 ~ 100 |
43 | extension1 | string | true | 扩展字段1 | 47 | extension1 | string | true | 扩展字段1 |
44 | extension2 | string | true | 扩展字段2 | 48 | extension2 | string | true | 扩展字段2 |
45 -| extensions | string | true | 扩展字段:json格式 | 49 +| extensions | string | true | 扩展字段:json格式 <br/> albumPrgCounts:总集数;albumPrgSeqNo:<br/> 集号;durationBySec:<br/> 时长;<br/> rates:视频格式(1:流畅;2:标清;3:高清;4:超清);<br/>language:语言|
46 50
47 51
48 ### 返回值 ### 52 ### 返回值 ###
@@ -58,6 +62,8 @@ HTTP POST @@ -58,6 +62,8 @@ HTTP POST
58 { 62 {
59 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4", 63 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",
60 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4", 64 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",
  65 + "groupType":"program",
  66 + "contentType":"video",
61 "spId":"82", 67 "spId":"82",
62 "spName":"视讯中国", 68 "spName":"视讯中国",
63 "cpId":"1", 69 "cpId":"1",
12.内容库云/1.1.2 内容云入库接口_video_live.md
@@ -16,6 +16,8 @@ HTTP POST @@ -16,6 +16,8 @@ HTTP POST
16 |:----- | :------: | :------: | :------: | 16 |:----- | :------: | :------: | :------: |
17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 | 17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |
18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId | 18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |
  19 +| groupType | string | true | 组类型:program、richtxt等 ,内容分组:节目(来源于媒资库)、富文本(来自CMS或图片库等) |
  20 +| contentType | string | true | 内容类型:video、live、audio、pics、article等 ,<br/>内容类型(需要设计6个小的icon,便于内容结果展示的标示):<br/>节目分下含:video(默认1)、live、audio<br/>富文本含:article(默认0)、vtxt、spectxt、picstxt<br/>注意:某节目可能被检索2次,即一个video类型,一个vtxt类型。 |
19 | spId | string | true | | 21 | spId | string | true | |
20 | spName | string | false | | 22 | spName | string | false | |
21 | cpId | string | true | cp标识 | 23 | cpId | string | true | cp标识 |
@@ -32,7 +34,7 @@ HTTP POST @@ -32,7 +34,7 @@ HTTP POST
32 | description | string | false | 描述 | 34 | description | string | false | 描述 |
33 | bodyContent | string | false | 文本内容,含html代码,传输时注意编码 | 35 | bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |
34 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) | 36 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |
35 -| imgJson | string | true | 图片:json格式 | 37 +| imgJson | string | true | 图片:json格式 <br/> type: 图片类型:titleImage:标题图片;contentImage:组图图片|
36 | director | string | false | 导演 | 38 | director | string | false | 导演 |
37 | actors | string | false | 演员 | 39 | actors | string | false | 演员 |
38 | albumName | string | false | 专辑名称 | 40 | albumName | string | false | 专辑名称 |
@@ -44,7 +46,7 @@ HTTP POST @@ -44,7 +46,7 @@ HTTP POST
44 | weight | string | true | 权重, 取值:0 ~ 100 | 46 | weight | string | true | 权重, 取值:0 ~ 100 |
45 | extension1 | string | true | 扩展字段1 | 47 | extension1 | string | true | 扩展字段1 |
46 | extension2 | string | true | 扩展字段2 | 48 | extension2 | string | true | 扩展字段2 |
47 -| extensions | string | true | 扩展字段:json格式 | 49 +| extensions | string | true | 扩展字段:json格式 <br/> albumPrgCounts:总集数;albumPrgSeqNo:<br/> 集号;durationBySec:<br/> 时长;<br/> rates:视频格式(1:流畅;2:标清;3:高清;4:超清);<br/>language:语言|
48 50
49 51
50 ### 返回值 ### 52 ### 返回值 ###
@@ -60,6 +62,8 @@ HTTP POST @@ -60,6 +62,8 @@ HTTP POST
60 { 62 {
61 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4", 63 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",
62 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4", 64 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",
  65 + "groupType":"program",
  66 + "contentType":"video",
63 "spId":"82", 67 "spId":"82",
64 "spName":"视讯中国", 68 "spName":"视讯中国",
65 "cpId":"1", 69 "cpId":"1",
@@ -91,6 +95,7 @@ HTTP POST @@ -91,6 +95,7 @@ HTTP POST
91 "albumPrgCounts":"20", 95 "albumPrgCounts":"20",
92 "albumPrgSeqNo":"1", 96 "albumPrgSeqNo":"1",
93 "durationBySec":"209", 97 "durationBySec":"209",
  98 + "rates":"1,2",
94 "language":"汉语" 99 "language":"汉语"
95 }, 100 },
96 "imgJson":[ 101 "imgJson":[
@@ -105,6 +110,12 @@ HTTP POST @@ -105,6 +110,12 @@ HTTP POST
105 "format":"485*303", 110 "format":"485*303",
106 "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398", 111 "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398",
107 "desc":"图片介绍" 112 "desc":"图片介绍"
  113 + },
  114 + {
  115 + "type":"contentImage",
  116 + "format":"485*303",
  117 + "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398",
  118 + "desc":"图片介绍1"
108 } 119 }
109 ] 120 ]
110 } 121 }
12.内容库云/1.1.3 内容云入库接口_video_cms.md
@@ -16,6 +16,8 @@ HTTP POST @@ -16,6 +16,8 @@ HTTP POST
16 |:----- | :------: | :------: | :------: | 16 |:----- | :------: | :------: | :------: |
17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 | 17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |
18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId | 18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |
  19 +| groupType | string | true | 组类型:program、richtxt等 ,内容分组:节目(来源于媒资库)、富文本(来自CMS或图片库等) |
  20 +| contentType | string | true | 内容类型:video、live、audio、pics、article等 ,<br/>内容类型(需要设计6个小的icon,便于内容结果展示的标示):<br/>节目分下含:video(默认1)、live、audio<br/>富文本含:article(默认0)、vtxt、spectxt、picstxt<br/>注意:某节目可能被检索2次,即一个video类型,一个vtxt类型。 |
19 | spId | string | true | | 21 | spId | string | true | |
20 | spName | string | false | | 22 | spName | string | false | |
21 | cpId | string | true | cp标识 | 23 | cpId | string | true | cp标识 |
@@ -32,7 +34,7 @@ HTTP POST @@ -32,7 +34,7 @@ HTTP POST
32 | description | string | false | 描述 | 34 | description | string | false | 描述 |
33 | bodyContent | string | false | 文本内容,含html代码,传输时注意编码 | 35 | bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |
34 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) | 36 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |
35 -| imgJson | string | true | 图片:json格式 | 37 +| imgJson | string | true | 图片:json格式 <br/> type: 图片类型:titleImage:标题图片;contentImage:组图图片|
36 | director | string | false | 导演 | 38 | director | string | false | 导演 |
37 | actors | string | false | 演员 | 39 | actors | string | false | 演员 |
38 | albumName | string | false | 专辑名称 | 40 | albumName | string | false | 专辑名称 |
@@ -44,7 +46,7 @@ HTTP POST @@ -44,7 +46,7 @@ HTTP POST
44 | weight | string | true | 权重, 取值:0 ~ 100 | 46 | weight | string | true | 权重, 取值:0 ~ 100 |
45 | extension1 | string | true | 扩展字段1 | 47 | extension1 | string | true | 扩展字段1 |
46 | extension2 | string | true | 扩展字段2 | 48 | extension2 | string | true | 扩展字段2 |
47 -| extensions | string | true | 扩展字段:json格式 | 49 +| extensions | string | true | 扩展字段:json格式 <br/> albumPrgCounts:总集数;albumPrgSeqNo:<br/> 集号;durationBySec:<br/> 时长;<br/> rates:视频格式(1:流畅;2:标清;3:高清;4:超清);<br/>language:语言|
48 50
49 51
50 ### 返回值 ### 52 ### 返回值 ###
12.内容库云/1.1.4 内容云入库接口_video_ring7.md
@@ -16,6 +16,8 @@ HTTP POST @@ -16,6 +16,8 @@ HTTP POST
16 |:----- | :------: | :------: | :------: | 16 |:----- | :------: | :------: | :------: |
17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 | 17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |
18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId | 18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |
  19 +| groupType | string | true | 组类型:program、richtxt等 ,内容分组:节目(来源于媒资库)、富文本(来自CMS或图片库等) |
  20 +| contentType | string | true | 内容类型:video、live、audio、pics、article等 ,<br/>内容类型(需要设计6个小的icon,便于内容结果展示的标示):<br/>节目分下含:video(默认1)、live、audio<br/>富文本含:article(默认0)、vtxt、spectxt、picstxt<br/>注意:某节目可能被检索2次,即一个video类型,一个vtxt类型。 |
19 | spId | string | true | | 21 | spId | string | true | |
20 | spName | string | false | | 22 | spName | string | false | |
21 | cpId | string | true | cp标识 | 23 | cpId | string | true | cp标识 |
@@ -30,8 +32,9 @@ HTTP POST @@ -30,8 +32,9 @@ HTTP POST
30 | keywords | string | false | 关键词 | 32 | keywords | string | false | 关键词 |
31 | pageUrl | string | false | 内容的页面地址 | 33 | pageUrl | string | false | 内容的页面地址 |
32 | description | string | false | 描述 | 34 | description | string | false | 描述 |
  35 +| bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |
33 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) | 36 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |
34 -| imgJson | string | true | 图片:json格式 | 37 +| imgJson | string | true | 图片:json格式 <br/> type: 图片类型:titleImage:标题图片;contentImage:组图图片|
35 | director | string | false | 导演 | 38 | director | string | false | 导演 |
36 | actors | string | false | 演员 | 39 | actors | string | false | 演员 |
37 | albumName | string | false | 专辑名称 | 40 | albumName | string | false | 专辑名称 |
@@ -43,7 +46,7 @@ HTTP POST @@ -43,7 +46,7 @@ HTTP POST
43 | weight | string | true | 权重, 取值:0 ~ 100 | 46 | weight | string | true | 权重, 取值:0 ~ 100 |
44 | extension1 | string | true | 扩展字段1 | 47 | extension1 | string | true | 扩展字段1 |
45 | extension2 | string | true | 扩展字段2 | 48 | extension2 | string | true | 扩展字段2 |
46 -| extensions | string | true | 扩展字段:json格式 | 49 +| extensions | string | true | 扩展字段:json格式 <br/> albumPrgCounts:总集数;albumPrgSeqNo:<br/> 集号;durationBySec:<br/> 时长;<br/> rates:视频格式(1:流畅;2:标清;3:高清;4:超清);<br/>language:语言|
47 50
48 51
49 ### 返回值 ### 52 ### 返回值 ###
@@ -59,6 +62,8 @@ HTTP POST @@ -59,6 +62,8 @@ HTTP POST
59 { 62 {
60 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4", 63 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",
61 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4", 64 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",
  65 + "groupType":"program",
  66 + "contentType":"video",
62 "spId":"82", 67 "spId":"82",
63 "spName":"视讯中国", 68 "spName":"视讯中国",
64 "cpId":"1", 69 "cpId":"1",
@@ -73,6 +78,7 @@ HTTP POST @@ -73,6 +78,7 @@ HTTP POST
73 "keywords":"刘德华/关之琳", 78 "keywords":"刘德华/关之琳",
74 "pageUrl":"http://www.cnlive.com/yule/1234.html", 79 "pageUrl":"http://www.cnlive.com/yule/1234.html",
75 "description":"李雨桐风波后首度亮相心情好,风波后首度亮相心情好。", 80 "description":"李雨桐风波后首度亮相心情好,风波后首度亮相心情好。",
  81 + "bodyContent":"",
76 "copyrightId":"1", 82 "copyrightId":"1",
77 "director":"冯小刚", 83 "director":"冯小刚",
78 "actors":"葛优", 84 "actors":"葛优",
12.内容库云/1.1.5 内容云入库接口_video_chinaorg.md
@@ -16,6 +16,8 @@ HTTP POST @@ -16,6 +16,8 @@ HTTP POST
16 |:----- | :------: | :------: | :------: | 16 |:----- | :------: | :------: | :------: |
17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 | 17 | uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |
18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId | 18 | subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |
  19 +| groupType | string | true | 组类型:program、richtxt等 ,内容分组:节目(来源于媒资库)、富文本(来自CMS或图片库等) |
  20 +| contentType | string | true | 内容类型:video、live、audio、pics、article等 ,<br/>内容类型(需要设计6个小的icon,便于内容结果展示的标示):<br/>节目分下含:video(默认1)、live、audio<br/>富文本含:article(默认0)、vtxt、spectxt、picstxt<br/>注意:某节目可能被检索2次,即一个video类型,一个vtxt类型。 |
19 | spId | string | true | | 21 | spId | string | true | |
20 | spName | string | false | | 22 | spName | string | false | |
21 | cpId | string | true | cp标识 | 23 | cpId | string | true | cp标识 |
@@ -32,7 +34,7 @@ HTTP POST @@ -32,7 +34,7 @@ HTTP POST
32 | description | string | false | 描述 | 34 | description | string | false | 描述 |
33 | bodyContent | string | false | 文本内容,含html代码,传输时注意编码 | 35 | bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |
34 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) | 36 | copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |
35 -| imgJson | string | true | 图片:json格式 | 37 +| imgJson | string | true | 图片:json格式 <br/> type: 图片类型:titleImage:标题图片;contentImage:组图图片|
36 | director | string | false | 导演 | 38 | director | string | false | 导演 |
37 | actors | string | false | 演员 | 39 | actors | string | false | 演员 |
38 | albumName | string | false | 专辑名称 | 40 | albumName | string | false | 专辑名称 |
@@ -44,7 +46,7 @@ HTTP POST @@ -44,7 +46,7 @@ HTTP POST
44 | weight | string | true | 权重, 取值:0 ~ 100 | 46 | weight | string | true | 权重, 取值:0 ~ 100 |
45 | extension1 | string | true | 扩展字段1 | 47 | extension1 | string | true | 扩展字段1 |
46 | extension2 | string | true | 扩展字段2 | 48 | extension2 | string | true | 扩展字段2 |
47 -| extensions | string | true | 扩展字段:json格式 | 49 +| extensions | string | true | 扩展字段:json格式 <br/> albumPrgCounts:总集数;albumPrgSeqNo:<br/> 集号;durationBySec:<br/> 时长;<br/> rates:视频格式(1:流畅;2:标清;3:高清;4:超清);<br/>language:语言|
48 50
49 51
50 ### 返回值 ### 52 ### 返回值 ###
@@ -60,6 +62,8 @@ HTTP POST @@ -60,6 +62,8 @@ HTTP POST
60 { 62 {
61 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4", 63 "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",
62 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4", 64 "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",
  65 + "groupType":"program",
  66 + "contentType":"video",
63 "spId":"82", 67 "spId":"82",
64 "spName":"视讯中国", 68 "spName":"视讯中国",
65 "cpId":"1", 69 "cpId":"1",
12.内容库云/1.2.2 内容云入库接口_ live_live.md deleted 100644 → 0
1 -/*  
2 -Title: 1.1 内容云入库接口  
3 -*/  
4 -  
5 -### 接口描述 ###  
6 -  
7 -  
8 -### 接口地址 ###  
9 -http://api.cnlive.com/open/api2/nry/add  
10 -  
11 -### 接口协议 ###  
12 -HTTP POST  
13 -  
14 -### 接口请求参数 ###  
15 -|参数名| 参数类型 | 必选 | 参数说明 |  
16 -|:----- | :------: | :------: | :------: |  
17 -| uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |  
18 -| subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |  
19 -| spId | string | true | |  
20 -| spName | string | false | |  
21 -| cpId | string | true | cp标识 |  
22 -| cpName | string | false | |  
23 -| status | string | true | 上线状态, 1=上线,0下线,-1为删除。(0和-1是支持内部生产的查询) |  
24 -| title | string | true | 内容标题 |  
25 -| subTitle | string | true | 内容副标题 |  
26 -| categoryId | string | true | 分类标识,全路径,用’\‘隔开 |  
27 -| categoryName | string | true | 全路径,用’\‘隔开 |  
28 -| editorId | string | false | 编辑标识 |  
29 -| editorName | string | false | 编辑名称 |  
30 -| keywords | string | false | 关键词 |  
31 -| pageUrl | string | false | 内容的页面地址 |  
32 -| description | string | false | 描述 |  
33 -| bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |  
34 -| copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |  
35 -| imgJson | string | true | 图片:json格式 |  
36 -| director | string | false | 导演 |  
37 -| actors | string | false | 演员 |  
38 -| albumName | string | false | 专辑名称 |  
39 -| area | string | true | 地区 |  
40 -| year | string | true | 年代 |  
41 -| createTime | string | true | 创建时间 |  
42 -| publishTime | string | true | 发布时间 |  
43 -| verTimestamp | string | true | 时间戳版本 |  
44 -| weight | string | true | 权重, 取值:0 ~ 100 |  
45 -| extension1 | string | true | 扩展字段1 |  
46 -| extension2 | string | true | 扩展字段2 |  
47 -| extensions | string | true | 扩展字段:json格式 |  
48 -  
49 -  
50 -### 返回值 ###  
51 -  
52 -| 参数名 | 参数类型 | 必选 | 参数说明 |  
53 -| :-----------| :------: | :------: | :------: |  
54 -| errorCode| int | true | 错误类型号 |  
55 -| errorMessage| string | true | 错误类型 |  
56 -  
57 -请求JSON格式的节目元数据信息,json示例如下:  
58 -  
59 -``` json  
60 -{  
61 - "source":"mam",  
62 - "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
63 - "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
64 - "groupType":"program",  
65 - "contentType":"video",  
66 - "spId":"82",  
67 - "spName":"视讯中国",  
68 - "cpId":"1",  
69 - "cpName":"",  
70 - "status":"1",  
71 - "title":"李雨桐风波后首度亮相心情好",  
72 - "subTitle":"李雨桐风波后心情好",  
73 - "categoryId":"001/123",  
74 - "categoryName":"娱乐/港台",  
75 - "editorId":"123",  
76 - "editorName":"李四",  
77 - "keywords":"刘德华/关之琳",  
78 - "pageUrl":"http://www.cnlive.com/yule/1234.html",  
79 - "description":"李雨桐风波后首度亮相心情好,风波后首度亮相心情好。",  
80 - "bodyContent":"",  
81 - "copyrightId":"1",  
82 - "director":"冯小刚",  
83 - "actors":"葛优",  
84 - "albumName":"专题1",  
85 - "area":"大陆",  
86 - "year":"90",  
87 - "createTime":"2017-10-12 11:12:01",  
88 - "publishTime":"1998-05-12 09:16:20",  
89 - "verTimestamp":"2017-10-12 11:12:01",  
90 - "weight":"60",  
91 - "extension1":"扩展值1",  
92 - "extension2":"扩展值2",  
93 - "extensions":{  
94 - "albumPrgCounts":"20",  
95 - "albumPrgSeqNo":"1",  
96 - "durationBySec":"209",  
97 - "language":"汉语"  
98 - },  
99 - "imgJson":[  
100 - {  
101 - "type":"titleImage",  
102 - "format":"316*506",  
103 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/316/h/506",  
104 - "desc":"图片介绍"  
105 - },  
106 - {  
107 - "type":"contentImage",  
108 - "format":"485*303",  
109 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398",  
110 - "desc":"图片介绍"  
111 - }  
112 - ]  
113 -}  
114 -```  
115 -  
116 -返回JSON格式的节目元数据信息,json示例如下:  
117 -  
118 -``` json  
119 -{  
120 - "data":{  
121 - "uuid":"17cbfede6f074db18d06fdeb170e41c4",  
122 - "title":"一带一路特别节目"  
123 - },  
124 - "errorCode":0,  
125 - "errorMessage":"sucess"  
126 -}  
127 -```  
128 \ No newline at end of file 0 \ No newline at end of file
12.内容库云/1.3.1 内容云入库接口_audio_mam.md deleted 100644 → 0
1 -/*  
2 -Title: 1.1 内容云入库接口  
3 -*/  
4 -  
5 -### 接口描述 ###  
6 -  
7 -  
8 -### 接口地址 ###  
9 -http://api.cnlive.com/open/api2/nry/add  
10 -  
11 -### 接口协议 ###  
12 -HTTP POST  
13 -  
14 -### 接口请求参数 ###  
15 -|参数名| 参数类型 | 必选 | 参数说明 |  
16 -|:----- | :------: | :------: | :------: |  
17 -| uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |  
18 -| subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |  
19 -| spId | string | true | |  
20 -| spName | string | false | |  
21 -| cpId | string | true | cp标识 |  
22 -| cpName | string | false | |  
23 -| status | string | true | 上线状态, 1=上线,0下线,-1为删除。(0和-1是支持内部生产的查询) |  
24 -| title | string | true | 内容标题 |  
25 -| subTitle | string | true | 内容副标题 |  
26 -| categoryId | string | true | 分类标识,全路径,用’\‘隔开 |  
27 -| categoryName | string | true | 全路径,用’\‘隔开 |  
28 -| editorId | string | false | 编辑标识 |  
29 -| editorName | string | false | 编辑名称 |  
30 -| keywords | string | false | 关键词 |  
31 -| pageUrl | string | false | 内容的页面地址 |  
32 -| description | string | false | 描述 |  
33 -| bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |  
34 -| copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |  
35 -| imgJson | string | true | 图片:json格式 |  
36 -| director | string | false | 导演 |  
37 -| actors | string | false | 演员 |  
38 -| albumName | string | false | 专辑名称 |  
39 -| area | string | true | 地区 |  
40 -| year | string | true | 年代 |  
41 -| createTime | string | true | 创建时间 |  
42 -| publishTime | string | true | 发布时间 |  
43 -| verTimestamp | string | true | 时间戳版本 |  
44 -| weight | string | true | 权重, 取值:0 ~ 100 |  
45 -| extension1 | string | true | 扩展字段1 |  
46 -| extension2 | string | true | 扩展字段2 |  
47 -| extensions | string | true | 扩展字段:json格式 |  
48 -  
49 -  
50 -### 返回值 ###  
51 -  
52 -| 参数名 | 参数类型 | 必选 | 参数说明 |  
53 -| :-----------| :------: | :------: | :------: |  
54 -| errorCode| int | true | 错误类型号 |  
55 -| errorMessage| string | true | 错误类型 |  
56 -  
57 -请求JSON格式的节目元数据信息,json示例如下:  
58 -  
59 -``` json  
60 -{  
61 - "source":"mam",  
62 - "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
63 - "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
64 - "groupType":"program",  
65 - "contentType":"video",  
66 - "spId":"82",  
67 - "spName":"视讯中国",  
68 - "cpId":"1",  
69 - "cpName":"",  
70 - "status":"1",  
71 - "title":"李雨桐风波后首度亮相心情好",  
72 - "subTitle":"李雨桐风波后心情好",  
73 - "categoryId":"001/123",  
74 - "categoryName":"娱乐/港台",  
75 - "editorId":"123",  
76 - "editorName":"李四",  
77 - "keywords":"刘德华/关之琳",  
78 - "pageUrl":"http://www.cnlive.com/yule/1234.html",  
79 - "description":"李雨桐风波后首度亮相心情好,风波后首度亮相心情好。",  
80 - "bodyContent":"",  
81 - "copyrightId":"1",  
82 - "director":"冯小刚",  
83 - "actors":"葛优",  
84 - "albumName":"专题1",  
85 - "area":"大陆",  
86 - "year":"90",  
87 - "createTime":"2017-10-12 11:12:01",  
88 - "publishTime":"1998-05-12 09:16:20",  
89 - "verTimestamp":"2017-10-12 11:12:01",  
90 - "weight":"60",  
91 - "extension1":"扩展值1",  
92 - "extension2":"扩展值2",  
93 - "extensions":{  
94 - "albumPrgCounts":"20",  
95 - "albumPrgSeqNo":"1",  
96 - "durationBySec":"209",  
97 - "language":"汉语"  
98 - },  
99 - "imgJson":[  
100 - {  
101 - "type":"titleImage",  
102 - "format":"316*506",  
103 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/316/h/506",  
104 - "desc":"图片介绍"  
105 - },  
106 - {  
107 - "type":"contentImage",  
108 - "format":"485*303",  
109 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398",  
110 - "desc":"图片介绍"  
111 - }  
112 - ]  
113 -}  
114 -```  
115 -  
116 -返回JSON格式的节目元数据信息,json示例如下:  
117 -  
118 -``` json  
119 -{  
120 - "data":{  
121 - "uuid":"17cbfede6f074db18d06fdeb170e41c4",  
122 - "title":"一带一路特别节目"  
123 - },  
124 - "errorCode":0,  
125 - "errorMessage":"sucess"  
126 -}  
127 -```  
128 \ No newline at end of file 0 \ No newline at end of file
12.内容库云/1.4.3 内容云入库接口_article_cms.md deleted 100644 → 0
1 -/*  
2 -Title: 1.1 内容云入库接口  
3 -*/  
4 -  
5 -### 接口描述 ###  
6 -  
7 -  
8 -### 接口地址 ###  
9 -http://api.cnlive.com/open/api2/nry/add  
10 -  
11 -### 接口协议 ###  
12 -HTTP POST  
13 -  
14 -### 接口请求参数 ###  
15 -|参数名| 参数类型 | 必选 | 参数说明 |  
16 -|:----- | :------: | :------: | :------: |  
17 -| uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |  
18 -| subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |  
19 -| spId | string | true | |  
20 -| spName | string | false | |  
21 -| cpId | string | true | cp标识 |  
22 -| cpName | string | false | |  
23 -| status | string | true | 上线状态, 1=上线,0下线,-1为删除。(0和-1是支持内部生产的查询) |  
24 -| title | string | true | 内容标题 |  
25 -| subTitle | string | true | 内容副标题 |  
26 -| categoryId | string | true | 分类标识,全路径,用’\‘隔开 |  
27 -| categoryName | string | true | 全路径,用’\‘隔开 |  
28 -| editorId | string | false | 编辑标识 |  
29 -| editorName | string | false | 编辑名称 |  
30 -| keywords | string | false | 关键词 |  
31 -| pageUrl | string | false | 内容的页面地址 |  
32 -| description | string | false | 描述 |  
33 -| bodyContent | string | false | 文本内容,含html代码,传输时注意编码 |  
34 -| copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |  
35 -| imgJson | string | true | 图片:json格式 |  
36 -| createTime | string | true | 创建时间 |  
37 -| publishTime | string | true | 发布时间 |  
38 -| verTimestamp | string | true | 时间戳版本 |  
39 -| weight | string | true | 权重, 取值:0 ~ 100 |  
40 -| extension1 | string | true | 扩展字段1 |  
41 -| extension2 | string | true | 扩展字段2 |  
42 -| extensions | string | true | 扩展字段:json格式 |  
43 -  
44 -  
45 -### 返回值 ###  
46 -  
47 -| 参数名 | 参数类型 | 必选 | 参数说明 |  
48 -| :-----------| :------: | :------: | :------: |  
49 -| errorCode| int | true | 错误类型号 |  
50 -| errorMessage| string | true | 错误类型 |  
51 -  
52 -请求JSON格式的节目元数据信息,json示例如下:  
53 -  
54 -``` json  
55 -{  
56 - "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
57 - "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
58 - "spId":"82",  
59 - "spName":"视讯中国",  
60 - "cpId":"1",  
61 - "cpName":"",  
62 - "status":"1",  
63 - "title":"李雨桐风波后首度亮相心情好",  
64 - "subTitle":"李雨桐风波后心情好",  
65 - "categoryId":"001/123",  
66 - "categoryName":"娱乐/港台",  
67 - "editorId":"123",  
68 - "editorName":"李四",  
69 - "keywords":"刘德华/关之琳",  
70 - "pageUrl":"http://www.cnlive.com/yule/1234.html",  
71 - "description":"李雨桐风波后首度亮相心情好,风波后首度亮相心情好。",  
72 - "bodyContent":"",  
73 - "copyrightId":"1",  
74 - "createTime":"2017-10-12 11:12:01",  
75 - "publishTime":"1998-05-12 09:16:20",  
76 - "verTimestamp":"2017-10-12 11:12:01",  
77 - "weight":"60",  
78 - "extension1":"扩展值1",  
79 - "extension2":"扩展值2",  
80 - "extensions":{  
81 - "albumPrgCounts":"20",  
82 - "albumPrgSeqNo":"1",  
83 - "durationBySec":"209",  
84 - "language":"汉语"  
85 - },  
86 - "imgJson":[  
87 - {  
88 - "type":"titleImage",  
89 - "format":"316*506",  
90 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/316/h/506",  
91 - "desc":"图片介绍"  
92 - },  
93 - {  
94 - "type":"contentImage",  
95 - "format":"485*303",  
96 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398",  
97 - "desc":"图片介绍"  
98 - }  
99 - ]  
100 -}  
101 -```  
102 -  
103 -返回JSON格式的节目元数据信息,json示例如下:  
104 -  
105 -``` json  
106 -{  
107 - "data":{  
108 - "uuid":"17cbfede6f074db18d06fdeb170e41c4",  
109 - "title":"一带一路特别节目"  
110 - },  
111 - "errorCode":0,  
112 - "errorMessage":"sucess"  
113 -}  
114 -```  
115 \ No newline at end of file 0 \ No newline at end of file
12.内容库云/1.5.3 内容云入库接口_pics_cms.md deleted 100644 → 0
1 -/*  
2 -Title: 1.1 内容云入库接口  
3 -*/  
4 -  
5 -### 接口描述 ###  
6 -  
7 -  
8 -### 接口地址 ###  
9 -http://api.cnlive.com/open/api2/nry/add  
10 -  
11 -### 接口协议 ###  
12 -HTTP POST  
13 -  
14 -### 接口请求参数 ###  
15 -|参数名| 参数类型 | 必选 | 参数说明 |  
16 -|:----- | :------: | :------: | :------: |  
17 -| uuid | string | true | 内容标识, 确保唯一来源下,此内容ID唯一,视讯云点播云用globalId,cms可用contentId。 |  
18 -| subUuid | string | false | 附属内容标识, 主要用于富文本的vtxt而言,即用此参数来区别,发布云为uuid,点播云为globalId |  
19 -| spId | string | true | |  
20 -| spName | string | false | |  
21 -| cpId | string | true | cp标识 |  
22 -| cpName | string | false | |  
23 -| status | string | true | 上线状态, 1=上线,0下线,-1为删除。(0和-1是支持内部生产的查询) |  
24 -| title | string | true | 内容标题 |  
25 -| subTitle | string | true | 内容副标题 |  
26 -| categoryId | string | true | 分类标识,全路径,用’\‘隔开 |  
27 -| categoryName | string | true | 全路径,用’\‘隔开 |  
28 -| editorId | string | false | 编辑标识 |  
29 -| editorName | string | false | 编辑名称 |  
30 -| keywords | string | false | 关键词 |  
31 -| pageUrl | string | false | 内容的页面地址 |  
32 -| description | string | false | 描述 |  
33 -| copyrightId | string | true | 版权标识,唯一标示,来自 统一的 内容版权管理系统(建议暂时editorid来标示) |  
34 -| imgJson | string | true | 图片:json格式 |  
35 -| createTime | string | true | 创建时间 |  
36 -| publishTime | string | true | 发布时间 |  
37 -| verTimestamp | string | true | 时间戳版本 |  
38 -| weight | string | true | 权重, 取值:0 ~ 100 |  
39 -| extension1 | string | true | 扩展字段1 |  
40 -| extension2 | string | true | 扩展字段2 |  
41 -| extensions | string | true | 扩展字段:json格式 |  
42 -  
43 -  
44 -### 返回值 ###  
45 -  
46 -| 参数名 | 参数类型 | 必选 | 参数说明 |  
47 -| :-----------| :------: | :------: | :------: |  
48 -| errorCode| int | true | 错误类型号 |  
49 -| errorMessage| string | true | 错误类型 |  
50 -  
51 -请求JSON格式的节目元数据信息,json示例如下:  
52 -  
53 -``` json  
54 -{  
55 - "uuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
56 - "subUuid":"82_17cbfede6f074db18d06fdeb170e41c4",  
57 - "spId":"82",  
58 - "spName":"视讯中国",  
59 - "cpId":"1",  
60 - "cpName":"",  
61 - "status":"1",  
62 - "title":"李雨桐风波后首度亮相心情好",  
63 - "subTitle":"李雨桐风波后心情好",  
64 - "categoryId":"001/123",  
65 - "categoryName":"娱乐/港台",  
66 - "editorId":"123",  
67 - "editorName":"李四",  
68 - "keywords":"刘德华/关之琳",  
69 - "pageUrl":"http://www.cnlive.com/yule/1234.html",  
70 - "description":"李雨桐风波后首度亮相心情好,风波后首度亮相心情好。",  
71 - "copyrightId":"1",  
72 - "createTime":"2017-10-12 11:12:01",  
73 - "publishTime":"1998-05-12 09:16:20",  
74 - "verTimestamp":"2017-10-12 11:12:01",  
75 - "weight":"60",  
76 - "extension1":"扩展值1",  
77 - "extension2":"扩展值2",  
78 - "extensions":{  
79 - "albumPrgCounts":"20",  
80 - "albumPrgSeqNo":"1",  
81 - "durationBySec":"209",  
82 - "language":"汉语"  
83 - },  
84 - "imgJson":[  
85 - {  
86 - "type":"titleImage",  
87 - "format":"316*506",  
88 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/316/h/506",  
89 - "desc":"图片介绍"  
90 - },  
91 - {  
92 - "type":"contentImage",  
93 - "format":"485*303",  
94 - "url":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398",  
95 - "desc":"图片介绍"  
96 - }  
97 - ]  
98 -}  
99 -```  
100 -  
101 -返回JSON格式的节目元数据信息,json示例如下:  
102 -  
103 -``` json  
104 -{  
105 - "data":{  
106 - "uuid":"17cbfede6f074db18d06fdeb170e41c4",  
107 - "title":"一带一路特别节目"  
108 - },  
109 - "errorCode":0,  
110 - "errorMessage":"sucess"  
111 -}  
112 -```  
113 \ No newline at end of file 0 \ No newline at end of file
12.内容库云/3.0 获取分类树接口.md renamed to 12.内容库云/2.0 获取分类树接口.md
12.内容库云/2.1 内容云查询接口.md deleted 100644 → 0
1 -/*  
2 -Title: 1.1 获取点播信息接口  
3 -*/  
4 -  
5 -### 接口描述 ###  
6 -  
7 -  
8 -### 接口地址 ###  
9 -http://api.cnlive.com/open/api2/vod_epg/getVodInfo4Server  
10 -  
11 -### 接口协议 ###  
12 -HTTP GET  
13 -  
14 -### 接口请求参数 ###  
15 -|参数名| 参数类型 | 必选 | 参数说明 |  
16 -|:----- | :------: | :------: | :------: |  
17 -|appId| string | true | 应用ID |  
18 -|vId| string | true | 点播节目标识(直播回放的vId就是创建直播活动时的activityId) |  
19 -|timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 |  
20 -|sign| String | true | 签名规则见 [签名详情] (http://help.open.cnlive.com/common.html) |  
21 -  
22 -### 返回值 ###  
23 -  
24 -| 参数名 | 参数类型 | 必选 | 参数说明 |  
25 -| :-----------| :------: | :------: | :------: |  
26 -| errorCode| int | true | 错误类型号 |  
27 -| errorMessage| string | true | 错误类型 |  
28 -| videoName| string | true | 节目标题 |  
29 -| subTitle| string | false | 节目副标题 |  
30 -| desc| string | false | 节目描述 |  
31 -| categoryName| string | false | 分类名称 |  
32 -| customCategoryName| string | true | 自定义分类名称 |  
33 -| tag| string | false | 标签,多个以 逗号分隔 |  
34 -| videoId| string | true | 节目的唯一标识 |  
35 -| duration| int | false | 时长,单位 : 毫秒 |  
36 -| showFileSize| string | false | 文件大小 |  
37 -| spid| int | false | 所属sp |  
38 -| institutionName| string | true | 机构名称 |  
39 -| imginfos| map | false | 图片信息|  
40 -| rates | string | ture |清晰度标识,多个用逗号隔开: 流畅版=1,清晰版=2,高清版=3,超高清=4 |  
41 -| playUrls| Array | false | 播放url|  
42 -  
43 -返回JSON格式的节目元数据信息,json示例如下:  
44 -  
45 -``` json  
46 -{  
47 - "data":{  
48 - "categoryName":"资讯",  
49 - "desc":"一带一路特别节目",  
50 - "duration":324000,  
51 - "imginfos":{  
52 - "316*506":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/316/h/506",  
53 - "112*63":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/112/h/63",  
54 - "224*126":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/126",  
55 - "224*398":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/224/h/398",  
56 - "485*303":"http://test.qnvod.cnlive.com/60/img/2017/0809/ff8080815dc0be57015dc4c1fe380061/000002.jpg?imageView2/1/w/485/h/303"  
57 - },  
58 - "institutionName":"阿斯蒂芬村",  
59 - "rates":"1,2",  
60 - "showFileSize":418501536,  
61 - "spid":60,  
62 - "subTitle":"",  
63 - "tag":"丝绸之路,一带一路,文化交流,中华文化",  
64 - "videoId":"17cbfede6f074db18d06fdeb170e41c4",  
65 - "videoName":"大道之行一带一路",  
66 - "playUrls":[  
67 - {  
68 - "rate":2,  
69 - "fmt":"hls",  
70 - "url":"http://xxx.m3u8"  
71 - },  
72 - {  
73 - "rate":2,  
74 - "fmt":"mp4",  
75 - "url":"http://xxx.mp4"  
76 - }  
77 - ]  
78 - },  
79 - "errorCode":0,  
80 - "errorMessage":"sucess"  
81 -}  
82 -```  
83 -#### java 示例  
84 -  
85 -```java  
86 -public Object getVodUrl() {  
87 - String result = "";  
88 - Map params = new HashMap<>();  
89 - params.put("appId", "60_iqj730vn11");  
90 - params.put("vId", "174e6c5f3d9e4ddeb739feed1906fa11");  
91 - params.put("timestamp", System.currentTimeMillis()/1000+"");  
92 - String url = OpenUtil.buildURL("http://api.cnlive.com/open/api/dianbo/getVodInfo4Server", params, "appId对应key值");  
93 - HttpURLConnection connection;  
94 - try {  
95 - URL requestUrl = new URL(url);  
96 - connection = (HttpURLConnection)requestUrl.openConnection();  
97 - connection.setRequestMethod("GET");  
98 - connection.setDoInput(true);  
99 - connection.setDoOutput(true);  
100 - connection.connect();//连接  
101 -  
102 - //获得返回值  
103 - if(connection.getResponseCode() == HttpURLConnection.HTTP_OK){  
104 - InputStream in = connection.getInputStream();  
105 - String currentLine = "";  
106 - if(in != null){  
107 - BufferedReader br = new BufferedReader(new InputStreamReader(in,"utf-8"));  
108 - while((currentLine = br.readLine()) != null){  
109 - result += currentLine;  
110 - }  
111 - br.close();  
112 - }  
113 - }  
114 - }catch (Exception e) {  
115 - e.printStackTrace();  
116 - }  
117 -  
118 - if(BaseUtil.notBlank(result)) {  
119 - JSONObject resultJson = JSONObject.parseObject(result);  
120 - return resultJson  
121 - }  
122 -  
123 - return "";  
124 - }  
125 -```  
126 \ No newline at end of file 0 \ No newline at end of file
12.内容库云/2.1 获取点播列表接口Server.md 0 → 100644
  1 +;/*
  2 +Title: 1.1 获取内容信息接口
  3 +*/
  4 +
  5 +### 接口描述 ###
  6 +
  7 +
  8 +### 接口地址 ###
  9 +http://api.cnlive.com/open/api2/...
  10 +
  11 +### 接口协议 ###
  12 +HTTP GET
  13 +
  14 +### 接口请求参数 ###
  15 +|参数名| 参数类型 | 必选 | 参数说明 |
  16 +|:----- | :------: | :------: | :------: |
  17 +|appId| string | true | 应用ID |
  18 +|keyword| string | false | 关键词 |
  19 +|categoryId| int | false | 分类Id,从分类树接口中取。 categoryId 和spId 不能同时为空 根分类7个是常量,每个SP都有,分别如下:电影100001电视剧100002;娱乐100004;资讯100008;体育100012;教育100016;其他100026|
  20 +|page| string | false | 页号,如为空,默认值:1 |
  21 +|pageSize| string | false | 每页返回条数,如为空,默认值:20 |
  22 +|verTimestamp| long | false | 时间戳 时间毫秒值,返回最后修改时间在此时间之后的所有内容 |
  23 +|timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确,该时间用于签名|
  24 +|sign| String | true | 签名规则见 [签名详情] (http://console.open.cnlive.com/open/doc/sys/dianbo/t1/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D) |
  25 +
  26 +### 返回值 ###
  27 +
  28 +| 参数名 | 参数类型 | 必选 | 参数说明 |
  29 +| :-----------| :------: | :------: | :------: |
  30 +| errorCode| int | true | 错误类型号 |
  31 +| errorMessage| string | true | 错误类型 |
  32 +| totalNum| long | true | 总条数 |
  33 +| nextCursor| long | true | 下一页 |
  34 +| previousCursor| long | true | 上一页 |
  35 +| uuid| string | true | 节目的唯一标识 |
  36 +| title| string | true | 节目标题 |
  37 +| subTitle| string | false | 节目副标题 |
  38 +| desc| string | false | 节目描述 |
  39 +| categoryId| int | true | 分类Id |
  40 +| categoryName| string | false | 分类名称 |
  41 +| tag| string | false | 标签,多个以 逗号分隔 |
  42 +| rates| string | true | 视频码率格式,多种码率用逗号隔开,码率分别定义为:1:流畅;2:清晰;3:高清;4:超清 |
  43 +| cpName| string | true | 所属cp, 没有所属CP的,用SPName代替 |
  44 +| createDate| string | true | 内容创建时间 |
  45 +| verTimestamp| long | true | 最后修改时间,时间戳 时间毫秒值 |
  46 +| imgJson| map | false | 图片信息图片:json格式 <br/> type: 图片类型:titleImage:标题图片;contentImage:组图图片|
  47 +
  48 +返回JSON格式的节目元数据信息,json示例如下:
  49 +
  50 +``` json
  51 +{
  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 + }
  106 +}
  107 +```
0 \ No newline at end of file 108 \ No newline at end of file
12.内容库云/3.1 获取点播列表接口Server.md deleted 100644 → 0
1 -;/*  
2 -Title: 1.1 获取内容信息接口  
3 -*/  
4 -  
5 -### 接口描述 ###  
6 -  
7 -  
8 -### 接口地址 ###  
9 -http://api.cnlive.com/open/api2/...  
10 -  
11 -### 接口协议 ###  
12 -HTTP GET  
13 -  
14 -### 接口请求参数 ###  
15 -|参数名| 参数类型 | 必选 | 参数说明 |  
16 -|:----- | :------: | :------: | :------: |  
17 -|appId| string | true | 应用ID |  
18 -|categoryId| int | false | 分类Id,从分类树接口中取。 categoryId 和spId 不能同时为空 根分类7个是常量,每个SP都有,分别如下:电影100001电视剧100002;娱乐100004;资讯100008;体育100012;教育100016;其他100026|  
19 -|spIds| string | false | spId,可以传多个,以逗号隔开。 categoryId 和spId 不能同时为空 |  
20 -|page| string | false | 页号,如为空,默认值:1 |  
21 -|pageSize| string | false | 每页返回条数,如为空,默认值:20 |  
22 -|lastModify| long | false | 时间戳,返回最后修改时间在此时间之后的所有内容 |  
23 -|timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 |  
24 -|sign| String | true | 签名规则见 [签名详情] (http://console.open.cnlive.com/open/doc/sys/dianbo/t1/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D) |  
25 -  
26 -### 返回值 ###  
27 -  
28 -| 参数名 | 参数类型 | 必选 | 参数说明 |  
29 -| :-----------| :------: | :------: | :------: |  
30 -| errorCode| int | true | 错误类型号 |  
31 -| errorMessage| string | true | 错误类型 |  
32 -| uuid| string | true | 节目的唯一标识 |  
33 -| title| string | true | 节目标题 |  
34 -| subTitle| string | false | 节目副标题 |  
35 -| desc| string | false | 节目描述 |  
36 -| categoryId| int | true | 分类Id |  
37 -| categoryName| string | false | 分类名称 |  
38 -| tag| string | false | 标签,多个以 逗号分隔 |  
39 -| spId| int | false | 所属sp |  
40 -| createDate| string | true | 内容创建时间 |  
41 -| lastModify| string | true | 最后修改时间 |  
42 -| imgJson| map | false | 图片信息|  
43 -  
44 -返回JSON格式的节目元数据信息,json示例如下:  
45 -  
46 -``` json  
47 -{  
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 - "spId":60,  
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 - "spid":60,  
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"  
89 -}  
90 -```  
91 \ No newline at end of file 0 \ No newline at end of file