Home / Docs Center / Device API Reference / Recording DaysQuery

Recording DaysQuery

Device API Reference · Recording & Playback

Project: Device Interface Document (New Version) | page_id: 1608

[TOC]

Brief Description
  • You can query which days have recordings. The returned dates are UTC time, i.e. Beijing time - 8 hours
Request URL
  • /xsw/api/record/listDays
Request Method
  • POST
Parameters
Parameter Name Required Type Description
channel Yes int Channel index, starting from 0
Return Example
  {
  "days": [20250513, 20250514, 20250519, 20250520, 20250521, 20250522, 20250523, 20250524, 20250525, 20250526, 20250527, 20250528, 20250529, 20250530, 20250531, 20250601, 20250602, 20250603, 20250604, 20250605, 20250606, 20250607, 20250609, 20250610, 20250611, 20250612, 20250613, 20250614, 20250617, 20250618, 20250619, 20250620, 20250621, 20250622, 20250623, 20250624, 20250625, 20250626, 20250627, 20250628, 20250629, 20250630, 20250701, 20250702, 20250703, 20250704, 20250705, 20250707, 20250708, 20250709, 20251118, 20251119, 20251120, 20251121, 20251122, 20251123, 20251124]
}
Return Parameter Description
Parameter Name Type Description
days [int] Date array, int values
Remarks
  • The dates are UTC time
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.