Bundle: userCreatedBooks

Bundle: userCreatedBooks

返回指定用户创建的bundle列表。

Request

HTTP request

GET https://www.featapi.com/api/dimzou/bundle/user-created-drafts/

Parameters

  • Query parameters
Parameter nameValueDescription
Required parameters
uidstring用户uid
Optional parameters
pagestringpage number
page_sizestringpage size
statusenumBundle.status
latestbool不传或空:返回所有版本的Bundle,Bundle带有latest_version_bundle_id指示最新版的bundle id
true:返回各状态下的最新版本Bundle,Bundle不带有latest_version_bundle_id
false:返回各状态下的非最新版本BundleBundle不带有latest_version_bundle_id
orderingordering fields升序 create_time, last_modified, publish_time
降序 -create_time, -last_modified, -publish_time
可指定组合排序,使用逗号分隔。
默认排序: -create_time

授权

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

Scopes
dimzou_bundle

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

Request body

无。

Response

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

200 成功返回列表

{
    "data": [
        {
            "template_config": {
                "cover_template": "I",
                "chapter_template": "I" 
            },
            "permission": 0,
            "category": {
                "id": 3,
                "name": "Natural Science",
                "parent_id": 2,
                "kind": "category",
                "slug": "natural-science",
                "approved_at": "2019-07-17T06:29:34.683000Z",
                "created_at": "2019-05-08T06:29:32.115000Z",
                "deleted_at": null 
            },
            "language": "zh-CN",
            "id": 1582,
            "type": 100,
            "status": 0,
            "is_multi_chapter": false,
            "title": "Test translation[zh-CN]",
            "summary": "Test translation translation cover issue",
            "create_time": "2020-03-17T03:48:21.768697Z",
            "last_modified": "2020-03-19T05:57:44.379151Z",
            "publish_version": null,
            "publish_time": null,
            "delete_time": null,
            "user_id": 5215999252276,
            "statistical": {
                "age": [
                    {
                        "title": "26-30",
                        "female": 0,
                        "male": 1,
                        "count": 1,
                        "gte": 26,
                        "lte": 30 
                    }],
                "education": [
                    {
                        "title": "College",
                        "female": 0,
                        "male": 1,
                        "count": 1 
                    }],
                "industry": [
                    {
                        "title": "Home Gardening",
                        "slug": "home-gardening",
                        "female": 0,
                        "male": 1,
                        "count": 1 
                    }],
                "location": [
                    {
                        "title": "Other",
                        "female": 0,
                        "male": 1,
                        "count": 1 
                    }] 
            },
            "viewers_count": 1,
            "cover_image": null,
            "kind": "dimzou_bundle",
            "cover_images": null,
            "apply_scenes": [
            ],
            "sn": "CN200317-0000007",
            "copy_version": 0,
            "draft_version": 1,
            "first_original": null,
            "all_copies": [
            ],
            "nodes": [
            ] 
        }],
    "pagination": {
        "page_size": 2,
        "total_count": 46,
        "total_pages": 23,
        "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