查询订阅列表。
Request
HTTP request
GET https://www.featapi.com/api/subscription/user-subscription/
Parameters
Key | Type | Required? | Description | Notes |
entity_type | enum | No | 过滤结果 | Subscription.EntityType |
subscription_type | enum | No | 过滤结果 | Subscription.Type |
uid_only | ? | No | 非空时,返回结果的user和followed_user都是uid | 目前默认情况下user和followed_user都返回simple user info。 后续版本将默认返回uid。最终将只返回uid,不再返回simple user info。 |
支持Pagination相关参数。
Response
200 Pagination Response
返回订阅列表Subscription.UserSubscription
{
"pagination": {
"page_size": 50,
"total_count": 1,
"total_pages": 1,
"current_page": 1,
"next": null,
"previous": null
},
"data": [
{
"id": 47,
"user": 7815769374283,
"followed_user": 3120595892220,
"followed_category": null,
"subscription_type": "follow_user",
"created_at": "2022-01-10T08:52:58.425956Z",
"updated_at": "2022-01-10T08:52:58.425387Z",
"entity_type": 100
}
]
}