request_video command result format change
The request_video device command result format will be updated on April 3, 2026.
Some devices may send multiple media files in response to a single request_video command. To support this, the response field in the command result will change from a JSON object to a JSON array.
Old format (object):
{
"result": true,
"response": {
"url": "https://media.flespi.io/...",
"uuid": "...",
"mime": "video/mp4",
"name": "video.mp4",
"size": 12345,
"created": 1731390161,
"meta": {
"channel": 1,
"type": "video",
"video_codec": "h264"
}
}
}
New format (array):
{
"result": true,
"response": [
{
"url": "https://media.flespi.io/...",
"uuid": "...",
"mime": "video/mp4",
"name": "video.mp4",
"size": 12345,
"created": 1731390161,
"meta": {
"channel": 1,
"type": "video",
"video_codec": "h264"
}
}
]
}
If your integration relies on the response field of request_video command results, please update your code to handle a JSON array in addition to of a single object.