You need to enable JavaScript to run this app.
导航
查询通道巡航路径V3
最近更新时间:2025.02.14 16:29:36首次发布时间:2025.02.14 16:29:36

查询指定通道巡航路径的详细信息。

请求说明

  • 请求方式:GET
  • 请求地址:https://open.volcengineapi.com?Action=GetCruiseTrack&Version=2023-10-01

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

Query

参数类型是否必选示例值描述
ActionStringGetCruiseTrack接口名称。当前 API 的名称为 GetCruiseTrack
VersionString2023-10-01接口版本。当前 API 的版本为 2023-10-01
StreamIDString23355851-2d31-461c-9e44-968a0afb72f2视频流 ID,可通过调用 ListStreams 接口获取
TrackIDFloat4巡航组编号,取值范围:[1, 255]

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数类型示例值描述
DeviceNSIDString3402001599118xxxxxx设备国标 ID
ChannelIDString34020000001310xxxxxx设备通道 ID
TrackIDFloat4巡航组编号
TrackListObject of TrackList-巡航路径预置位列表,参考以下 TrackList 结构说明
SpeedFloat200巡航速度
StaySecondsFloat2预置位停留时间,单位:秒

TrackList

参数类型示例值描述
PresetIDFloat1预置位编号
PresetNameString预置位1预置位名称

请求示例

GET https://open.volcengineapi.com?Action=GetCruiseTrack&Version=2023-10-01&StreamID=23355851-2d31-461c-9e44-968a0afb72f2&TrackID=4

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2022072914223101017424420209EE53C9",
        "Action": "GetCruiseTrack",
        "Version": "2023-10-01",
        "Service": "aiotvideo",
        "Region": "cn-north-1"
    },
    "Result": {
        "DeviceNSID": "3402001599118xxxxxx",
        "ChannelID": "34020000001310xxxxxx",
        "TrackID": 4,
        "TrackList": [
            {
                "PresetID": 1,
                "PresetName": "预置位1"
            }
        ],
        "StaySeconds": 2,
        "Speed": 200
    }
}

错误码

您可访问公共错误码,获取更多错误码信息。