播放历史
获取用户播放历史
接口说明
此接口用于获取用户的播放历史(作品+剧集)。只能获取到用户已关注作品的播放历史。
权限需求
此接口需要登录状态才可以调用。
开始结束日期参数说明
开始日期不能晚于结束日期; 开始日期与结束日期不能相差大于一年(最多查询一年的数据); 当没有提供toDate参数时,默认将使用当前日期; 当没有提供fromDate参数时,默认将使用toDate减去三个月的日期。
get/api/v2/playhistory
Request
- Base URL: https://api.dandanplay.net
- URL: https://api.dandanplay.net/api/v2/playhistory
- Auth: one of:
- API key in header X-AppId
- API key in header X-AppSecret
- HTTP bearer
Query parameters
fromDatestring date-time nullable
开始日期
toDatestring date-time nullable
结束日期
Response
返回用户播放历史
Changes
No recorded changes to this operation across all 1 revision of this API.