- global
- rtmp
- gb28181
- monitor
- mp4
- transcode
- debug
- stress
- cluster
- crontab
- sei
查询录像
GET
/mp4/api/list/{streamPath}
请求参数
Path 参数
streamPath
string
必需
Query 参数
start
string
必需
示例值:
2024-09-14T18:00:00
end
string
可选
示例值:
18:02:00
pageSize
string
必需
示例值:
10
pageNum
string
必需
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/mp4/api/list/?start=2024-09-14T18:00:00&end=18:02:00&pageSize=10&pageNum=1'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
array [object {5}]
必需
id
integer
必需
filePath
string
必需
streamPath
string
必需
startTime
string
必需
endTime
string
必需
示例
{"code":0, "message":"", "data":[{"id":1, "filePath":"record/live/test/2024-10-16T13:44:42.mp4", "streamPath":"live/test", "startTime":"2024-10-16T05:44:42.406631Z", "endTime":"2024-10-16T05:44:46.326675Z"}, {"id":2, "filePath":"record/live/test/2024-10-16T14:22:57.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:22:57.225064Z", "endTime":"2024-10-16T06:23:07.759730Z"}, {"id":3, "filePath":"record/live/test/2024-10-16T14:23:07.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:23:07.759730Z", "endTime":"2024-10-16T06:23:17.791604Z"}, {"id":4, "filePath":"record/live/test/2024-10-16T14:23:17.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:23:17.791604Z", "endTime":"2024-10-16T06:23:28.735833Z"}, {"id":5, "filePath":"record/live/test/2024-10-16T14:23:28.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:23:28.735833Z", "endTime":"2024-10-16T06:23:38.754703Z"}, {"id":6, "filePath":"record/live/test/2024-10-16T14:23:38.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:23:38.754703Z", "endTime":"2024-10-16T06:23:48.787766Z"}, {"id":7, "filePath":"record/live/test/2024-10-16T14:23:48.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:23:48.787766Z", "endTime":"2024-10-16T06:23:58.729378Z"}, {"id":8, "filePath":"record/live/test/2024-10-16T14:23:58.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:23:58.729378Z", "endTime":"2024-10-16T06:24:08.758135Z"}, {"id":9, "filePath":"record/live/test/2024-10-16T14:24:08.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:24:08.758135Z", "endTime":"2024-10-16T06:24:18.788755Z"}, {"id":10, "filePath":"record/live/test/2024-10-16T14:24:18.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:24:18.788755Z", "endTime":"2024-10-16T06:24:28.730679Z"}, {"id":11, "filePath":"record/live/test/2024-10-16T14:24:28.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:24:28.730679Z", "endTime":"2024-10-16T06:24:38.758503Z"}, {"id":12, "filePath":"record/live/test/2024-10-16T14:24:38.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:24:38.758503Z", "endTime":"2024-10-16T06:24:48.789338Z"}, {"id":13, "filePath":"record/live/test/2024-10-16T14:24:48.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:24:48.789338Z", "endTime":"2024-10-16T06:24:58.729934Z"}, {"id":14, "filePath":"record/live/test/2024-10-16T14:24:58.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:24:58.729934Z", "endTime":"2024-10-16T06:25:08.758767Z"}, {"id":15, "filePath":"record/live/test/2024-10-16T14:25:08.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:25:08.758767Z", "endTime":"2024-10-16T06:25:18.785226Z"}, {"id":16, "filePath":"record/live/test/2024-10-16T14:25:18.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:25:18.785226Z", "endTime":"2024-10-16T06:25:28.732607Z"}, {"id":17, "filePath":"record/live/test/2024-10-16T14:25:28.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:25:28.732607Z", "endTime":"2024-10-16T06:25:38.758292Z"}, {"id":18, "filePath":"record/live/test/2024-10-16T14:25:38.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:25:38.758292Z", "endTime":"2024-10-16T06:25:48.788609Z"}, {"id":19, "filePath":"record/live/test/2024-10-16T14:25:48.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:25:48.788609Z", "endTime":"2024-10-16T06:25:58.730832Z"}, {"id":20, "filePath":"record/live/test/2024-10-16T14:25:58.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:25:58.730832Z", "endTime":"2024-10-16T06:26:08.758989Z"}, {"id":21, "filePath":"record/live/test/2024-10-16T14:26:08.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:26:08.758989Z", "endTime":"2024-10-16T06:26:18.787879Z"}, {"id":22, "filePath":"record/live/test/2024-10-16T14:26:18.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:26:18.787879Z", "endTime":"2024-10-16T06:26:28.736646Z"}, {"id":23, "filePath":"record/live/test/2024-10-16T14:26:28.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:26:28.736646Z", "endTime":"2024-10-16T06:26:38.755248Z"}, {"id":24, "filePath":"record/live/test/2024-10-16T14:26:38.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:26:38.755248Z", "endTime":"2024-10-16T06:26:48.790105Z"}, {"id":25, "filePath":"record/live/test/2024-10-16T14:26:48.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:26:48.790105Z", "endTime":"2024-10-16T06:26:58.732405Z"}, {"id":26, "filePath":"record/live/test/2024-10-16T14:26:58.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:26:58.732405Z", "endTime":"2024-10-16T06:27:08.757605Z"}, {"id":27, "filePath":"record/live/test/2024-10-16T14:27:08.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:27:08.757605Z", "endTime":"2024-10-16T06:27:18.787043Z"}, {"id":28, "filePath":"record/live/test/2024-10-16T14:27:18.mp4", "streamPath":"live/test", "startTime":"2024-10-16T06:27:18.787043Z", "endTime":"2024-10-16T06:27:27.225855Z"}, {"id":29, "filePath":"record/flv/1729739145.mp4", "streamPath":"live/flv", "startTime":"2024-10-24T03:05:45.637064Z", "endTime":"2024-10-24T03:06:46.597125Z"}, {"id":30, "filePath":"record/flv/1729739206.mp4", "streamPath":"live/flv", "startTime":"2024-10-24T03:06:46.597125Z", "endTime":"2024-10-24T03:07:46.598914Z"}, {"id":31, "filePath":"record/flv/1729739266.mp4", "streamPath":"live/flv", "startTime":"2024-10-24T03:07:46.598914Z", "endTime":"2024-10-24T03:08:46.582693Z"}, {"id":32, "filePath":"record/flv/1729739326.mp4", "streamPath":"live/flv", "startTime":"2024-10-24T03:08:46.582693Z", "endTime":"2024-10-24T03:09:46.671436Z"}, {"id":33, "filePath":"record/flv/1729739386.mp4", "streamPath":"live/flv", "startTime":"2024-10-24T03:09:46.671436Z", "endTime":"2024-10-24T03:10:46.660613Z"}, {"id":34, "filePath":"record/flv/1729739446.mp4", "streamPath":"live/flv", "startTime":"2024-10-24T03:10:46.660613Z", "endTime":"2024-10-24T03:11:34.746170Z"}]}

扫码关注公众号"不卡科技"
包含最佳实践、技术原理、最新活动



扫码加入不卡科技QQ 群


修改于 2025-05-23 01:12:49