Subscription: subscription-list

Subscription: subscription-list

查询订阅列表。

Request

HTTP request

GET https://www.featapi.com/api/subscription/user-subscription/

Parameters

KeyTypeRequired?DescriptionNotes
entity_typeenumNo过滤结果Subscription.EntityType
subscription_typeenumNo过滤结果Subscription.Type
uid_onlyNo非空时,返回结果的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
        }
    ]
}

发表评论

您的电子邮箱地址不会被公开。

您可以使用以下 HTML标签和属性:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Captcha Code