Feed: mostCommented

Feed: mostCommented

返回最多评论的出版物列表。

Request

HTTP request

GET https://www.featapi.com/api/dimzou/feed/most-commented/

Parameters

  • Query parameters
Parameter nameValueDescription
Optional parameters
pagestringpage number
page_sizestringpage size

授权

此请求需要具有以下所有范围的授权:

Scopes

有关更多信息,请参阅认证和授权页面。

Request body

Response

如果成功,则此方法在响应正文中返回Dimzou.publication资源。

200 返回出版物列表成功

{
    "data": [
        {
            "id": 1503,
            "node_id": 1669,
            "bundle_id": 1580,
            "title": "测试翻译的翻译",
            "summary": "<p><strong>测试翻译的翻译的封面问题</strong></p>",
            "cover": "http://127.0.0.1:8000/media/5215999252276/dimzou/reword/300/20200317_C0D850F_cover.png",
            "sort": 1,
            "author": {
                "uid": 5215999252276,
                "avatar": "http://127.0.0.1:8000/media/5215999252276/avatar/5215999252276.jpg",
                "expertise": "蹦极",
                "firstname": "小红",
                "lastname": "甘",
                "username": "小红 甘",
                "timezone": "Europe/Berlin",
                "timezone_utc_offset": "+01:00",
                "online": false,
                "location": "Frankfurt am Main",
                "avatars": {
                    "path": "http://127.0.0.1:8000/media/5215999252276/avatar/5215999252276.jpg",
                    "sizes": {
                        "sm": {
                            "width": 32,
                            "height": 32,
                            "path": "http://127.0.0.1:8000/media/sm/5215999252276/avatar/5215999252276_32x32.JPEG" 
                        },
                        "md": {
                            "width": 64,
                            "height": 64,
                            "path": "http://127.0.0.1:8000/media/md/5215999252276/avatar/5215999252276_64x64.JPEG" 
                        },
                        "lg": {
                            "width": 300,
                            "height": 300,
                            "path": "http://127.0.0.1:8000/media/lg/5215999252276/avatar/5215999252276_300x300.JPEG" 
                        } 
                    } 
                } 
            },
            "created_at": "2020-03-17T03:44:19.674216Z",
            "updated_at": "2020-03-17T03:44:19.674628Z",
            "locale": "zh-CN",
            "covers": {
                "path": "http://127.0.0.1:8000/media/5215999252276/dimzou/reword/300/20200317_C0D850F_cover.png",
                "sizes": {
                    "cover_sm": {
                        "width": 300,
                        "height": 300,
                        "path": "http://127.0.0.1:8000/media/cover_sm/5215999252276/dimzou/reword/300/20200317_C0D850F_cover_300x300.JPEG" 
                    } 
                } 
            } 
        }],
    "pagination": {
        "page_size": 10,
        "total_count": 480,
        "total_pages": 48,
        "current_page": 1,
        "next": 2,
        "previous": null 
    } 
}

404 Not found

示例返回数据可参考 API Common – Resource Not Found

发表评论

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

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

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

Captcha Code