POST
/
api
/
files
/
upload-s3
/
complete-upload
{
"id": "<string>",
"owner_id": "<string>",
"name": "<string>",
"device_id": "<string>",
"start_time": 123,
"end_time": 123,
"duration": 123,
"timezone": 123,
"zonemins": 123,
"group_id": "<string>",
"children_ids": [
"<any>"
],
"parent_id": "<string>",
"parent_clips": [
"<any>"
],
"data": {},
"presigned_url": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}

Headers

Authorization
string
required

Body

application/json
file_id
string
required

from generate_presigned_urls

upload_id
string
required

from generate_presigned_urls

part_list
Part List · object[]
required

generated by upload progress

filetype
string
required

file type

start_time
integer
required

start timestamp of recording

end_time
integer
required

end timestamp of recording

duration
integer
required

duration of recording

sn_type
enum<string>

Device Type Enum

Available options:
note,
notepin,
notepro,
other
sn
string | null

sn, set this or owner_id

owner_id
string | null

owner id, set this or sn

name
string | null

name of file

file_md5
string | null

md5 of file

timezone
integer
default:0

timezone of recording

zonemins
integer
default:0

zone minutes of recording

Response

OK

File Model

id
string | null
owner_id
string | null
name
string | null
device_id
string | null
start_time
integer | null
end_time
integer | null
duration
integer | null
timezone
integer | null
zonemins
integer | null
group_id
string | null
children_ids
any[] | null
parent_id
string | null
parent_clips
any[] | null
data
presigned_url
string | null
created_at
string<date-time> | null