Query the related video files using the task number
{
"task_num":"202408310000001",
"guaranty_code":1,
"file_type":"webm"
}
Parameter | Meaning | Type | Required | Default value | Description |
---|
HEADERS | | | | | |
Content-Type | | string | Y | application/json | |
Authorization | | string | Y | Bearer | |
BODY | | | | | |
task_num | task number | string | Y | | the task number which you want took or watch files |
guaranty_code | task times | interger | N | | Number of video calls |
file_type | file extension | string | N | | There are four types to choose: |
mp4/webm/json/image | | | | | |
{
"status": 1,
"message": "success",
"data": [
{
"file_name": "str_CAM_Zi7w_con_CVl2sV8ZHr.webm",
"recording_duration": 130,
"type": "video/webm",
"size": "24807413",
"path": "..../upload/zip/202408310000001_1",
"view_url": ".....202408310000001_1/str_CAM_Zi7w_con_CVl2sV8ZHr.webm",
"remark": "MODERATOR"
}
]
}
Parameter | Meaning | Type | Existed | Default value | Description |
---|
BODY | | | | | |
status | response status | string | Y | | 0: fail |
1: success | | | | | |
2: warning | | | | | |
message | message | string | Y | “” | Error messages should be shown when there are errors. |
data | files information | array | Y | | |
data.file_name | file name | string | Y | | |
data.recording_duration | Video Duration | integer | Y | | The video duration is measured in seconds. |
data.type | file extension | string | Y | | The file type adheres to MIME types. |
data.size | file size | string | Y | | The file size is measured in bytes. |
data.path | file path | string | Y | | |
data.view_url | video url | string | Y | | the video URL which can open in window to watch the videos |
data.remark | remark | string | N | | somethings need to notice |
The following is a table of error messages returned by the API.
Code | Status | Error | Message |
---|
200 | 1 | | success |
| 0 | | Unauthorized Access |
404 | | | Resource Not Found |
403 | | | Access to the requested resource is not allowed |