POST api/LiveBroadcostVideo/AddorCancelVideoCollect
收藏视频 如果是已收藏则取消收藏
Request Information
URI Parameters
None.
Body Parameters
mh163k_LiveBroadcost_CollectVideoName | Description | Type | Additional information |
---|---|---|---|
Id |
自增id |
integer |
None. |
UserId |
自身用户 (前端无需传) |
integer |
None. |
State |
半持久码 (前端无需传) |
integer |
None. |
VideoId |
收藏的视频 |
integer |
None. |
CreateTime |
关注时间 |
date |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<mh163k_LiveBroadcost_CollectVideo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LiveBroadcost.Service.Model"> <CreateTime>2024-05-10T03:39:34.6001577+08:00</CreateTime> <Id>1</Id> <State>3</State> <UserId>2</UserId> <VideoId>4</VideoId> </mh163k_LiveBroadcost_CollectVideo>
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/" />