接口:获取列表
接口:获取列表
接口详情
获取列表
zodram api
GET
接口地址
| 正式环境(prod) | https://zodream.cn/open/micro |
|
| 本地环境(dev) | http://zodream.localhost/open/micro |
Header参数
| 字段键 | 字段值 | 备注说明 |
|---|
请求参数
| 字段别名 | 字段含义 | 字段类型 | 是否必填 | 默认值 | 备注说明 |
|---|---|---|---|---|---|
| keywords | 搜索关键字 | 字符串(string) | 否 | ||
| user | 用户id | 数字(number) | 否 | ||
| topic | 话题id | 数字(number) | 否 | ||
| page | 页码 | 数字(number) | 否 | ||
| per_page | 一页数量 | 数字(number) | 否 |
响应参数
| 字段别名 | 字段含义 | 字段类型 | MOCK规则 | 备注说明 |
|---|---|---|---|---|
| paging | paging | 对象(object) | ||
| ᅡ limit | limit | 数字(number) | ||
| ᅡ offset | offset | 数字(number) | ||
| ᅡ total | total | 数字(number) | ||
| ᅡ more | more | 布尔型(boolean) | ||
| data | data | 数组(array) | ||
| ᅡ user | user | 对象(object) | ||
| ᅡー id | id | 数字(number) | ||
| ᅡー name | name | 字符串(string) | ||
| ᅡー avatar | avatar | 字符串(string) | ||
| ᅡ attachment | attachment | 数组(array) | ||
| ᅡー id | id | 数字(number) | ||
| ᅡー thumb | thumb | 字符串(string) | ||
| ᅡー file | file | 字符串(string) | ||
| ᅡ id | id | 数字(number) | ||
| ᅡ user_id | user_id | 数字(number) | ||
| ᅡ content | content | 字符串(string) | ||
| ᅡ extra_rule | extra_rule | 数组(array) | ||
| ᅡー s | s | 字符串(string) | ||
| ᅡー i | i | 字符串(string) | ||
| ᅡー l | l | 字符串(string) | ||
| ᅡー f | f | 字符串(string) | ||
| ᅡ open_type | open_type | 数字(number) | ||
| ᅡ recommend_count | recommend_count | 数字(number) | ||
| ᅡ collect_count | collect_count | 数字(number) | ||
| ᅡ forward_count | forward_count | 数字(number) | ||
| ᅡ comment_count | comment_count | 数字(number) | ||
| ᅡ forward_id | forward_id | 数字(number) | ||
| ᅡ source | source | 字符串(string) | ||
| ᅡ updated_at | updated_at | 字符串(string) | ||
| ᅡ created_at | created_at | 字符串(string) | ||
| ᅡ editable | editable | 布尔型(boolean) | ||
| ᅡ is_recommended | is_recommended | 布尔型(boolean) | ||
| ᅡ is_collected | is_collected | 布尔型(boolean) |
返回示例