返回用户被邀请过的bundle列表。
Request
HTTP request
GET https://www.featapi.com/api/dimzou/user-bundle-history/invited-drafts/
Parameters
- Query parameters
Parameter name | Value | Description |
---|---|---|
Optional parameters | ||
page | string | page number |
page_size | string | page size |
授权
此请求需要具有以下所有范围的授权:
Scopes |
---|
有关更多信息,请参阅认证和授权页面。
Request body
无
Response
如果成功,则此方法在响应正文中返回 Dimzou.bundle 资源。
200 返回bundle列表成功
{
"data": [
{
"template_config": {
"cover_template": "I",
"chapter_template": "I"
},
"permission": 0,
"id": 1494,
"type": 0,
"status": 200,
"is_multi_chapter": false,
"category": {
"id": 138,
"name": "Coffee",
"parent_id": 133,
"kind": "category",
"slug": "coffee",
"approved_at": "2019-07-17T06:29:34.683000Z",
"created_at": "2019-05-08T06:29:33.197000Z",
"deleted_at": null
},
"title": "Make black Coffee",
"summary": "Brewing a perfect cup of black coffee is an art. Although drinking it without sugar, milk or cream can be an acquired taste; it allows the brewer to focus on the full-bodied flavor of freshly roasted coffee beans. Black coffee is generally made in a pot, although modern coffee connoisseurs may insist on mastering the pour-over method for the best possible flavor.",
"create_time": "2018-08-04T02:06:26Z",
"last_modified": "2019-08-13T01:10:41.491496Z",
"publish_version": null,
"publish_time": "2018-09-02T22:55:47Z",
"delete_time": null,
"language": "en",
"user_id": 5316668572181,
"cover_image": "http://127.0.0.1:8000/media/default_avatar.jpg",
"kind": "dimzou_bundle",
"cover_images": {
"path": "http://127.0.0.1:8000/media/default_avatar.jpg",
"sizes": {
"cover_sm": {
"width": 300,
"height": 300,
"path": "http://127.0.0.1:8000/media/cover_sm/default_avatar_300x300.JPEG"
}
}
},
"apply_scenes": [
],
"sn": "CN180804-0000008",
"user": {
"uid": 5316668572181,
"avatar": "http://127.0.0.1:8000/media/5316668572181/avatar/5316668572181.jpg",
"expertise": null,
"firstname": "雷",
"lastname": "李",
"username": "雷 李",
"timezone": null,
"timezone_utc_offset": null,
"is_online": false,
"location": null,
"avatars": {
"path": "http://127.0.0.1:8000/media/5316668572181/avatar/5316668572181.jpg",
"sizes": {
"sm": {
"width": 32,
"height": 32,
"path": "http://127.0.0.1:8000/media/sm/5316668572181/avatar/5316668572181_32x32.JPEG"
},
"md": {
"width": 64,
"height": 64,
"path": "http://127.0.0.1:8000/media/md/5316668572181/avatar/5316668572181_64x64.JPEG"
},
"lg": {
"width": 300,
"height": 300,
"path": "http://127.0.0.1:8000/media/lg/5316668572181/avatar/5316668572181_300x300.JPEG"
}
}
}
},
"copy_version": 0,
"draft_version": 1,
"first_original": null
} ],
"pagination": {
"page_size": 1,
"total_count": 28,
"total_pages": 28,
"current_page": 1,
"next": 2,
"previous": null
}
}
404 Not found
示例返回数据可参考 API Common – Resource Not Found