GET GDTV/v3/TVWeb/GetResInfo?resID={resID}
获取资源详情 -- [教育咨讯]
Request
URI Params
字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
resID |
资源编号 |
integer |
Required |
Body Params
None.
Response
APITResultOfResContentWebModel字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
Data | ResContentWebModel |
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": { "Content": "sample string 1", "RichTextContent": { "ResRichTextID": "1", "ResID": "2", "SourceUrl": "sample string 3" }, "PicturesContent": [ { "ResPicturesID": "1", "ResID": "2", "Thumb": { "Url": "sample string 1", "OriginalUrl": "sample string 2", "Width": 3, "Height": 4 }, "Title": "sample string 3", "SubTitle": "sample string 4", "SNO": 5 }, { "ResPicturesID": "1", "ResID": "2", "Thumb": { "Url": "sample string 1", "OriginalUrl": "sample string 2", "Width": 3, "Height": 4 }, "Title": "sample string 3", "SubTitle": "sample string 4", "SNO": 5 } ], "MediaContent": { "ResMediaID": "1", "ResID": "2", "Type": 1, "Url": "sample string 3", "MediaResID": "4", "Ext": "sample string 5", "Length": "6", "Size": "7", "PlayUrl": "sample string 8" }, "LinkContent": { "ResLinkID": "1", "ResID": "2", "Url": "sample string 3" }, "ResID": "2", "Type": 1, "Title": "sample string 3", "SubTitle": "sample string 4", "Thumbs": [ { "Url": "sample string 1", "OriginalUrl": "sample string 2", "Width": 3, "Height": 4 }, { "Url": "sample string 1", "OriginalUrl": "sample string 2", "Width": 3, "Height": 4 } ], "Date": "2025-05-02", "AlbumType": 0, "AlbumTypeDesc": "单辑", "UID": 5, "UName": "sample string 6", "ViewCnt": 7 }, "Ret": 1, "ErrCode": 2, "Msg": "sample string 3", "SeqId": 4, "InfoMsg": "sample string 5" }