GET api/LiveBroadcostVideo/GetNearVideoByNewid?Id={Id}&Type={Type}&UserId={UserId}&IsRestart={IsRestart}&PageSize={PageSize}&Search={Search}&PageID={PageID}

滑动分页接口,当前视频的后面视频--前台

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

当前视频id

integer

None.

Type

滑动类别

VideoSlideType

None.

UserId

当前登录会员id(前端无需传递)如果是在关注列,前端需要判断是否登录

integer

None.

IsRestart

是否重新刷新,true 表示从id=0开始

boolean

None.

PageSize

每页条数

integer

None.

Search

关键字

string

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Body Parameters

None.

Response Information

Resource Description

滑动分页接口,当前视频的后面视频--前台

PagedOfVideoDto
NameDescriptionTypeAdditional information
Data

Collection of VideoDto

None.

TotalRecord

integer

None.

TotalPage

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<PagedOfVideoDtoO_SWzsTtX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Infrastructure.Pages">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.LiveBroadcost.Service.Dto.Video">
    <d2p1:VideoDto>
      <d2p1:Area>sample string 14</d2p1:Area>
      <d2p1:CategoryId>5</d2p1:CategoryId>
      <d2p1:CommentNums>18</d2p1:CommentNums>
      <d2p1:CoverFilePath>sample string 2</d2p1:CoverFilePath>
      <d2p1:CreateTime>2024-05-10T01:02:38.9754712+08:00</d2p1:CreateTime>
      <d2p1:CustomTitle>sample string 8</d2p1:CustomTitle>
      <d2p1:CustomUrl>sample string 9</d2p1:CustomUrl>
      <d2p1:EntityFilePath>sample string 10</d2p1:EntityFilePath>
      <d2p1:EntityId>6</d2p1:EntityId>
      <d2p1:EntityTitle>sample string 7</d2p1:EntityTitle>
      <d2p1:EntityType>Custom</d2p1:EntityType>
      <d2p1:High>33</d2p1:High>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsCollect>true</d2p1:IsCollect>
      <d2p1:IsFocus>true</d2p1:IsFocus>
      <d2p1:IsHot>true</d2p1:IsHot>
      <d2p1:IsKill>TobeAgree</d2p1:IsKill>
      <d2p1:IsOver>true</d2p1:IsOver>
      <d2p1:IsPay>true</d2p1:IsPay>
      <d2p1:IsRedPacket>true</d2p1:IsRedPacket>
      <d2p1:IsRevert>true</d2p1:IsRevert>
      <d2p1:IsReward>true</d2p1:IsReward>
      <d2p1:IsShow>true</d2p1:IsShow>
      <d2p1:IsShowCreateTime>true</d2p1:IsShowCreateTime>
      <d2p1:MallCommodityFilePath>sample string 37</d2p1:MallCommodityFilePath>
      <d2p1:MallCommodityId>28</d2p1:MallCommodityId>
      <d2p1:MallCommodityName>sample string 36</d2p1:MallCommodityName>
      <d2p1:RedPacketId>24</d2p1:RedPacketId>
      <d2p1:RelationTitle>sample string 19</d2p1:RelationTitle>
      <d2p1:RelationUrl>sample string 20</d2p1:RelationUrl>
      <d2p1:UserHeadPic>sample string 22</d2p1:UserHeadPic>
      <d2p1:UserId>15</d2p1:UserId>
      <d2p1:UserName>sample string 21</d2p1:UserName>
      <d2p1:VideoCollectNum>23</d2p1:VideoCollectNum>
      <d2p1:VideoDesc>sample string 4</d2p1:VideoDesc>
      <d2p1:VideoDuration>11</d2p1:VideoDuration>
      <d2p1:VideoFilePath>sample string 3</d2p1:VideoFilePath>
      <d2p1:Width>32</d2p1:Width>
      <d2p1:X>16.1</d2p1:X>
      <d2p1:Y>17.1</d2p1:Y>
    </d2p1:VideoDto>
    <d2p1:VideoDto>
      <d2p1:Area>sample string 14</d2p1:Area>
      <d2p1:CategoryId>5</d2p1:CategoryId>
      <d2p1:CommentNums>18</d2p1:CommentNums>
      <d2p1:CoverFilePath>sample string 2</d2p1:CoverFilePath>
      <d2p1:CreateTime>2024-05-10T01:02:38.9754712+08:00</d2p1:CreateTime>
      <d2p1:CustomTitle>sample string 8</d2p1:CustomTitle>
      <d2p1:CustomUrl>sample string 9</d2p1:CustomUrl>
      <d2p1:EntityFilePath>sample string 10</d2p1:EntityFilePath>
      <d2p1:EntityId>6</d2p1:EntityId>
      <d2p1:EntityTitle>sample string 7</d2p1:EntityTitle>
      <d2p1:EntityType>Custom</d2p1:EntityType>
      <d2p1:High>33</d2p1:High>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsCollect>true</d2p1:IsCollect>
      <d2p1:IsFocus>true</d2p1:IsFocus>
      <d2p1:IsHot>true</d2p1:IsHot>
      <d2p1:IsKill>TobeAgree</d2p1:IsKill>
      <d2p1:IsOver>true</d2p1:IsOver>
      <d2p1:IsPay>true</d2p1:IsPay>
      <d2p1:IsRedPacket>true</d2p1:IsRedPacket>
      <d2p1:IsRevert>true</d2p1:IsRevert>
      <d2p1:IsReward>true</d2p1:IsReward>
      <d2p1:IsShow>true</d2p1:IsShow>
      <d2p1:IsShowCreateTime>true</d2p1:IsShowCreateTime>
      <d2p1:MallCommodityFilePath>sample string 37</d2p1:MallCommodityFilePath>
      <d2p1:MallCommodityId>28</d2p1:MallCommodityId>
      <d2p1:MallCommodityName>sample string 36</d2p1:MallCommodityName>
      <d2p1:RedPacketId>24</d2p1:RedPacketId>
      <d2p1:RelationTitle>sample string 19</d2p1:RelationTitle>
      <d2p1:RelationUrl>sample string 20</d2p1:RelationUrl>
      <d2p1:UserHeadPic>sample string 22</d2p1:UserHeadPic>
      <d2p1:UserId>15</d2p1:UserId>
      <d2p1:UserName>sample string 21</d2p1:UserName>
      <d2p1:VideoCollectNum>23</d2p1:VideoCollectNum>
      <d2p1:VideoDesc>sample string 4</d2p1:VideoDesc>
      <d2p1:VideoDuration>11</d2p1:VideoDuration>
      <d2p1:VideoFilePath>sample string 3</d2p1:VideoFilePath>
      <d2p1:Width>32</d2p1:Width>
      <d2p1:X>16.1</d2p1:X>
      <d2p1:Y>17.1</d2p1:Y>
    </d2p1:VideoDto>
  </Data>
  <TotalPage>2</TotalPage>
  <TotalRecord>1</TotalRecord>
</PagedOfVideoDtoO_SWzsTtX>