Commit 7ec2f9fe77b626ef3b4e725e68fac4f3027718e7
1 parent
9d0f2d23
修改
Showing
2 changed files
with
11 additions
and
4 deletions
01.点播云/3.0 获取分类树接口.md
01.点播云/3.1 获取点播列表接口Server.md
| 1 | -/* | |
| 1 | +;/* | |
| 2 | 2 | Title: 1.1 获取点播信息接口 |
| 3 | 3 | */ |
| 4 | 4 | |
| ... | ... | @@ -15,7 +15,7 @@ HTTP GET |
| 15 | 15 | |参数名| 参数类型 | 必选 | 参数说明 | |
| 16 | 16 | |:----- | :------: | :------: | :------: | |
| 17 | 17 | |appId| string | true | 应用ID | |
| 18 | -|categoryId| int | false | 分类Id,从分类树接口中取。 categoryId 和spId 不能同时为空 | | |
| 18 | +|categoryId| int | false | 分类Id,从分类树接口中取。 categoryId 和spId 不能同时为空 根分类7个是常量,每个SP都有,分别如下:电影100001电视剧100002;娱乐100004;资讯100008;体育100012;教育100016;其他100026| | |
| 19 | 19 | |spIds| string | false | spId,可以传多个,以逗号隔开。 categoryId 和spId 不能同时为空 | |
| 20 | 20 | |page| string | false | 页号,如为空,默认值:1 | |
| 21 | 21 | |pageSize| string | false | 每页返回条数,如为空,默认值:20 | |
| ... | ... | @@ -37,6 +37,8 @@ HTTP GET |
| 37 | 37 | | categoryName| string | false | 分类名称 | |
| 38 | 38 | | tag| string | false | 标签,多个以 逗号分隔 | |
| 39 | 39 | | spid| int | false | 所属sp | |
| 40 | +| createDate| string | true | 内容创建时间 | | |
| 41 | +| lastModify| string | true | 最后修改时间 | | |
| 40 | 42 | | imginfos| map | false | 图片信息| |
| 41 | 43 | |
| 42 | 44 | 返回JSON格式的节目元数据信息,json示例如下: |
| ... | ... | @@ -57,7 +59,9 @@ HTTP GET |
| 57 | 59 | "rates":"1,2", |
| 58 | 60 | "spid":60, |
| 59 | 61 | "subTitle":"", |
| 60 | - "tag":"丝绸之路,一带一路,文化交流,中华文化" | |
| 62 | + "tag":"丝绸之路,一带一路,文化交流,中华文化", | |
| 63 | + "createDate":"2017-09-20 12:30:34", | |
| 64 | + "lastModify":"2017-09-21 12:30:34" | |
| 61 | 65 | }, |
| 62 | 66 | { |
| 63 | 67 | "videoId":"17cbfede6f074db18d06fdeb170e41c4", |
| ... | ... | @@ -72,7 +76,9 @@ HTTP GET |
| 72 | 76 | "rates":"1,2", |
| 73 | 77 | "spid":60, |
| 74 | 78 | "subTitle":"", |
| 75 | - "tag":"丝绸之路,一带一路,文化交流,中华文化" | |
| 79 | + "tag":"丝绸之路,一带一路,文化交流,中华文化", | |
| 80 | + "createDate":"2017-09-20 12:30:34", | |
| 81 | + "lastModify":"2017-09-21 12:30:34" | |
| 76 | 82 | } |
| 77 | 83 | |
| 78 | 84 | ] | ... | ... |