- BIT101 API总览
- 用户模块
- 上传模块
- 交互反馈模块
- 文章模块
- 教务模块
- 课程模块
- 变量模块
- 消息模块
- 话廊模块
- 治理模块
- 学校教务接口
- 订阅模块
发布帖子
开发中
POST
/posters
请求参数
Header 参数
fake-cookie
string
必需
示例值:
{{fake_cookie}}
Body 参数application/json
title
string
标题
text
string
内容
image_mids
array[string]
图片
plugins
string
插件
anonymous
boolean
匿名
tags
array[string]
标签
claim_id
integer
声明编号
public
boolean
公开
示例
{
"title": "机分增适示进间",
"text": "ea Lorem minim velit esse",
"mids": [
""
],
"anonymous": false,
"tags": [
"League of Legends",
"ut in Duis",
"incididunt et",
"laboris e"
],
"claim_id": 1,
"public": false,
"plugins": "cillum"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://bit101.flwfdd.xyz/posters' \
--header 'fake-cookie: {{fake_cookie}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "机分增适示进间",
"text": "ea Lorem minim velit esse",
"mids": [
""
],
"anonymous": false,
"tags": [
"League of Legends",
"ut in Duis",
"incididunt et",
"laboris e"
],
"claim_id": 1,
"public": false,
"plugins": "cillum"
}'
返回响应
🟢200成功
application/json
Body
id
integer
必需
示例
{
"id": 0
}
🟠404记录不存在
🟠400参数不正确
🔴500服务器错误
🟠401身份验证失败