文档
测试

获取版块列表

POST
https://only-api.com/api/listSection

接口描述

获取版块列表

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
appId
int
应用唯一标识
必填
sign
string
签名校验,仅当"签名启用"开启时传入
可选
expire
int
请求有效期,默认180(单位:秒)
可选
page
int
页码,从1开始,每页10条
必填

响应参数

application/json
参数名
类型
描述
必填
code
string
状态码
必填
result
array
结果数据
必填
id
int
版块唯一标识
必填
name
string
版块名称
必填
icon
string
版块图标
必填
post
int
已发表的帖子数量
必填
introduction
string
版块介绍
可选
msg
string
错误信息
可选
time
string
请求过期的时间戳(单位:秒)
必填