简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-06-11

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
novel_id int 小说id
page int 页码
pagesize int 条数
scheduled_release int 1=获取章节草稿列表,2=获取已发布列表

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": {
        "list": [
            {
                "chapter_id": 6,
                "chapter_name": "第6章 识字",
                "word_num": "2279",
                "read_num": "0",
                "audit_status": 1,
                "channel": "free",
                "create_at": "2020-03-23 13:38:07",
                "update_at": "2020-06-15 19:40:54",
                "scheduled_release": "2020-06-15 19:41:00"
            }
        ],
        "page": 1,
        "pagesize": "1",
        "total": 6,
        "novel": {
            "novel_id": 1,
            "studio_id": 1,
            "novel_name": "丑妃倾天下",
            "novel_tig": "古言,虐恋,后宫",
            "vice_title": "丑妃倾天下",
            "cover": "http://awz.com/uploads/novel/2020-03-23/5e7816081ac05.jpg",
            "describe": "天啊,难道我真的穿越了?还是穿回到了古代? 这是哪个朝代?是我熟悉的历史吗?啊啊啊,好像我历史不是很好哎,怎么办?如果上天再给我重来一次的机会,我肯定好好学习历史。时间流逝,没有人知道未来的发展历程,孙大美女虽然穿越来的,但不可能掌握未来,那么她将用十足的智谋……",
            "channel": "free",
            "free_time": 0,
            "cate_id": 6,
            "cate_name": '分类名称',
            "one_cate_name": "一级分类名称",
            "novel_status": 0,
            "grant_status": 0,
            "word_num": "1万",
            "reward_num": "20",
            "flower_num": "20",
            "read_num": "6",
            "collection_num": 0,
            "popularity_num": 0,
            "audit_status": 1,
            "audit_remark": ""
            "signing_status": 1,
        }
    },
    "other": []
}

错误时返回:

data返回参数说明:

参数名 类型 说明
list array 小说章节列表
page int 当前页面
pagesize string 获取条数
total string 总条数
novel object 小说详情

list返回参数说明:

参数名 类型 说明
chapter_id int 小说章节列表
chapter_name string 当前页面
word_num string 字数
read_num string 阅读数
audit_status int 小说章节状态【1=上架,2=审核不通过,3=作者下架【作者可以上架】,4=后台下架【作者不能上架】】
channel string 章节状态【free=免费,其他都为收费】
create_at string 发布时间
update_at string 更新时间
scheduled_release string 定时发布时间

novel返回参数说明:

参数名 类型 说明
novel_id int 小说id
studio_id int 工作室id
novel_name string 小说名称
novel_tig string 小说标签
vice_title string 副标题
cover string 小说封面
describe string 小说简介
channel string 频道【free=免费,vip=收费和free_time没过期=限免】
channel_msg string 频道【free=免费,vip=收费和free_time没过期=限免】
free_time string 限免时间
cate_name string 小说分类名称
one_cate_name string 一级分类名称
cate_id string 小说分类id
word_num string 总字数
reward_num string 总打赏阅读币
flower_num string 总鲜花数
read_num string 总阅读数
collection_num string 总收藏数
popularity_num string 总人气票数
novel_status string 小说状态【0=连载中,1=完结,2=断更】
grant_status string 授权状态【1=独家,0=驻站】
novel_status_msg string 小说状态【0=连载中,1=完结,2=断更】
grant_status_msg string 授权状态【1=独家,0=驻站】
novel_all_word_num string 完本字数/评估字数(万)
signing_status string 签约状态【0=未签约,1=已签约,2=签约待审核,3=签约审核失败,4=邀约,5=同意邀约,6=拒绝邀约】

备注:

文档更新时间: 2021-06-19 17:20   作者:admin