GET GDTV/v3/HXYTV/GetVideoRelatedReses?resID={resID}&num={num}&extraParam={extraParam}
获取与视频资源相关的资源列表(类似推荐),包含传入的这个资源
Request
URI Params
| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| resID |
资源ID |
integer |
Required |
| num |
条数 |
integer |
Required |
| extraParam |
Action协议里的extraparam参数 |
string |
Default value is |
Body Params
None.
Response
APITResultOfIEnumerableOfVideoRelateResTVModel| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| Data | Collection of VideoRelateResTVModel |
None. |
|
| Ret |
返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效 |
integer |
None. |
| ErrCode |
错误代码,因功能而异 |
integer |
None. |
| Msg |
返回信息 |
string |
None. |
| SeqId |
请求序列 |
integer |
None. |
| InfoMsg |
API附加信息 |
string |
None. |
application/json, text/json
Sample:
{
"Data": [
{
"Media": {
"MediaResID": 1,
"Url": "sample string 2",
"Ext": "sample string 3",
"Length": "4",
"Size": "5"
},
"Res": {
"ResID": "1",
"Action": "sample string 2",
"Type": 1,
"AlbumTyp": 0,
"Title": "sample string 3",
"SubTitle": "sample string 4",
"Thumb": {
"Url": "sample string 1",
"OriginalUrl": "sample string 2",
"Width": 3,
"Height": 4
},
"Date": "sample string 5",
"PubDate": "2026-02-04T02:18:49.426Z",
"PubUName": "sample string 7",
"PubDesc": "sample string 8",
"ViewTimes": 9
},
"IsTodayWork": true,
"IsCollected": true,
"CanJoinWork": true,
"JoinedWork": true
},
{
"Media": {
"MediaResID": 1,
"Url": "sample string 2",
"Ext": "sample string 3",
"Length": "4",
"Size": "5"
},
"Res": {
"ResID": "1",
"Action": "sample string 2",
"Type": 1,
"AlbumTyp": 0,
"Title": "sample string 3",
"SubTitle": "sample string 4",
"Thumb": {
"Url": "sample string 1",
"OriginalUrl": "sample string 2",
"Width": 3,
"Height": 4
},
"Date": "sample string 5",
"PubDate": "2026-02-04T02:18:49.426Z",
"PubUName": "sample string 7",
"PubDesc": "sample string 8",
"ViewTimes": 9
},
"IsTodayWork": true,
"IsCollected": true,
"CanJoinWork": true,
"JoinedWork": true
}
],
"Ret": 1,
"ErrCode": 2,
"Msg": "sample string 3",
"SeqId": 4,
"InfoMsg": "sample string 5"
}