接口简介
- 本接口主要用于话题列表
重要说明:…
接口请求说明
请求方式
GET http://站点接口域名/openapi/tag/list
请求参数
参数名 | 类型 | 是否必须 | 说明 |
---|---|---|---|
page | int | ✅ | 页码 |
status | int | ❌ | 状态 |
请求示例
# GET请求
curl -X GET \
http://站点接口域名/openapi/tag/list \
-H 'authorization: Bearer 5db95422045aa' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
接口响应说明
响应示例
{
"code": 0,
"text": "",
"data": [
{
"id": "213",
"name": "小众旅行",
"introduce": "",
"status": "2",
"is_recommend": "0",
"created_at": "1743586224"
},
{
"id": "212",
"name": "清明出行",
"introduce": "",
"status": "2",
"is_recommend": "0",
"created_at": "1743586224"
},
{
"id": "211",
"name": "雨天浪漫 ?你的城市有雾吗?快晒图跟我PK!??",
"introduce": "",
"status": "4",
"is_recommend": "0",
"created_at": "1743387770"
},
{
"id": "210",
"name": "雾天摄影",
"introduce": "",
"status": "2",
"is_recommend": "0",
"created_at": "1743387770"
},
{
"id": "209",
"name": "你好,三2353569874月",
"introduce": "<p>ddsds</p>",
"status": "2",
"is_recommend": "0",
"created_at": "1724912643"
},
{
"id": "208",
"name": "4532432432",
"introduce": "",
"status": "4",
"is_recommend": "0",
"created_at": "1693386227"
},
{
"id": "207",
"name": "32321321",
"introduce": "",
"status": "0",
"is_recommend": "0",
"created_at": "1693386216"
},
{
"id": "206",
"name": "3213231231",
"introduce": "",
"status": "0",
"is_recommend": "0",
"created_at": "1693361361"
},
{
"id": "205",
"name": "啦啦啦啦啦",
"introduce": "<p>测试啦啦啦啦</p>",
"status": "0",
"is_recommend": "1",
"created_at": "1693359854"
},
{
"id": "204",
"name": "测试话题1",
"introduce": "",
"status": "2",
"is_recommend": "1",
"created_at": "1693359027"
}
],
"time": 1749625974
}
响应结果说明
data字段说明
字段名 | 类型 | 说明 |
---|---|---|
name | string | 话题名称 |
introduce | string | 简介 |
status | int | 0 待审, 2 通过, 4 关闭 |
is_recommend | string | 是否推荐 0 不推荐 1 推荐 2 后台推荐 |
文档更新时间: 2025-06-11 15:31 作者:张旭