修改章节
http://topenapi.tadu.com:8098/api/addChapter
JSON
POST
是
访问级别:高级接口(需要授权)
| 必选 | 类型及范围 | 说明 | |
|---|---|---|---|
| key | true | Integer | 密钥 |
| bookid | true | Integer | 添加书籍信息成功后返回的书籍ID |
| copyrightid | true | Integer | CP版权ID |
| title | true | string | 章节名称 需要用URLEncoder做转义 |
| content | true | string | 章节内容 需要用URLEncoder做转义 |
| chapternum | true | Integer | 章节序号 第一章从1开始递增 |
| isvip | true | Integer | 是否收费 1收费0免费 |
| chapterid | true | Integer | CP章节ID |
| updatemode | true | Integer | 状态:1为新增章节 2为修改章节 |
JSON示例
{"code":0,"message":"success!"}
关于错误返回值与错误代码,参见 错误代码说明
| 返回值字段 | 字段类型 | 字段说明 |
|---|---|---|
| code | Integer | 0 成功;非0 失败 |
| message | string | message 是对code的解释 |
无