Bundle: mergeBundle

Bundle: mergeBundle

合并一本单章节的书到一本多章节书中(单章节书作为一个其中一个新章节)。

Request

HTTP request

POST https://www.featapi.com/api/dimzou/bundle/{id}/merge-bundle/

Parameters

  • Path parameters
Parameter nameValueDescription
idstring多章节书bundle id

授权

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

Scopes
dimzou_bundle

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

Request body

Property nameValueDescriptionNotes
Required Properties
merged_bundle_idinteger被合并的单章节书bundle id

Response

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

200 合并成功,返回合并后的多章节书数据

{
    "data": {
        "template_config": {
            "cover_template": "I",
            "chapter_template": "I" 
        },
        "permission": 0,
        "category": null,
        "language": "zh-CN",
        "id": 110652,
        "type": 0,
        "status": 0,
        "is_multi_chapter": false,
        "title": "Dimzou 新API文档",
        "summary": "Dimzou模块 新API文档,主要对新修改的模型/接口作一下说明",
        "create_time": "2020-03-10T07:30:33.376886Z",
        "last_modified": "2020-03-20T08:09:40.978843Z",
        "publish_version": null,
        "publish_time": null,
        "delete_time": null,
        "user_id": 4416382589854,
        "statistical": {
            "age": [
                {
                    "title": "16-18",
                    "female": 1,
                    "male": 1,
                    "count": 2,
                    "gte": 16,
                    "lte": 18 
                }],
            "education": [
                {
                    "title": "College",
                    "female": 2,
                    "male": 1,
                    "count": 3 
                }],
            "industry": [
                {
                    "title": "Other",
                    "slug": null,
                    "female": 1,
                    "male": 1,
                    "count": 2 
                }],
            "location": [
                {
                    "title": "Other",
                    "female": 3,
                    "male": 4,
                    "count": 7 
                }] 
        },
        "viewers_count": 7,
        "cover_image": null,
        "kind": "dimzou_bundle",
        "cover_images": null,
        "apply_scenes": [
        ],
        "sn": "CN200310-0000037" 
    } 
}

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