API 文档
搜索文档…
获取指定活动的回看视频列表

接口

获取媒体库回看视频列表
1
GET /api/activity/{id}/playlist/playback
Copied!

授权

请求 header
1
Authorization: Bearer <accessToken>
2
Content-Type: application/json
Copied!
注:请将上方的<accessToken>替换为分配给您的秘钥串。关于如何获取 accessToken ,请咨询杨经理(18968187008)。

参数

请求样例

1
/api/activity/3180028/playlist/playback
Copied!

响应参数

参数
类型
描述
id
string
视频列表 ID
activityId
string
活动 ID
name
string
视频列表名称
updatedAt
string
更新时间
createdAt
string
创建时间
medias
array
视频信息列表

响应示例

1
{
2
"id": 186655,
3
"activityId": "3180028",
4
"name": "录制回看",
5
"createdAt": "2019-05-30T08:24:25.000Z",
6
"updatedAt": "2019-05-30T08:24:26.000Z",
7
"medias": [
8
{
9
"meta": {
10
"duration": 180.557,
11
"storage_bucket": "shangzhibo-aliyun",
12
"storage_path": "/record/onelive/3180028-IeZ7BVH8wc/2019-05-30-16-18-23_2019-05-30-16-21-23.m3u8"
13
},
14
"isProcessThumbnail": false,
15
"isProcessPlaylist": false,
16
"id": 1522906,
17
"activityId": "3180028",
18
"path": "//recorder.shangzhibo.tv/record/onelive/3180028-IeZ7BVH8wc/2019-05-30-16-18-23_2019-05-30-16-21-23.m3u8",
19
"source": "record",
20
"thumbnailPath": "//aliyunimg.shangzhibo.tv/record/onelive/3180028-IeZ7BVH8wc/2019-05-30-16-18-23_2019-05-30-16-21-23.m3u8-preview.jpg",
21
"playlistPath": "//recorder.shangzhibo.tv/record/onelive/3180028-IeZ7BVH8wc/2019-05-30-16-18-23_2019-05-30-16-21-23.m3u8",
22
"taskId": null,
23
"playbackTitle": null,
24
"startedAt": "2019-05-30T08:18:22.000Z",
25
"endedAt": "2019-05-30T08:21:24.000Z",
26
"createdAt": "2019-05-30T08:24:25.000Z",
27
"updatedAt": "2019-05-30T08:24:27.000Z"
28
}
29
]
30
}
Copied!
最近更新 1yr ago