Publication: history

Publication: history

出版物全历史版本查询。目前仅支持单章节文章。

Request

HTTP request

GET https://www.featapi.com/api/dimzou/publication/{id}/history/

Parameters

Path parameters

keyvalue
id出版物id

Query parameters

支持一般的Pagination参数

Response

200

{
    "pagination": {
        "page_size": 50,
        "total_count": 3,
        "total_pages": 1,
        "current_page": 1,
        "next": null,
        "previous": null
    },
    "data": [
        {
            "id": 2237,
            "bundle_id": 8094,
            "node_id": 8431,
            "draft_version": 1,
            "copy_version": 2,
            "publish_time": "2021-10-13T07:06:26.900230Z"
        },
        {
            "id": 2188,
            "bundle_id": 8034,
            "node_id": 8357,
            "draft_version": 1,
            "copy_version": 1,
            "publish_time": "2021-08-04T08:34:19.135341Z"
        },
        {
            "id": 2187,
            "bundle_id": 8024,
            "node_id": 8342,
            "draft_version": 1,
            "copy_version": 0,
            "publish_time": "2021-08-02T02:38:55.170340Z"
        }
    ]
}

501

功能未实现。访问多章节文章时会返回此结果。

{
    "message": "History on multi chapter bundle is not supported now.",
    "error": true,
    "code": "not_implemented"
}

发表评论

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

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

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

Captcha Code