资讯视频组-详情
通过提供的视频组编号获取视频组详情信息
接口地址(URI):/api/videos/group/detail
HTTP请求方式:GET
请求值字段 | 必选 | 类型 | 说明 |
---|---|---|---|
group_id | true | string | 视频组编号,不支持多个 |
page | false | integer | 第几页,仅支持输入数字. 默认值 1 |
perpage | false | integer | 每页条数,默认500条,最大1000条 |
返回字段 | 说明 |
---|---|
group_info | 组信息对象,以下字段是此对象的元素 |
group_id | 视频组编号 |
title | 组标题 |
caption | 组说明 |
channel_id | 组所属频道id |
online_time | 组上线时间 |
res_ids | 该组内所有的视频编号 |
first_res_id | 组封面视频的视频编号 |
video_info | 组内视频信息,以下字段是此对象的元素 |
res_id | 视频编号 |
caption | 视频说明 |
width | 原视频尺寸:宽 |
height | 原视频尺寸:高 |
upload_time | 上传时间 |
clip_length | 视频时长(时分秒) |
small_jpg_https | 预览图地址https |
preview_video_https | 预览视频地址https |
total_count | 视频总数 |
total_page | 总页数 |
per_page | 每页多少条 |
cur_page | 第几页 |
Curl: curl -X GET --header 'Accept: application/json' --header 'api-key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' --header 'authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' 'https://api.fotomore.com/api/videos/group/detail?group_id=526333588&page=1&perpage=10' Request URL: https://api.fotomore.com/api/videos/group/detail?group_id=526333588&page=1&perpage=10
{ "status_code": 1, "message": "ok", "data": { "group_info": { "group_id": "526333588", "title": "公益托管暖童心 重庆青少年寒假期间探索微观世界", "caption": "2024年1月24日,重庆,沙坪坝区新桥街道,高滩岩社区青少年之家,孩子们在使用显微镜探索微观世界。寒假期间,共青团重庆市委利用青少年宫(活动中心)、社区微型少年宫、青少年之家等团属校外活动场所开展公益寒假托管服务,并充分发挥校外教育工作者、大学生志愿者等参与托管服务,开设作业辅导、科技、体育、美术、舞蹈、亲子课堂等寒假特色培训和研学活动,以满足特色化、个性化的青年家庭托管需求。重点覆盖进城务工青年、新兴领域青年以及双职工家庭子女。这个寒假已有7000余位中小学生享受公益寒假托管服务。", "channel_id": "220634,220562", "online_time": "2024-01-25 00:21:41", "res_ids": "VCG1226838141,VCG1226838142,VCG1226838143,VCG1226838144,VCG1226838145,VCG1226838146,VCG1226838147,VCG1226838148,VCG1226838149,VCG1226838150", "first_res_id": "VCG1226838141" }, "video_info": [ { "res_id": "VCG1226838141", "caption": "2024年1月24日,重庆,沙坪坝区新桥街道,高滩岩社区青少年之家,孩子们在使用显微镜探索微观世界。", "width": 1920, "height": 1080, "online_state": 1, "upload_time": "2024-01-24 16:56:44", "clip_length": "00:00:11", "small_jpg_https": "https://video-static-api.fotomore.com/videos/snapshot/VCG1226838141_00001.jpg?uid=484×tamp=1708598513&sign=86f45aedd41b19ff69497072b09e311d", "preview_video_https": "https://video-static-api.fotomore.com/videos/mts_videos/preview/VCG1226838141.mp4?uid=484×tamp=1708598513&sign=86f45aedd41b19ff69497072b09e311d" }, { ...... }, { "res_id": "VCG1226838142", "caption": "2024年1月24日,重庆,沙坪坝区新桥街道,高滩岩社区青少年之家,孩子们在体验科学实验。", "width": 1920, "height": 1080, "online_state": 1, "upload_time": "2024-01-24 16:56:44", "clip_length": "00:00:10", "small_jpg_https": "https://video-static-api.fotomore.com/videos/snapshot/VCG1226838142_00001.jpg?uid=484×tamp=1708598513&sign=86f45aedd41b19ff69497072b09e311d", "preview_video_https": "https://video-static-api.fotomore.com/videos/mts_videos/preview/VCG1226838142.mp4?uid=484×tamp=1708598513&sign=86f45aedd41b19ff69497072b09e311d" } ], "total_count": 10, "total_page": 1, "per_page": 10, "cur_page": 1 } }