English | Korean | Chinese | Japanese

Chapter 3. Archived Video Information APIs

Request Archived Video File List

 Request
http://<address>:<port>/reqFileList

 Response
[
  {"id":29516019, "ch":"2", "title":"ChannelTitle#2", "desc":"",
   "time":"2026-03-23T02:59:48+01:00", "timestamp":1774231188, "isDST":false,
   "duration":899, "priority":0, "filesize":2639516672 },
  {"id":29516020, "ch":"4", "title":"ChannelTitle#04", "desc":"",
   "time":"2026-03-23T02:59:48+01:00", "timestamp":1774231188, "isDST":false,
   "duration":39, "priority":3, "filesize":7283712},
   ...
]

· id: Unique file ID.

· ch: Channel number.

· title: Channel title.

· time: Timestamp of the start time for the archived video file, in ISO 8601 format.

· timestamp: Timestamp of the start time, as a Unix timestamp.

· isDST: Indicates whether the time is in DST.

· duration: Duration of the video segment in seconds.

· priority: User-set priority (0–5).

· filesize: File size of the archived video file.

 

Request Archived Video File Recording Time

 Request
http://<address>:<port>/reqFileTime?id=<file id>

· id: Unique file ID.

 Response
{
  "recordings":[[43203,22]],
  "startTimestamp": 1772463600,
  "totalSeconds": 86400,
  "dstInfo": {
    "biasMinStart": 0,
    "biasMinEnd": 0,
    "biasDstMinStart": 0,
    "biasDstMinEnd": 0,
    "changeTimeSec": 0
  }
}

· recordings: An array of a recordings for the archived video file.

· Each recording is represented as a pair [seconds, duration]:

· seconds: Video start time in seconds since startTimestamp.

· duration: Duration of the video segment in seconds.

· startTimestamp: Unix timestamp of the start time for the recordings.

· totalSeconds: Total number of seconds in the day. On days when Daylight Saving Time (DST) changes, this value can vary.

· dstInfo: Provides information about Daylight Saving Time (DST) adjustments for that day.

· biasMinStart / biasMinEnd: Time difference in minutes at the start and end of the day, respectively.

· biasDstMinStart / biasDstMinEnd: Time difference in minutes at the start and end of the DST period, respectively.

· changeTimeSec: Exact time of the change, in seconds from the start of the day.