GET api/Device/Video/CreateUrl?videoid={videoid}

为了防止敏感信息出服务器,特设置这个方法,用于给客户端生成查看视频的URL。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
videoid

视频设备的ID。

integer

Required

Body Parameters

None.

Response Information

Resource Description

为了防止敏感信息出服务器,特设置这个方法,用于给客户端生成查看视频的URL。

CommonOperationResultWithTagOfString
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": "sample string 3"
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag>sample string 3</tag>
</CommonOperationResultWithTagOfstring>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.