分离多章节书中其中一个章节作为一本新的单章节书。
Request
HTTP request
POST https://www.featapi.com/api/dimzou/bundle/{id}/separate-chapter/
Parameters
- Path parameters
Parameter name | Value | Description |
---|---|---|
id | string | 多章节书的bundle id |
授权
此请求需要具有以下所有范围的授权:
Scopes |
---|
dimzou_bundle |
有关更多信息,请参阅认证和授权页面。
Request body
Property name | Value | Description | Notes |
---|---|---|---|
Required Properties | |||
node_id | integer | 要分离的章节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