Publish article
POST
/oauthLast modified: 1 年前
Maintainer:
请求参数
Body Params application/x-www-form-urlencoded
module
string
required
Module name, Cannot be changed.
Example:
channel/article_add
level
integer
required
The level number required for browsing articles, Created by the channel author themselves.
Example:
1
title
string
required
Article title, Maximum length is 250 characters.
Example:
This is a title
content
string
required
Article content, Maximum length is 5000 characters, Support for markdown.
Example:
This is a content
private
integer
required
Is this article only visible to oneself, 1/0 selectable, If this parameter is 1, then the parameter level needs to be 0.
Example:
0
share_link
array[string]
optional
The febbox sharing link carried in the article, with optional parameters, supports up to 10.
Example:
["https://www.febbox.com/share/wsed1rtg","https://www.febbox.com/share/wsed1rtg"]
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
Code
msg
string
required
Message
server_runtime
number
required
Server execution time
data
object
required
Data
article_id
string
required
Article ID
Example
{
"code": 1,
"msg": "success",
"server_runtime": 0.16005,
"data": {
"article_id": "116"
}
}
Last modified: 1 年前