跳到主要内容
版本:latest

get_videos

列出指定路径下的视频文件。

  • 路由POST /files
  • actionget_videos

输入参数

参数名称必选类型描述
actionString固定值 get_videos
pathString目录路径

输出参数

参数名称类型描述
-Array视频文件名列表,无视频时为空数组 []

示例

请求

POST /files HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded

action=get_videos&path=/www/wwwroot

响应

[]