POST api/LiveBroadcostVideo/ImportVideos
批量导入视频
Request Information
URI Parameters
None.
Body Parameters
Collection of LiveBroadcostVideoResultDto| Name | Description | Type | Additional information |
|---|---|---|---|
| VideoId |
视频id |
integer |
None. |
| EntityId |
关联信息id |
integer |
None. |
| EntityTitle |
关联信息标题 |
string |
None. |
| EntityType |
导入类别 |
LiveBroadcostScene |
None. |
| UserId | integer |
None. |
|
| X | decimal number |
None. |
|
| Y | decimal number |
None. |
|
| CoverFilePath |
视频封面 |
string |
None. |
| VideoFilePath |
视频地址 |
string |
None. |
| VideoDuration |
视频时长 |
decimal number |
None. |
| Width |
视频宽度 |
integer |
None. |
| High |
视频高度 |
integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<ArrayOfLiveBroadcostVideoResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.LiveBroadcost">
<LiveBroadcostVideoResultDto>
<CoverFilePath>sample string 7</CoverFilePath>
<EntityId>2</EntityId>
<EntityTitle>sample string 3</EntityTitle>
<EntityType>Custom</EntityType>
<High>11</High>
<UserId>4</UserId>
<VideoDuration>9</VideoDuration>
<VideoFilePath>sample string 8</VideoFilePath>
<VideoId>1</VideoId>
<Width>10</Width>
<X>5.1</X>
<Y>6.1</Y>
</LiveBroadcostVideoResultDto>
<LiveBroadcostVideoResultDto>
<CoverFilePath>sample string 7</CoverFilePath>
<EntityId>2</EntityId>
<EntityTitle>sample string 3</EntityTitle>
<EntityType>Custom</EntityType>
<High>11</High>
<UserId>4</UserId>
<VideoDuration>9</VideoDuration>
<VideoFilePath>sample string 8</VideoFilePath>
<VideoId>1</VideoId>
<Width>10</Width>
<X>5.1</X>
<Y>6.1</Y>
</LiveBroadcostVideoResultDto>
</ArrayOfLiveBroadcostVideoResultDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
批量导入视频
ObjectNone.
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />