获取全部文章
GET
article/all最后修改时间: 2 年前
责任人:
请求参数
Query 参数
page
string
分页
示例值:
1
limit
string
限制数据条目
示例值:
5
order
string
排序方式
示例值:
is_top desc, create_time desc
mode
string
可选
文章渲染模式(html、md)
示例值:
html
search
string
文章标题或内容搜索
login-token
string
可选
即将废弃,请在 header 提交 Authorization
cache
string
是否获取缓存数据
示例值:
true
Header 参数
Authorization
string
可选
登录返回的login-token
示例值:
{{login-token}}
示例代码
返回响应
请求成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
msg
string
信息
data
string | integer | boolean | array | object | number | null
数据
示例
{
"code": 200,
"msg": "数据请求成功!",
"data": {
"page": 1,
"count": 5,
"data": [
{
"id": 1,
"title": "inis博客系统",
"description": "当你看到这篇文章,就表示您的系统已经搭建成功!",
"is_top": 1,
"is_show": 1,
"img_src": null,
"views": 106491,
"font_count": 7007,
"sort_id": "|1|",
"tag_id": "|2|",
"users_id": 1,
"expand": {
"author": {
"nickname": "兔子",
"head_img": "//q.qlogo.cn/g?b=qq&nk=97783391&s=640",
"email": "racns@qq.com",
"address_url": "https://inis.cn",
"description": "许一人以偏爱,尽此生之慷慨!",
"pay": {
"alipay": "",
"wechat_pay": "",
"qq_pay": ""
}
},
"tag": [
{
"id": 2,
"name": "ThinkPHP",
"color": "info"
}
],
"sort": [
{
"id": 1,
"name": "Web全栈"
}
],
"img_src": "https://api.inis.cn/api/file/random?id=1",
"images": [
{
"alt": "登录",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592269.png"
},
{
"alt": "注册",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592294.png"
},
{
"alt": "撰写文章",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592389.png"
},
{
"alt": "系统配置",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592412.png"
},
{
"alt": "文件系统",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592431.png"
},
{
"alt": "API商城",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592449.png"
},
{
"alt": "文章管理",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592477.png"
},
{
"alt": "用户管理",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592499.png"
},
{
"alt": "夜间模式",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649592514.png"
},
{
"alt": "首页",
"src": "https://inis.cc/storage/users/files/uid-1/2022-04/1649437101.png"
},
{
"alt": "文章详情",
"src": "https://inis.cc/storage/users/files/uid-1/2022-04/1649437093.png"
},
{
"alt": "搜索",
"src": "https://inis.cc/storage/users/files/uid-1/2022-04/1649437109.png"
},
{
"alt": "自定义页面",
"src": "https://inis.cc/storage/users/files/uid-1/2022-04/1649437117.png"
},
{
"alt": "文章分类",
"src": "https://inis.cc/storage/users/files/uid-1/2022-04/1649437124.png"
},
{
"alt": "数学公式",
"src": "https://inis.cc/storage/users/files/uid-1/2022-04/1649437130.png"
},
{
"alt": "收款码",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649594410.png"
}
],
"comments": {
"show": true,
"allow": true,
"count": 31
}
},
"opt": {
"auth": "anyone",
"comments": {
"show": "true",
"allow": "true"
}
},
"longtext": null,
"delete_time": null,
"create_time": "2022-04-10 19:02:49",
"update_time": "2022-09-27 07:48:45",
"last_update_time": "1661130887"
},
{
"id": 5,
"title": "AliceStyle美化插件(十分强大的插件)",
"description": "##前言\n\n[scodetype=\"blue\"]\n\n-2019-11-09日开始开发本插件,这是我第一次做插件,本来没想着自己能做多好的,但是随着版本的不断更新,AliceStyle随之变得越来越强大....",
"is_top": 0,
"is_show": 1,
"img_src": "",
"views": 171892,
"font_count": 4218,
"sort_id": "||",
"tag_id": "",
"users_id": 1,
"expand": {
"author": {
"nickname": "兔子",
"head_img": "//q.qlogo.cn/g?b=qq&nk=97783391&s=640",
"email": "racns@qq.com",
"address_url": "https://inis.cn",
"description": "许一人以偏爱,尽此生之慷慨!",
"pay": {
"alipay": "",
"wechat_pay": "",
"qq_pay": ""
}
},
"tag": [],
"sort": [],
"img_src": "https://api.inis.cn/api/file/random?id=5",
"images": [
{
"alt": "未启用插件",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649597748.png"
},
{
"alt": "启用插件后",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649597792.png"
},
{
"alt": "未启用插件",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649597863.png"
},
{
"alt": "启用插件后",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649597903.png"
},
{
"alt": "登录界面美化",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649597938.png"
},
{
"alt": "AliceStyle插件功能图一",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649598042.png"
},
{
"alt": "AliceStyle插件功能图二",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649598073.png"
},
{
"alt": "注释三行代码图",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649598681.png"
}
],
"comments": {
"show": true,
"allow": true,
"count": 27
}
},
"opt": {
"comments": {
"show": "true",
"allow": "true"
},
"auth": "anyone"
},
"longtext": null,
"delete_time": null,
"create_time": "2022-04-10 21:29:11",
"update_time": "2022-09-27 08:16:01",
"last_update_time": "1663494890"
},
{
"id": 4,
"title": "typecho迁移至inis博客系统插件",
"description": "###简介\n\n[scodetype=\"blue\"]\n\n>这是一款将typecho数据(文章、评论、友链)一键迁移至inis博客系统的插件\n>inis博客系统是新一代的博客系统,这是市面上为数不多的新一....",
"is_top": 0,
"is_show": 1,
"img_src": "",
"views": 34183,
"font_count": 675,
"sort_id": "||",
"tag_id": "",
"users_id": 1,
"expand": {
"author": {
"nickname": "兔子",
"head_img": "//q.qlogo.cn/g?b=qq&nk=97783391&s=640",
"email": "racns@qq.com",
"address_url": "https://inis.cn",
"description": "许一人以偏爱,尽此生之慷慨!",
"pay": {
"alipay": "",
"wechat_pay": "",
"qq_pay": ""
}
},
"tag": [],
"sort": [],
"img_src": "https://api.inis.cn/api/file/random?id=4",
"images": [
{
"alt": "",
"src": "https://api.inis.cn/storage/users/files/1/2022-04/1649596350.png"
}
],
"comments": {
"show": true,
"allow": true,
"count": 5
}
},
"opt": {
"comments": {
"show": "true",
"allow": "true"
},
"auth": "anyone"
},
"longtext": null,
"delete_time": null,
"create_time": "2022-04-10 21:12:57",
"update_time": "2022-09-27 08:06:30",
"last_update_time": "1649597054"
},
{
"id": 2,
"title": "inis主题部署到oss",
"description": "[infoclass=\"alert-primarybg-whitetext-primary\"]\n\n使用阿里云的对象存储服务(ObjectStorageService,简称OSS)部署静态类网站。\n\n说....",
"is_top": 0,
"is_show": 1,
"img_src": null,
"views": 3347,
"font_count": null,
"sort_id": null,
"tag_id": null,
"users_id": 1,
"expand": {
"author": {
"nickname": "兔子",
"head_img": "//q.qlogo.cn/g?b=qq&nk=97783391&s=640",
"email": "racns@qq.com",
"address_url": "https://inis.cn",
"description": "许一人以偏爱,尽此生之慷慨!",
"pay": {
"alipay": "",
"wechat_pay": "",
"qq_pay": ""
}
},
"tag": [],
"sort": [],
"img_src": "https://api.inis.cn/api/file/random?id=2",
"images": [
{
"alt": "打开阿里云OSS控制台",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/ff8cb4142e7b9839b481864e04c89605e2bd822ce9e4c81e6adf7ca6b48f2db4ff6a85f4460ba1ab69aaa3f55a61c4de?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=1.png"
},
{
"alt": "创建一个 Bucket",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/c453ec16aab287fecacb899ef098afceda12c90f283921b2d6896e802169bb1eea1b3b58e07f7c85db44e6854b997430?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=2.png"
},
{
"alt": "",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/3bf0572233eecbc4c39c7151655857e1d495089608bd70b167da1719abdb6775e549f5f3ad9bca4688f6d83327184144?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=3.png"
},
{
"alt": "",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/f4cf655a58c1c4d7bdad054b501fe266941541a1c67f161f7ea32c5e59df526c6d9b9b6fca8232504ba8b69a0655d4cd?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=4.png"
},
{
"alt": "",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/91a39a9c880ec47b2b2cbd390f3583e05a3431005fccc3e3d91c8ebe91ecb47cb9ea30f4278e84bb7668730584c5ddfb?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=5.png"
},
{
"alt": "",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/bf4de5cbd9e641e02e029ff852af54404d545b25da861475c153ab83e24e5a99f39b5ac9d282055ff54f1dd6afd726c3?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=6.png"
},
{
"alt": "",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/86d300363f7c8f36cc2c07ed3533207922211bc6bab0272f236b3773532336e33edaffe2dc43b8f7aa5980b3f3d0788f?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=7.png"
},
{
"alt": "",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/66b4f6e85647553636d7faa125a443fb45e961137934e89061018c66b360ac541436e642ad36918307f16b83ed0f4f10?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=8.png"
},
{
"alt": "",
"src": "https://picabstract-preview-ftn.weiyun.com/ftn_pic_abs_v3/2e2548ce18ca2ba3425f7a56ea1434fa2483879411b08f3951db0989dadcb52ff17ee425176443dc7bd4f00868f5d62c?pictype=scale&from=30013&version=3.3.3.3&uin=1211515059&fname=9.png"
}
],
"comments": {
"show": true,
"allow": true,
"count": 0
}
},
"opt": {
"comments": {
"show": "true",
"allow": "true"
},
"auth": "anyone"
},
"longtext": null,
"delete_time": null,
"create_time": "2022-04-10 19:07:51",
"update_time": "2022-09-27 08:06:20",
"last_update_time": null
},
{
"id": 3,
"title": "文章插入视频测试",
"description": "###居中插入视频\n\n\n您的浏览器不支持HTML5video标签。\n\n\n###原生嵌套B站视频\n\n\n\n###直接插入视频\n\n\n您的浏览器不支持HTML5video标签。\n\n",
"is_top": 0,
"is_show": 1,
"img_src": null,
"views": 89,
"font_count": 593,
"sort_id": "||",
"tag_id": "",
"users_id": 1,
"expand": {
"author": {
"nickname": "兔子",
"head_img": "//q.qlogo.cn/g?b=qq&nk=97783391&s=640",
"email": "racns@qq.com",
"address_url": "https://inis.cn",
"description": "许一人以偏爱,尽此生之慷慨!",
"pay": {
"alipay": "",
"wechat_pay": "",
"qq_pay": ""
}
},
"tag": [],
"sort": [],
"img_src": "https://api.inis.cn/api/file/random?id=3",
"images": [],
"comments": {
"show": true,
"allow": true,
"count": 1
}
},
"opt": {
"comments": {
"show": "true",
"allow": "true"
},
"auth": "password"
},
"longtext": null,
"delete_time": null,
"create_time": "2022-04-10 19:07:51",
"update_time": "2022-09-26 00:22:24",
"last_update_time": "1649931599"
}
]
}
}
最后修改时间: 2 年前