Bundle: createCopy

Bundle: createCopy

创建该本书的副本。

Request

HTTP request

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

Parameters

  • Path parameters
Parameter nameValueDescription
idstring正本的bundle id

授权

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

Scopes
dimzou_bundle

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

Request body

Response

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

200 创建副本成功

{
    "data": {
        "template_config": {
            "cover_template": "I",
            "chapter_template": "I" 
        },
        "permission": 0,
        "category": null,
        "language": "zh-CN",
        "id": 7738,
        "type": 0,
        "status": 0,
        "is_multi_chapter": false,
        "title": "Feat助手(Party)需求",
        "summary": "Feat助手(Party)需求",
        "create_time": "2020-03-23T08:50:24.860204Z",
        "last_modified": "2020-03-23T08:50:25.051539Z",
        "publish_version": null,
        "publish_time": null,
        "delete_time": null,
        "user_id": 3616060330793,
        "statistical": null,
        "viewers_count": null,
        "cover_image": null,
        "kind": "dimzou_bundle",
        "cover_images": null,
        "apply_scenes": [
            "测试"],
        "sn": "CN200323-0000001",
        "user": {
            "uid": 3616060330793,
            "avatar": "https://10.0.10.117:8003/media/3616060330793/avatar/blob_uB5ZFNh",
            "expertise": "弹钢琴",
            "firstname": "zetong",
            "lastname": "lin",
            "username": "zetong lin",
            "timezone": "Asia/Shanghai",
            "timezone_utc_offset": "+08:00",
            "online": true,
            "location": "CHN",
            "avatars": {
                "path": "https://10.0.10.117:8003/media/3616060330793/avatar/blob_uB5ZFNh",
                "sizes": {
                    "sm": {
                        "width": 32,
                        "height": 32,
                        "path": "https://10.0.10.117:8003/media/sm/3616060330793/avatar/blob_uB5ZFNh_32x32.JPEG" 
                    },
                    "md": {
                        "width": 64,
                        "height": 64,
                        "path": "https://10.0.10.117:8003/media/md/3616060330793/avatar/blob_uB5ZFNh_64x64.JPEG" 
                    },
                    "lg": {
                        "width": 300,
                        "height": 300,
                        "path": "https://10.0.10.117:8003/media/lg/3616060330793/avatar/blob_uB5ZFNh_300x300.JPEG" 
                    } 
                } 
            } 
        } 
    } 
}

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