跳到主要内容
版本:4.0

获取巡检抓拍图片

GET /vid_inspect/img

本接口用于获取某一个巡检抓拍任务的特定通道的抓拍图片或缩略图文件。

请求

GET https://wx.gratour.info:7200/v1/vid_inspect/img?taskId=AbctuB9sSJe8bbBzv-yr9g&chan=1
Content-Type: application/json
X-Auth-Token: HrWwReOAQ9WdLnJQ1JYivA
GET https://wx.gratour.info:7200/v1/vid_inspect/img?taskId=AbctuB9sSJe8bbBzv-yr9g&chan=1&thumb=true
Content-Type: application/json
X-Auth-Token: HrWwReOAQ9WdLnJQ1JYivA

请求参数

参数数据类型必要说明
taskIdstringY任务ID
chanintY通道号
thumbboolean是否取缩略图,未指定此参数时,视为 false

应答

返回图片内容。如果图片未生成或截图失败,返回 404 HTTP 状态码