List Article 获取文章列表
POST /v1/platform/article/list
- =》
{
"token": "xxx", //必填
"lang": "ar", //必填
"classify": 0, //默认为0,可以单个使用(支持按位或操作查询)
"id": 0, //默认为0
"category": "xxx", //默认为空
"sub": "xxx", //默认为空
"issue": "xxxx-xx-xx", //默认为空
"site_id": -1, //默认为空或-1时,表示所有
"status": 0, //0表示所有,其它数值可以单个使用(支持按位或操作查询)
"offset": 0, //分页或更多使用,为空时,默认为0
"limit": 10 //每次拉取条数,为空时,默认为10,最大100
}
- 《=
{
"success": "OK",
"data": {
"total": 1,
"list": [{
"id": 1007,
"user_id": 1001,
"history_id": 1001,
"classify": 1,
"title": "This is just a title.",
"alias": "This is just a alias.",
"slug": "this-is-just-a-title",
"cover": "https://xxx.com/i/xxx-w=128&t=auto.jpg",
"category": "Food",
"sub": "Cake",
"issue": "2024-01-10",
"wallpaper": "https://xxx.com/i/xxx-w=128&t=auto.jpg",
"site_id": 0,
"remark": "xxx",
"status": 0,
"updated_at": 1704537290,
"lang": "ar"
}]
}
}