X_NightOwl_recording

X_NightOwl_recording

JSON commands related to X_NightOwl_recording

X_NightOwl_queryEventList

Summary

X_NightOwl_queryEventList

Description

The query result is always decreasing by time, Use latest command first to get initial listNumber items and get queryID, Use next with queryID to get next listNumber items, Use previous with queryID to get previous listNumber items, Please do not respond the queryID if there is no items at all (No SD card in IPcam).

Parameters

NameLocated inDescriptionRequiredSchema
startTimequerystartTimeYeslong
eventTypesqueryEvent type (trigger values):pir, pixelChange, human, face, vehicle, animal, familiar, unfamiliar, doorbellRing, motionSensor, doorSensor, babyCry, fireAlarm, gunShot, moved, lowBattery, timelapse, continuous.Yes[ string ]
channelsquerychannelsYes[ integer ]
commandquerylatest:the closest events from the startTime moving backward with time, and the events are sorted by decreasing of time. previous:moving forward with time of previous listNumber items, and the events are sorted by decreasing of time. next:moving backward with time of next listNumber items, and the events are sorted by decreasing of time.Yesstring
queryIDqueryqueryIDNointeger
listNumberquerylistNumberYesinteger
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_queryEventListResponse
400Bad

X_NightOwl_startEventDownload

Summary

X_NightOwl_startEventDownload

Description

startTime:UNIX timestamp. duration unit:second. X_NightOwl_getEventDownloadCapability => produceMode => dynamic (the event file will be reproduced after receiving command X_NightOwl_startEventDownload)

Parameters

NameLocated inDescriptionRequiredSchema
channelquerychannelYesinteger
startTimequerystartTimeYeslong
durationquerydurationYeslong
resolutionqueryresolutionYesstring
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_startEventDownloadResponse
400Bad

X_NightOwl_getEventDownloadProgress

Summary

X_NightOwl_getEventDownloadProgress

Description

X_NightOwl_getEventDownloadProgress

Parameters

NameLocated inDescriptionRequiredSchema
processIdqueryprocessIdYesstring
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_getEventDownloadProgressResponse
400Bad

X_NightOwl_queryRecordingCalendar

Summary

X_NightOwl_queryRecordingCalendar

Description

This command only provides the query result of events, not continuous recordings

Parameters

NameLocated inDescriptionRequiredSchema
resolutionqueryresolutionYesstring
yearqueryyearYesinteger
monthquerymonthYesinteger
dayquerydayYesinteger
channelsquerychannelsNo[ integer ]
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_queryRecordingCalendarResponse
400Bad

X_NightOwl_getEventDownloadCapability

Summary

X_NightOwl_getEventDownloadCapability

Description

X_NightOwl_getEventDownloadCapability

Responses
CodeDescriptionSchema
200successful operationX_NightOwl_getEventDownloadCapabilityResponse
400Bad

X_NightOwl_startEventDownloadwithURL

Summary

X_NightOwl_startEventDownloadwithURL

Description

X_NightOwl_getEventDownloadCapability => produceMode => static (the event file has already been reproduced)

Parameters

NameLocated inDescriptionRequiredSchema
channelquerychannelYesinteger
startTimequerystartTimeYeslong
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_startEventDownloadwithURLResponse
400Bad

X_NightOwl_queryEventCalendar

Summary

X_NightOwl_queryEventCalendar

Description

This command only provides the query result of events, not continuous recordings

Parameters

NameLocated inDescriptionRequiredSchema
resolutionqueryresolutionYesstring
yearqueryyearYesinteger
monthquerymonthYesinteger
dayquerydayYesinteger
channelsquerychannelsYes[ integer ]
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_queryEventCalendarResponse
400Bad

X_NightOwl_queryRecordingInterval

Summary

X_NightOwl_queryRecordingInterval

Description

This command only provides the query result of continuous recordings, not events

Parameters

NameLocated inDescriptionRequiredSchema
yearqueryyearYesinteger
monthquerymonthYesinteger
dayquerydayYesinteger
channelsquerychannelsYes[ integer ]
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_queryRecordingIntervalResponse
400Bad

X_NightOwl_queryEventListWithSpecificOrder

Summary

X_NightOwl_queryEventListWithSpecificOrder

Description

The query result is always decreasing by time. Use latest command first to get initial listNumber items and get queryID. Use next with queryID to get next listNumber items. Use previous with queryID to get previous listNumber items.Please do not respond the queryID if there is no items at all (No SD card in IPcam).

Parameters

NameLocated inDescriptionRequiredSchema
startTimequerystartTimeYeslong
orderqueryOrder descending:query event in descending order from startTime to earliest event. Order ascending:query event in ascending order from startTime to latest event.Yesstring
eventTypesqueryEvent type (trigger):pir, pixelChange, human, face, vehicle, animal, familiar, unfamiliar, doorbellRing, motionSensor, doorSensor, babyCry, fireAlarm, gunShot, moved, lowBattery.Yes[ string ]
channelsquerychannelsYes[ integer ]
commandquerycommandYesstring
queryIDqueryqueryIDYesinteger
listNumberquerylistNumberYesinteger
Responses
CodeDescriptionSchema
200successful operationX_NightOwl_queryEventListWithSpecificOrderResponse
400Bad