用于获取用户的点赞内容列表。
该接口返回的点赞数为火山引擎侧总的点赞数,若客户只需要统计自身APP内的点赞数,需要自行实现点赞相关功能。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DiggList | 要执行的操作,取值:DiggList。 |
Version | String | 是 | 2021-01-01 | API的版本,取值:2021-01-01。 |
Partner | String | 是 | xxx_default_content | 渠道号。 |
AccessToken | String | 是 | AT6zTZuXzfxxxQamerBKVv8mp94LR2ARdNJBp2BT86GrLpa3brqLmscGCUipuJNh2piKTT12 | 用户身份标识。 |
Offset | Integer | 否 | 0 | 偏移量,默认:0。 |
Limit | Integer | 否 | 10 | 返回条数,默认:10。 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
HasMore | Boolean | true | 是否还有更多内容。 |
Data | Array of ArticleInfo | 点赞内容列表,默认按照用户点赞时间倒序。 |
GET /?Action=DiggList&Version=2021-01-01&Partner=xxx_default_content&AccessToken=AT6zTZuXzfxxxQamerBKVv8mp94LR2ARdNJBp2BT86GrLpa3brqLmscGCUipuJNh2piKTT12 HTTP/1.1 Host: https://mercury.volcengineapi.com/?Action=DiggList&Version=2021-01-01 X-Date: 20240522T095511Z Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240522/cn-north-1/content/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
{ "ResponseMetadata": { "RequestId": "20240522175520190179082159BC090D", "Action": "DiggList", "Version": "2021-01-01", "Service": "content", "Region": "cn-north-1" }, "Result": { "HasMore": true, "Data": [ { "Abstract": "-", "ArticleUrl": "https://open.toutiao.com/a7355139666561106473/?label=multi_article&utm_source=xxx_default_content&utm_campaign=open&utm_medium=webview", "Timestamp": 1716368671, "GroupId": 7355139666561107000, "Title": "标题", "DetailSource": "-", "PublishTime": 1712501902, "ShareUrl": "https://open.toutiao.com/a7355139666561106473/?label=multi_article&utm_source=xxx_default_content&utm_campaign=open&utm_medium=webview", "HasVideo": true, "WatchCount": 1000, "Duration": 2000, "DiggCount": 1000, "CommentCount": 1000, "LargeImageList": [ { "Url": "https://p6-open-sign.byteimg.com/tos-cn-i-pk90l89vgd/1c6a1776374c4486a46a5a5cbb145ffa~tplv-tt-cut:3216:1810.jpeg?scene=content&x-expires=1747815830&x-signature=ElLytAjeIfSe2O2WkFMqOBY2VUw%3D", "Width": 3216, "Height": 1810 } ], "MiddleImage": [ { "Url": "https://p6-open-sign.byteimg.com/tos-cn-i-pk90l89vgd/1c6a1776374c4486a46a5a5cbb145ffa~tplv-tt-cut:3216:1810.jpeg?scene=content&x-expires=1747815830&x-signature=ElLytAjeIfSe2O2WkFMqOBY2VUw%3D", "Width": 3216, "Height": 1810 } ], "ImageList": [ { "Url": "https://p6-open-sign.byteimg.com/tos-cn-i-pk90l89vgd/1c6a1776374c4486a46a5a5cbb145ffa~tplv-tt-cut:3216:1810.jpeg?scene=content&x-expires=1747815830&x-signature=ElLytAjeIfSe2O2WkFMqOBY2VUw%3D", "Width": 3216, "Height": 1810 } ], "UserInfo": { "AvatarUrl": "-", "Description": "-", "HomePage": "-", "Name": "-", "Follow": true, "FollowerCount": 0, "UserId": "-", "UserVerified": true, "VerifiedContent": "-" } } ] } }
您可访问公共错误码,获取更多错误码信息。