mirror of
https://github.com/halo-dev/docs.git
synced 2026-01-29 02:07:38 +08:00
docs: update documentation for Halo 2.10 (#262)
为 Halo 2.10.0 更新文档。 /kind documentation ```release-note None ```
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
```json title="CategoryTreeVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T14:18:49.230Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"displayName": "string", // 显示名称
|
||||
"slug": "string", // 别名,通常用于生成 status.permalink
|
||||
"description": "string", // 描述
|
||||
"cover": "string", // 封面图
|
||||
"template": "string", // 自定义渲染模板名称
|
||||
"priority": 0, // 排序字段
|
||||
"children": [ // 下级分类,分类的 metadata.name 集合
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"children": "List<#CategoryTreeVo>", // 下级分类,CategoryTreeVo 的集合
|
||||
"parentName": "string",
|
||||
"postCount": 0
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,31 @@
|
||||
```json title="CategoryVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T13:06:38.512Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"displayName": "string", // 显示名称
|
||||
"slug": "string", // 别名,通常用于生成 status.permalink
|
||||
"description": "string", // 描述
|
||||
"cover": "string", // 封面图
|
||||
"template": "string", // 自定义渲染模板名称
|
||||
"priority": 0, // 排序字段
|
||||
"children": [ // 下级分类,分类的 metadata.name 集合
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"postCount": 0, // 文章数
|
||||
"visiblePostCount": 0 // 已发布文章数
|
||||
},
|
||||
"postCount": 0
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,53 @@
|
||||
```json title="CommentVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T12:16:19.788Z" // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"raw": "string", // 原始文本,一般用于给编辑器使用
|
||||
"content": "string", // 最终渲染的文本
|
||||
"owner": { // 创建者关联
|
||||
"kind": "string",
|
||||
"name": "string",
|
||||
"displayName": "string",
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
}
|
||||
},
|
||||
"userAgent": "string", // 评论者 UserAgent 信息
|
||||
"ipAddress": "string", // 评论者 IP 地址
|
||||
"priority": 0, // 排序字段
|
||||
"top": false, // 是否置顶
|
||||
"allowNotification": true, // 是否允许通知
|
||||
"approved": false,
|
||||
"hidden": false,
|
||||
"subjectRef": { // 引用关联,比如文章、自定义页面
|
||||
"group": "string",
|
||||
"version": "string",
|
||||
"kind": "string",
|
||||
"name": "string"
|
||||
},
|
||||
"lastReadTime": "2022-11-20T12:16:19.788Z"
|
||||
},
|
||||
"status": {
|
||||
"lastReplyTime": "2022-11-20T12:16:19.788Z",
|
||||
"replyCount": 0, // 回复数量
|
||||
"unreadReplyCount": 0,
|
||||
"hasNewReply": true // 是否有新回复
|
||||
},
|
||||
"owner": { // 创建者信息
|
||||
"kind": "string",
|
||||
"name": "string",
|
||||
"displayName": "string",
|
||||
"avatar": "string",
|
||||
"email": "string"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,6 @@
|
||||
```json title="ContentVo"
|
||||
{
|
||||
"raw": "string", // 原始文本,一般用于给编辑器使用
|
||||
"content": "string" // 最终渲染的文本
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,9 @@
|
||||
```json title="ContributorVo"
|
||||
{
|
||||
"name": "string", // 用户名
|
||||
"displayName": "string", // 显示名称
|
||||
"avatar": "string", // 头像
|
||||
"bio": "string", // 描述
|
||||
"permalink": "string" // 作者的文章归档页面链接
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,65 @@
|
||||
```json title="ListedPostVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T13:06:38.505Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"title": "string", // 标题
|
||||
"slug": "string", // 别名,通常用于生成 status.permalink
|
||||
"releaseSnapshot": "string",
|
||||
"headSnapshot": "string",
|
||||
"baseSnapshot": "string",
|
||||
"owner": "string", // 创建者名称,即 ContributorVo 的 metadata.name,非显示名称
|
||||
"template": "string", // 自定义渲染模板
|
||||
"cover": "string", // 封面图
|
||||
"deleted": false,
|
||||
"publish": false,
|
||||
"publishTime": "2022-11-20T13:06:38.505Z", // 发布时间
|
||||
"pinned": false, // 是否置顶
|
||||
"allowComment": true, // 是否允许评论
|
||||
"visible": "PUBLIC",
|
||||
"priority": 0,
|
||||
"excerpt": {
|
||||
"autoGenerate": true, // 是否自动生成摘要
|
||||
"raw": "string" // 摘要内容
|
||||
},
|
||||
"categories": [ // 分类的名称集合,即 Category 的 metadata.name 的集合
|
||||
"string"
|
||||
],
|
||||
"tags": [ // 标签的名称集合,即 Tag 的 metadata.name 的集合
|
||||
"string"
|
||||
],
|
||||
"htmlMetas": [
|
||||
{
|
||||
"additionalProp1": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"excerpt": "string", // 最终生成的摘要
|
||||
"inProgress": true,
|
||||
"lastModifyTime": "2022-11-20T13:06:38.505Z", // 最后修改时间
|
||||
"commentsCount": 0, // 评论数
|
||||
"contributors": [ // 贡献者名称,Contributor 的 metadata.name 的集合
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"categories": "List<#CategoryVo>", // 分类的集合
|
||||
"tags": "List<#TagVo>", // 标签的集合
|
||||
"contributors": "List<#ContributorVo>", // 贡献者的集合
|
||||
"owner": "#ContributorVo", // 创建者
|
||||
"stats": {
|
||||
"visit": 0, // 访问数量
|
||||
"upvote": 0, // 点赞数量
|
||||
"comment": 0 // 评论数量
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,57 @@
|
||||
```json title="ListedSinglePageVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T14:31:00.876Z" // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"title": "string", // 标题
|
||||
"slug": "string", // 别名,通常用于生成 status.permalink
|
||||
"releaseSnapshot": "string",
|
||||
"headSnapshot": "string",
|
||||
"baseSnapshot": "string",
|
||||
"owner": "string", // 创建者名称,即 ContributorVo 的 metadata.name,非显示名称
|
||||
"template": "string", // 自定义渲染模板
|
||||
"cover": "string", // 封面图
|
||||
"deleted": false,
|
||||
"publish": false,
|
||||
"publishTime": "2022-11-20T14:31:00.876Z", // 发布时间
|
||||
"pinned": false, // 是否置顶
|
||||
"allowComment": true, // 是否允许评论
|
||||
"visible": "PUBLIC",
|
||||
"priority": 0,
|
||||
"excerpt": {
|
||||
"autoGenerate": true, // 是否自动生成摘要
|
||||
"raw": "string" // 摘要内容
|
||||
},
|
||||
"htmlMetas": [
|
||||
{
|
||||
"additionalProp1": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"excerpt": "string", // 最终生成的摘要
|
||||
"inProgress": true,
|
||||
"lastModifyTime": "2022-11-20T13:06:38.505Z", // 最后修改时间
|
||||
"commentsCount": 0, // 评论数
|
||||
"contributors": [ // 贡献者名称,Contributor 的 metadata.name 的集合
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"stats": {
|
||||
"visit": 0, // 访问数量
|
||||
"upvote": 0, // 点赞数量
|
||||
"comment": 0 // 评论数量
|
||||
},
|
||||
"contributors": "List<#ContributorVo>", // 贡献者的集合
|
||||
"owner": "#ContributorVo" // 创建者
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,44 @@
|
||||
```json title="MenuItemVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T14:44:58.984Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"displayName": "string", // 显示名称,但是不要直接使用这个字段进行显示,最终字段为 status.displayName
|
||||
"href": "string", // 链接,同样不要直接使用这个字段,最终字段为 status.href
|
||||
"priority": 0, // 排序字段
|
||||
"children": [ // 下级菜单项,菜单项的 metadata.name 集合
|
||||
"string"
|
||||
],
|
||||
"target": "#Target", // 菜单页面打开方式,枚举类型
|
||||
"targetRef": { // 与其他资源比如文章的关联,一般无需直接使用
|
||||
"group": "string",
|
||||
"version": "string",
|
||||
"kind": "string",
|
||||
"name": "string"
|
||||
},
|
||||
},
|
||||
"status": {
|
||||
"displayName": "string", // 显示名称
|
||||
"href": "string" // 链接
|
||||
},
|
||||
"children": "List<#MenuItemVo>", // 下级菜单项,MenuItemVo 的集合
|
||||
"parentName": "string",
|
||||
}
|
||||
```
|
||||
|
||||
```java title="Target"
|
||||
enum Target {
|
||||
BLANK("_blank"), // 在新窗口打开
|
||||
SELF("_self"), // 在当前窗口打开
|
||||
PARENT("_parent"), // 在父窗口打开
|
||||
TOP("_top"); // 在顶级窗口打开
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,21 @@
|
||||
```json title="MenuVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T14:44:58.984Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"displayName": "string", // 显示名称
|
||||
"menuItems": [ // 菜单的菜单项名称集合,即 MenuItem 的 metadata.name 的集合
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"menuItems": "List<#MenuItemVo>" // 菜单项的集合
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,66 @@
|
||||
```json title="PostVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T12:45:43.888Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"title": "string", // 标题
|
||||
"slug": "string", // 别名,通常用于生成 status.permalink
|
||||
"releaseSnapshot": "string",
|
||||
"headSnapshot": "string",
|
||||
"baseSnapshot": "string",
|
||||
"owner": "string", // 创建者名称,即 ContributorVo 的 metadata.name,非显示名称
|
||||
"template": "string", // 自定义渲染模板
|
||||
"cover": "string", // 封面图
|
||||
"deleted": false,
|
||||
"publish": false,
|
||||
"publishTime": "2022-11-20T13:06:38.505Z", // 发布时间
|
||||
"pinned": false, // 是否置顶
|
||||
"allowComment": true, // 是否允许评论
|
||||
"visible": "PUBLIC",
|
||||
"priority": 0,
|
||||
"excerpt": {
|
||||
"autoGenerate": true, // 是否自动生成摘要
|
||||
"raw": "string" // 摘要内容
|
||||
},
|
||||
"categories": [ // 分类的名称集合,即 Category 的 metadata.name 的集合
|
||||
"string"
|
||||
],
|
||||
"tags": [ // 标签的名称集合,即 Tag 的 metadata.name 的集合
|
||||
"string"
|
||||
],
|
||||
"htmlMetas": [
|
||||
{
|
||||
"additionalProp1": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"excerpt": "string", // 最终生成的摘要
|
||||
"inProgress": true,
|
||||
"lastModifyTime": "2022-11-20T13:06:38.505Z", // 最后修改时间
|
||||
"commentsCount": 0, // 评论数
|
||||
"contributors": [ // 贡献者名称,Contributor 的 metadata.name 的集合
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"categories": "List<#CategoryVo>", // 分类的集合
|
||||
"tags": "List<#TagVo>", // 标签的集合
|
||||
"contributors": "List<#ContributorVo>", // 贡献者的集合
|
||||
"owner": "#ContributorVo", // 创建者
|
||||
"stats": {
|
||||
"visit": 0, // 访问数量
|
||||
"upvote": 0, // 点赞数量
|
||||
"comment": 0 // 评论数量
|
||||
},
|
||||
"content": "#ContentVo" // 内容
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,42 @@
|
||||
```json title="ReplyVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T12:25:32.357Z" // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"raw": "string", // 原始文本,一般用于给编辑器使用
|
||||
"content": "string", // 最终渲染的文本
|
||||
"owner": { // 创建者关联
|
||||
"kind": "string",
|
||||
"name": "string",
|
||||
"displayName": "string",
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
}
|
||||
},
|
||||
"userAgent": "string", // 评论者 UserAgent 信息
|
||||
"ipAddress": "string", // 评论者 IP 地址
|
||||
"priority": 0, // 排序字段
|
||||
"top": false, // 是否置顶
|
||||
"allowNotification": true, // 是否允许通知
|
||||
"approved": false,
|
||||
"hidden": false,
|
||||
"commentName": "string", // 被回复的评论名称,即 Comment 的 metadata.name
|
||||
"quoteReply": "string" // 被回复的回复名称,即 Reply 的 metadata.name
|
||||
},
|
||||
"owner": { // 创建者信息
|
||||
"kind": "string",
|
||||
"name": "string",
|
||||
"displayName": "string",
|
||||
"avatar": "string",
|
||||
"email": "string"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,58 @@
|
||||
```json title="SinglePageVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T14:29:44.601Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"title": "string", // 标题
|
||||
"slug": "string", // 别名,通常用于生成 status.permalink
|
||||
"releaseSnapshot": "string",
|
||||
"headSnapshot": "string",
|
||||
"baseSnapshot": "string",
|
||||
"owner": "string", // 创建者名称,即 ContributorVo 的 metadata.name,非显示名称
|
||||
"template": "string", // 自定义渲染模板
|
||||
"cover": "string", // 封面图
|
||||
"deleted": false,
|
||||
"publish": false,
|
||||
"publishTime": "2022-11-20T13:06:38.505Z", // 发布时间
|
||||
"pinned": false, // 是否置顶
|
||||
"allowComment": true, // 是否允许评论
|
||||
"visible": "PUBLIC",
|
||||
"priority": 0,
|
||||
"excerpt": {
|
||||
"autoGenerate": true, // 是否自动生成摘要
|
||||
"raw": "string" // 摘要内容
|
||||
},
|
||||
"htmlMetas": [
|
||||
{
|
||||
"additionalProp1": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"excerpt": "string", // 最终生成的摘要
|
||||
"inProgress": true,
|
||||
"lastModifyTime": "2022-11-20T13:06:38.505Z", // 最后修改时间
|
||||
"commentsCount": 0, // 评论数
|
||||
"contributors": [ // 贡献者名称,Contributor 的 metadata.name 的集合
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"stats": {
|
||||
"visit": 0, // 访问数量
|
||||
"upvote": 0, // 点赞数量
|
||||
"comment": 0 // 评论数量
|
||||
},
|
||||
"contributors": "List<#ContributorVo>", // 贡献者的集合
|
||||
"owner": "#ContributorVo", // 创建者
|
||||
"content": "#ContentVo" // 内容
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,26 @@
|
||||
```json title="SiteSettingVo"
|
||||
{
|
||||
"title": "string", // 站点标题
|
||||
"subtitle": "string", // 站点副标题
|
||||
"url": "string", // 站点的外部访问链接
|
||||
"logo": "string", // Logo 地址
|
||||
"favicon": "string", // Favicon 地址
|
||||
"allowRegistration": false, // 是否允许注册
|
||||
"post": { // 文章相关设置
|
||||
"postPageSize": 10, // 首页默认分页大小
|
||||
"archivePageSize": 10, // 归档页默认分页大小
|
||||
"categoryPageSize": 10, // 分类归档页默认分页大小
|
||||
"tagPageSize": 10 // 标签归档页默认分页大小
|
||||
},
|
||||
"seo": { // SEO 相关设置
|
||||
"blockSpiders": false, // 禁止搜索引擎抓取
|
||||
"keywords": "string", // 站点全局关键词,一般不需要主动使用,Halo 会自动插入到 head 标签中
|
||||
"description": "string" // 站点全局描述,一般不需要主动使用,Halo 会自动插入到 head 标签中
|
||||
},
|
||||
"comment": { // 评论相关设置
|
||||
"enable": true, // 是否开启评论
|
||||
"systemUserOnly": false, // 是否只允许登录用户评论
|
||||
"requireReviewForNew": false // 是否需要审核新评论
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,26 @@
|
||||
```json title="TagVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T13:06:38.512Z", // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"displayName": "string", // 显示名称
|
||||
"slug": "string", // 别名,通常用于生成 status.permalink
|
||||
"color": "#F9fEB1", // 背景颜色
|
||||
"cover": "string" // 封面图
|
||||
},
|
||||
"status": {
|
||||
"permalink": "string", // 固定链接
|
||||
"visiblePostCount": 0, // 已发布文章数
|
||||
"postCount": 0 // 文章数
|
||||
},
|
||||
"postCount": 0
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,36 @@
|
||||
```json title="ThemeVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T14:44:58.984Z" // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"displayName": "string", // 显示名称
|
||||
"author": { // 作者相关信息
|
||||
"name": "string", // 作者名称
|
||||
"website": "string" // 作者网站
|
||||
},
|
||||
"description": "string", // 主题描述
|
||||
"logo": "string", // 主题 Logo
|
||||
"website": "string", // 主题网站
|
||||
"repo": "string", // 主题仓库地址
|
||||
"version": "string", // 主题版本
|
||||
"requires": "string", // 主题依赖 Halo 版本的设置
|
||||
"settingName": "string", // 主题设置表单名称
|
||||
"configMapName": "string", // 主题配置名称
|
||||
"customTemplates": {} // 主题自定义模板设置
|
||||
},
|
||||
"config": {} // 主题配置
|
||||
}
|
||||
```
|
||||
|
||||
其中:
|
||||
|
||||
1. `customTemplates`:一般不会在模板引擎中使用,使用文档请参考:[模板路由#自定义模板](../template-route-mapping.md#custom-templates)
|
||||
2. `config`:主题配置,使用文档请参考:[设置选项](../settings.md)
|
||||
@@ -0,0 +1,28 @@
|
||||
```json title="UserVo"
|
||||
{
|
||||
"metadata": {
|
||||
"name": "string", // 唯一标识
|
||||
"labels": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"additionalProp1": "string"
|
||||
},
|
||||
"creationTimestamp": "2022-11-20T13:06:38.512Z" // 创建时间
|
||||
},
|
||||
"spec": {
|
||||
"displayName": "string", // 显示名称
|
||||
"avatar": "string", // 头像链接
|
||||
"email": "string", // 邮箱地址
|
||||
"phone": "string", // 电话号码
|
||||
"bio": 0, // 描述
|
||||
"registeredAt": "2022-11-20T13:06:38.512Z", // 注册时间
|
||||
"twoFactorAuthEnabled": false, // 是否启用二次验证
|
||||
"disabled": false // 是否禁用
|
||||
},
|
||||
"status": {
|
||||
"lastLoginAt": "2022-11-20T13:06:38.512Z", // 最后登录时间
|
||||
"permalink": "string" // 作者的文章归档页面链接
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user