- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
filePage
Singapore
Singapore
POST
/v2/openapi/gallery/page/file
Request
Header Params
Authorization
string
required
Body Params application/json
pageSize
integer | null
optional
Default:
10
pageIndex
integer | null
optional
Default:
1
deviceIds
string | null
optional
startTime
string | null
required
endTime
string | null
required
Example
{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"startTime": "string",
"endTime": "string"
}
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 'https://mettahub.mettaxiot.com/gps/v2/openapi/gallery/page/file' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"startTime": "string",
"endTime": "string"
}'
Responses
🟢200Success
application/json
Body
code
integer | null
optional
data
object (PageResult«ApiCaptureFileVO»)
optional
records
array[object (ApiCaptureFileVO) {10}] | null
optional
total
integer | null
optional
size
integer | null
optional
current
integer | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": {
"records": [
{
"id": "",
"deviceName": "",
"deviceId": "",
"channelId": 0,
"fileUrl": "",
"fileType": "",
"fileSize": 0,
"createTime": "",
"channelName": "",
"platform": ""
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Modified at 2024-11-12 02:03:32