- 更新日志
- 必看
- APP相关
- 用户相关
- 卡密相关
- 商城相关
- 论坛相关
- 获取板块列表POST
- 获取板块信息POST
- 获取帖子列表POST
- 获取推荐帖子(只有正常帖子才会推荐)POST
- 获取帖子信息POST
- 发布帖子POST
- 删除帖子POST
- 发表评论POST
- 编辑帖子POST
- 删除评论POST
- 获取评论列表POST
- 取消点赞帖子POST
- 获取点赞记录POST
- 浏览历史POST
- 审核帖子POST
- 获取待审核的帖子POST
- 帖子状态修改POST
- 获取我的关注的帖子POST
- 打赏帖子POST
- 对需要支付的帖子进行支付POST
- 获取关注用户的帖子列表POST
- 对评论的打赏POST
- 取 消收藏帖子POST
- 获取收藏记录POST
- 获取举报标签POST
- 举报帖子或评论POST
- 获取用户举报记录POST
- 获取待审核评论列表POST
- 审核评论POST
- 消息通知
- 笔记管理
- 私聊系统
- 应用商店
- 发送邮件接口POST
- 上传返回直链POST
获取板块信息
POST
http://test1.moranblog.cn/api/get_section_information
最后修改时间:2024-01-23 05:56:25
责任人:未设置
暂无描述
请求参数
Body 参数multipart/form-data
appid
string
APPID
示例值:
10000
sectionid
string
板块id
示例值:
2
timestamp
string
可选
示例值:
-
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://test1.moranblog.cn/api/get_section_information' \
--form 'appid="10000"' \
--form 'sectionid="2"'
返回响应
🟢200成功
application/json
Body
code
integer
-
msg
string
-
data
object
-
id
integer
板块ID
section_name
string
板块名称
section_icon
string
版块图标
section_background
string
背景图片
section_description
string
版块描述
section_announcement
string
板块公告
create_time
string
创建时间
forum_section
array
版块管理员
postnum
integer
帖子数量
commentnum
integer
评论数量
viewnum
integer
浏览总量
sub_section
array [object {3}]
子版块列表
timestamp
integer
-
示例
{
"code": 1,
"msg": "查询成功",
"data": {
"id": 1,
"section_name": "新闻板块",
"section_icon": "http://nmoranpro.cn/uploads/20231226/94bdd0b80fc8f5ddbbd396f6a92f0459.png",
"section_background": "",
"section_description": "涵盖国际、国内及本地的新闻报道,提供深度解读和评论,让您时刻保持对世界的关注。",
"section_announcement": "重要:新闻板块现已支持推送通知功能,请确保您已开启通知权限。",
"create_time": "2023-12-26 20:51:46",
"forum_section": [],
"postnum": 0,
"commentnum": 0,
"viewnum": 0,
"sub_section": [
{
"id": 2,
"section_name": "默认版块",
"section_icon": ""
}
]
},
"timestamp": 1703595429
}
🟢200错误