Skip to content
关注公众号,获取新课通知

获取指定用户的帖子列表

接口URL

https://sqapi2.dishawang.com/api/v1/user/:user_id/article/:page

请求方式

GET

Content-Type

form-data

请求Header参数

参数名示例值参数类型是否必填参数描述
token36040cbcde65e482739afca7a5465ab750c1c5d5String用户token

路径变量

参数名示例值参数描述
user_id1349用户ID
page1页码

成功响应示例

json
{
  "code": 1,
  "msg": "ok",
  "data": {
    "total": 4,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "data": [
      {
        "id": 1756,
        "user_id": 1349,
        "title": "命运永远掌握在自己手中",
        "images": [],
        "url": "",
        "category_id": 2,
        "topic_id": 2,
        "share_count": 0,
        "ding_count": 1,
        "cai_count": 0,
        "comment_count": 2,
        "read_count": 8,
        "collect_count": 0,
        "create_time": "2023-12-15 10:26:17",
        "update_time": "2024-04-06 01:07:16",
        "name": "lucky",
        "avatar": "https://ceshi2.dishait.cn/uploads/20230919/5f3438d61e87402ae5eefc60b4c95afb.png",
        "user_status": 1,
        "topic_name": "鬼畜中心",
        "user_support_action": "ding",
        "isfollow": true
      },
      {
        "id": 1338,
        "user_id": 1349,
        "title": "奥利给",
        "images": [],
        "url": "",
        "category_id": 6,
        "topic_id": 0,
        "share_count": 0,
        "ding_count": 0,
        "cai_count": 0,
        "comment_count": 0,
        "read_count": 0,
        "collect_count": 0,
        "create_time": "2023-06-09 11:09:40",
        "update_time": null,
        "name": "lucky",
        "avatar": "https://ceshi2.dishait.cn/uploads/20230919/5f3438d61e87402ae5eefc60b4c95afb.png",
        "user_status": 1,
        "topic_name": null,
        "user_support_action": "",
        "isfollow": true
      },
      {
        "id": 1334,
        "user_id": 1349,
        "title": "发布测试",
        "images": [],
        "url": "",
        "category_id": 1,
        "topic_id": 0,
        "share_count": 0,
        "ding_count": 0,
        "cai_count": 0,
        "comment_count": 0,
        "read_count": 1,
        "collect_count": 0,
        "create_time": "2023-06-08 11:19:08",
        "update_time": "2024-01-10 04:26:35",
        "name": "lucky",
        "avatar": "https://ceshi2.dishait.cn/uploads/20230919/5f3438d61e87402ae5eefc60b4c95afb.png",
        "user_status": 1,
        "topic_name": null,
        "user_support_action": "",
        "isfollow": true
      },
      {
        "id": 1333,
        "user_id": 1349,
        "title": "测试",
        "images": [],
        "url": "",
        "category_id": 2,
        "topic_id": 0,
        "share_count": 0,
        "ding_count": 0,
        "cai_count": 0,
        "comment_count": 0,
        "read_count": 0,
        "collect_count": 0,
        "create_time": "2023-06-08 11:16:40",
        "update_time": null,
        "name": "lucky",
        "avatar": "https://ceshi2.dishait.cn/uploads/20230919/5f3438d61e87402ae5eefc60b4c95afb.png",
        "user_status": 1,
        "topic_name": null,
        "user_support_action": "",
        "isfollow": true
      }
    ]
  }
}