- 0 Login
- 1 System Settings
- 1.1 System Infomation
- 1.2 System Time
- 1.3 System Maintenance
- 1.4 Universal Asynchronous Receiver/Transmitter(UART)
- 1.5 General-purpose input/output(GPIO)
- 1.6 System Reboot
- 1.7 System Reset
- 1.8 System Memory
- 1.9 System Update
- 1.10 RS485
- 2 Network Settings
- 2.1 TCP/IP
- 2.2 4G Network
- 2.3 Wi-Fi Network
- 3 Platform Settings
- 3.1 GB-T28181
- 3.2 Customised platform
- 3.3 File Transfer Protocol (FTP)
- 3.4 Open Network Video Interface Forum(ONVIF)
- 3.5 Real Time Streaming Protocol (RTSP)
- 4 Video Settings
- 5 Audio Settings
- 6 Intelligent Settings
- 7 Alarm Settings
- 8 Record Settings
- 8.1 Basic Parameters
- 8.2 Recording Settings
- 8.3 Recording Plan
- 8.4 Recoding Files
- 8.5 Recording Space
- 9 Pan/Tilt/Zoom(PTZ) Settings
- Appendix
8.4.1 Getting Recording Files
POST
/api/record/query
Request
Cookie Params
access_token
string
required
Default:
{{access_token}}
Body Params application/json
id
string
required
op
string
required
data
object
required
page
integer
required
limit
integer
required
channel
integer
required
btime
integer
required
etime
integer
required
tags
integer
required
Example
{
"id": "GSF_ID_REC_QREC",
"op": "G0C0S0",
"data": {
"page": 1,
"limit": 10,
"channel": 0,
"btime": 0,
"etime": 4294967295,
"tags": 4294967295
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.0.168/api/record/query' \
--header 'Cookie: access_token=;access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GSF_ID_REC_QREC",
"op": "G0C0S0",
"data": {
"page": 1,
"limit": 10,
"channel": 0,
"btime": 0,
"etime": 4294967295,
"tags": 4294967295
}
}'
Responses
🟢200请求成功
application/json
Body
code
integer
required
data
object
required
statistic
array[integer]
required
count
integer
required
vec
array[object (Recording File information) {6}]
required
Example
{
"code": 0,
"data": {
"statistic": [
698,
0,
15,
0,
0,
0,
0,
0
],
"count": 10,
"vec": [
{
"id": 667,
"filename": "1668476174_278_000.mp4",
"filesize": 58200919,
"tags": 1,
"btime": 1668476174,
"etime": 1668476284
},
{
"id": 666,
"filename": "1668475965_354_000.mp4",
"filesize": 105693550,
"tags": 1,
"btime": 1668475965,
"etime": 1668476171
},
{
"id": 665,
"filename": "1668475701_795_000.mp4",
"filesize": 134593542,
"tags": 1,
"btime": 1668475701,
"etime": 1668475965
},
{
"id": 664,
"filename": "1668475438_801_000.mp4",
"filesize": 134508784,
"tags": 1,
"btime": 1668475438,
"etime": 1668475701
},
{
"id": 663,
"filename": "1668475175_858_000.mp4",
"filesize": 134597019,
"tags": 1,
"btime": 1668475175,
"etime": 1668475438
},
{
"id": 662,
"filename": "1668474912_833_000.mp4",
"filesize": 134505117,
"tags": 1,
"btime": 1668474912,
"etime": 1668475175
},
{
"id": 661,
"filename": "1668474649_769_000.mp4",
"filesize": 134596471,
"tags": 1,
"btime": 1668474649,
"etime": 1668474912
},
{
"id": 660,
"filename": "1668474386_724_000.mp4",
"filesize": 134516477,
"tags": 1,
"btime": 1668474386,
"etime": 1668474649
},
{
"id": 659,
"filename": "1668474123_731_000.mp4",
"filesize": 134625050,
"tags": 1,
"btime": 1668474123,
"etime": 1668474386
},
{
"id": 658,
"filename": "1668473860_714_000.mp4",
"filesize": 134378468,
"tags": 1,
"btime": 1668473860,
"etime": 1668474123
}
]
}
}
Modified at 2024-12-27 10:01:40