Endpoint Index
This page is generated from the repository’s openapi.json during the build, not maintained by
hand. If routes change and make swag is not re-run, the swag check in CI fails first, so this
page cannot silently drift.
Path rules
Section titled “Path rules”| Case | Actual path |
|---|---|
| Application API | /api/v1 plus the path below (e.g. /auth/login → /api/v1/auth/login) |
| Crawlers and feeds | Application root: /sitemap.xml, /sitemap-posts.xml, /sitemap-spaces.xml, /sitemap-tags.xml, /robots.txt, /latest.rss |
| Protocol endpoints | /.well-known/* at the application root; OAuth / OIDC token and userinfo stay under /api/v1 |
/mcp speaks JSON-RPC, does not use the envelope, and is not in the OpenAPI document — see
MCP integration.
The full health path is /api/v1/health; nginx also serves a local /health that returns
healthy without touching the backend.
Reading the tables
Section titled “Reading the tables”- Writes are always
POSTwith an action suffix (/create,/{id}/update,/{id}/delete); only reads may useGET. - List endpoints are named
/listand take their parameters in the body (page/pageSize). - Every response except protocol endpoints is
{ code, msg, data }— see API conventions. - Permission codes are not listed here; route-level gating is covered in Authentication and permissions.
Admin105
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/admin/announcements/{id}/delete | 删除公告 |
| POST | /api/v1/admin/announcements/{id}/publish | 发布公告 |
| POST | /api/v1/admin/announcements/{id}/unpublish | 撤回公告 |
| POST | /api/v1/admin/announcements/{id}/update | 更新公告 |
| POST | /api/v1/admin/announcements/create | 创建公告 |
| POST | /api/v1/admin/announcements/list | 公告列表 |
| POST | /api/v1/admin/audit_logs/list | 审计日志列表 |
| POST | /api/v1/admin/backups/{id}/delete | 删除备份 |
| POST | /api/v1/admin/backups/{id}/download | 下载备份 |
| POST | /api/v1/admin/backups/{id}/restore | 恢复备份 |
| POST | /api/v1/admin/backups/cleanup | 清理过期备份 |
| POST | /api/v1/admin/backups/create | 创建备份 |
| POST | /api/v1/admin/backups/list | 备份列表 |
| POST | /api/v1/admin/banned/list | 禁言记录列表 |
| POST | /api/v1/admin/batch/comments | 批量删除评论 |
| POST | /api/v1/admin/batch/posts | 批量帖子操作 |
| POST | /api/v1/admin/batch/users | 批量用户操作 |
| POST | /api/v1/admin/customization/modules/{id}/delete | 删除首页模块 |
| POST | /api/v1/admin/customization/modules/{id}/update | 更新首页模块 |
| POST | /api/v1/admin/customization/modules/create | 创建首页模块 |
| POST | /api/v1/admin/customization/modules/list | 首页模块列表 |
| POST | /api/v1/admin/customization/nav/{id}/delete | 删除导航项 |
| POST | /api/v1/admin/customization/nav/{id}/update | 更新导航项 |
| POST | /api/v1/admin/customization/nav/create | 创建导航项 |
| POST | /api/v1/admin/customization/nav/list | 导航项列表 |
| POST | /api/v1/admin/customization/pages/{id}/delete | 删除自定义页 |
| POST | /api/v1/admin/customization/pages/{id}/publish | 发布自定义页 |
| POST | /api/v1/admin/customization/pages/{id}/update | 更新自定义页 |
| POST | /api/v1/admin/customization/pages/create | 创建自定义页 |
| POST | /api/v1/admin/customization/pages/list | 自定义页列表 |
| POST | /api/v1/admin/customization/snippets/{id}/delete | 删除片段 |
| POST | /api/v1/admin/customization/snippets/{id}/toggle | 启停片段 |
| POST | /api/v1/admin/customization/snippets/{id}/update | 更新片段 |
| POST | /api/v1/admin/customization/snippets/create | 创建片段 |
| POST | /api/v1/admin/customization/snippets/list | 片段列表 |
| POST | /api/v1/admin/customization/tokens/{token}/delete | 删除主题覆盖 |
| POST | /api/v1/admin/customization/tokens/clear | 清空主题覆盖 |
| POST | /api/v1/admin/customization/tokens/list | 主题覆盖列表 |
| POST | /api/v1/admin/customization/tokens/set | 设置主题覆盖 |
| POST | /api/v1/admin/dashboard | 运营概览 |
| POST | /api/v1/admin/gates/{id}/delete | 删除门控规则 |
| POST | /api/v1/admin/gates/defaults/list | 能力域默认动作 |
| POST | /api/v1/admin/gates/defaults/save | 保存能力域默认动作 |
| POST | /api/v1/admin/gates/list | 门控规则列表 |
| POST | /api/v1/admin/gates/meta | 门控元数据 |
| POST | /api/v1/admin/gates/save | 保存门控规则 |
| POST | /api/v1/admin/gates/simulate | 以用户试算门控 |
| POST | /api/v1/admin/invites/{id}/delete | 删除邀请码 |
| POST | /api/v1/admin/invites/create | 创建邀请码 |
| POST | /api/v1/admin/invites/list | 邀请码列表 |
| POST | /api/v1/admin/levels/{level}/delete | 删除等级 |
| POST | /api/v1/admin/levels/list | 等级定义列表 |
| POST | /api/v1/admin/levels/save | 保存等级定义 |
| POST | /api/v1/admin/mcp-servers/{id}/delete | 删除外部 MCP 服务 |
| POST | /api/v1/admin/mcp-servers/{id}/test | 测试连通性 |
| POST | /api/v1/admin/mcp-servers/{id}/update | 更新外部 MCP 服务 |
| POST | /api/v1/admin/mcp-servers/create | 登记外部 MCP 服务 |
| POST | /api/v1/admin/mcp-servers/list | 外部 MCP 服务列表 |
| POST | /api/v1/admin/mcp/tools | MCP 工具清单 |
| POST | /api/v1/admin/mcp/tools/status | 启停 MCP 工具 |
| POST | /api/v1/admin/moderation/{id}/approve | |
| POST | /api/v1/admin/moderation/{id}/reject | |
| POST | /api/v1/admin/moderation/configs | |
| POST | /api/v1/admin/moderation/configs/set | |
| POST | /api/v1/admin/moderation/pending | |
| POST | /api/v1/admin/moderation/rules/create | |
| POST | /api/v1/admin/moderation/rules/delete | |
| POST | /api/v1/admin/moderation/rules/list | |
| POST | /api/v1/admin/moderation/rules/update | |
| POST | /api/v1/admin/plugins/{id}/delete | 删除插件 |
| POST | /api/v1/admin/plugins/{id}/status | 启停插件 |
| POST | /api/v1/admin/plugins/{id}/update | 更新插件 |
| POST | /api/v1/admin/plugins/install | 安装插件 |
| POST | /api/v1/admin/plugins/list | 插件列表 |
| POST | /api/v1/admin/reconcile/counters | 修复计数器 |
| POST | /api/v1/admin/search | 全局搜索 |
| POST | /api/v1/admin/settings | 获取所有系统设置 |
| POST | /api/v1/admin/settings/{key} | 获取单个系统设置 |
| POST | /api/v1/admin/settings/{key}/delete | 删除系统设置 |
| POST | /api/v1/admin/settings/{key}/update | 设置系统设置 |
| POST | /api/v1/admin/settings/batch | 批量设置系统设置 |
| POST | /api/v1/admin/stats | 获取论坛统计数据 |
| POST | /api/v1/admin/trash/comments/{id}/restore | 恢复评论 |
| POST | /api/v1/admin/trash/comments/list | 回收站评论列表 |
| POST | /api/v1/admin/trash/posts/{id}/restore | 恢复帖子 |
| POST | /api/v1/admin/trash/posts/list | 回收站帖子列表 |
| POST | /api/v1/admin/trust/recompute | 全量重算 |
| POST | /api/v1/admin/user/{id}/activities | 获取用户活动记录 |
| POST | /api/v1/admin/users/{id}/approve_registration | 审批注册 |
| GET | /api/v1/admin/users/{id}/xp | 用户 XP 详情 |
| POST | /api/v1/admin/users/{id}/xp/adjust | 人工调整 XP |
| POST | /api/v1/admin/users/{id}/xp/adjustments/list | 人工调整记录 |
| POST | /api/v1/admin/webhooks/{id}/delete | 删除 Webhook |
| POST | /api/v1/admin/webhooks/{id}/deliveries/{deliveryId}/retry | 重投投递 |
| POST | /api/v1/admin/webhooks/{id}/deliveries/list | 投递记录列表 |
| POST | /api/v1/admin/webhooks/{id}/ping | Webhook 测试投递 |
| POST | /api/v1/admin/webhooks/{id}/update | 更新 Webhook |
| POST | /api/v1/admin/webhooks/create | 创建 Webhook |
| POST | /api/v1/admin/webhooks/list | Webhook 列表 |
| POST | /api/v1/admin/xp-adjustments/{id}/delete | 撤销人工调整 |
| POST | /api/v1/admin/xp-rules/list | XP 规则列表 |
| POST | /api/v1/admin/xp-rules/save | 保存 XP 规则 |
| POST | /api/v1/admin/xp-rules/streak/{days}/delete | 删除连续签到阶梯 |
| POST | /api/v1/admin/xp-rules/streak/list | 连续签到阶梯 |
| POST | /api/v1/admin/xp-rules/streak/save | 保存连续签到阶梯 |
No endpoint matches that filter.
Announcements2
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/announcements/{id} | 获取公告详情 |
| POST | /api/v1/announcements/published | 已发布公告列表 |
No endpoint matches that filter.
API Keys3
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/api-keys | 创建 API Key |
| POST | /api/v1/api-keys/{id}/revoke | 吊销 API Key |
| POST | /api/v1/api-keys/list | API Key 列表 |
No endpoint matches that filter.
Authentication16
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/auth/change_password | 修改密码 |
| POST | /api/v1/auth/first_change_password | 首次修改密码 |
| POST | /api/v1/auth/forgot_password | 发送重置密码验证码 |
| POST | /api/v1/auth/login | 用户登录 |
| POST | /api/v1/auth/logout | 用户登出 |
| POST | /api/v1/auth/mfa/backup/regenerate | 重新生成备份码 |
| POST | /api/v1/auth/mfa/totp/disable | 禁用 TOTP |
| POST | /api/v1/auth/mfa/totp/enable | 启用 TOTP |
| POST | /api/v1/auth/mfa/totp/setup | 初始化 TOTP 绑定 |
| POST | /api/v1/auth/mfa/verify | MFA 登录校验 |
| POST | /api/v1/auth/refresh | 刷新会话 |
| POST | /api/v1/auth/register | 用户注册 |
| POST | /api/v1/auth/reset_password | 重置密码(管理员) |
| POST | /api/v1/auth/reset_password_by_code | 通过验证码重置密码 |
| POST | /api/v1/auth/send_verify_email | |
| POST | /api/v1/auth/verify_email |
No endpoint matches that filter.
Badges1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/badges/list | 徽章列表 |
No endpoint matches that filter.
User Blocks1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/blocks/list |
No endpoint matches that filter.
Check-in3
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/checkin | 每日签到 |
| GET | /api/v1/checkin/history | 获取签到历史 |
| GET | /api/v1/checkin/status | 获取签到状态 |
No endpoint matches that filter.
Comments4
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/comments/{id} | 评论详情 |
| POST | /api/v1/comments/{id}/delete | 管理员删除评论 |
| POST | /api/v1/comments/{id}/revisions/{revisionId}/restore | 恢复评论版本 |
| POST | /api/v1/comments/{id}/revisions/list | 评论修订历史 |
No endpoint matches that filter.
Contents3
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/contents/{contentId}/like | 内容点赞/取消点赞 |
| POST | /api/v1/contents/{contentId}/like/status | 获取内容点赞状态 |
| POST | /api/v1/contents/{contentId}/replies | 子回复列表 |
No endpoint matches that filter.
Customization1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/customization/public | 前台自定义聚合 |
No endpoint matches that filter.
Dashboard1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/dashboard | 首页聚合数据 |
No endpoint matches that filter.
Drafts3
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/drafts/{id}/delete | 删除草稿 |
| POST | /api/v1/drafts/list | 草稿列表 |
| POST | /api/v1/drafts/save | 保存草稿 |
No endpoint matches that filter.
Favorites1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/favorites/list | 用户收藏列表 |
No endpoint matches that filter.
Groups9
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/groups/{id}/delete | 删除用户组 |
| POST | /api/v1/groups/{id}/members/add | 添加组成员 |
| POST | /api/v1/groups/{id}/members/list | 组成员列表 |
| POST | /api/v1/groups/{id}/members/remove | 移除组成员 |
| POST | /api/v1/groups/{id}/permissions | 获取组权限 |
| POST | /api/v1/groups/{id}/permissions/sync | 同步组权限 |
| POST | /api/v1/groups/{id}/update | 更新用户组 |
| POST | /api/v1/groups/create | 创建用户组 |
| POST | /api/v1/groups/list | 用户组列表 |
No endpoint matches that filter.
Health1
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/health | 健康检查 |
No endpoint matches that filter.
RSS1
| Method | Path | Description |
|---|---|---|
| GET | /latest.rss | 获取最新帖子 RSS |
No endpoint matches that filter.
Leaderboard1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/leaderboard/list | 排行榜 |
No endpoint matches that filter.
Levels1
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/levels | 等级名称(公开) |
No endpoint matches that filter.
Messages5
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/messages/conversations/{id}/messages/create | 发送私信 |
| POST | /api/v1/messages/conversations/{id}/messages/list | 私信消息列表 |
| POST | /api/v1/messages/conversations/{id}/read | 标记私信已读 |
| POST | /api/v1/messages/conversations/create | 发起私信 |
| POST | /api/v1/messages/conversations/list | 私信会话列表 |
No endpoint matches that filter.
Motions7
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/motions/{id} | 动议详情 |
| POST | /api/v1/motions/{id}/delete | 撤回动议 |
| POST | /api/v1/motions/{id}/resolve | 结算动议 |
| POST | /api/v1/motions/{id}/status | 动议状态变更 |
| POST | /api/v1/motions/{id}/vote | 动议投票 |
| POST | /api/v1/motions/create | 发起自治动议 |
| POST | /api/v1/motions/list | 动议列表 |
No endpoint matches that filter.
Notifications6
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/notifications/{id}/delete | 删除通知 |
| POST | /api/v1/notifications/{id}/read | 标记通知已读 |
| POST | /api/v1/notifications/list | 获取通知列表 |
| POST | /api/v1/notifications/read_all | 标记所有通知已读 |
| POST | /api/v1/notifications/stream | SSE 推送通知 |
| POST | /api/v1/notifications/unread_count | 获取未读通知数量 |
No endpoint matches that filter.
OAuth 2.016
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/oauth/{provider}/auth | 获取OAuth授权URL |
| GET | /api/v1/oauth/{provider}/callback | OAuth回调处理 |
| GET | /api/v1/oauth/{provider}/config | 获取单个OAuth提供商配置 |
| POST | /api/v1/oauth/{provider}/link | 关联OAuth账号 |
| POST | /api/v1/oauth/{provider}/unlink | 取消关联OAuth账号 |
| GET | /api/v1/oauth/accounts | 获取已关联的OAuth账号 |
| GET | /api/v1/oauth/authorize | OAuth 授权端点 |
| POST | /api/v1/oauth/authorize | OAuth 授权端点 |
| POST | /api/v1/oauth/clients | 注册 OAuth 客户端 |
| POST | /api/v1/oauth/clients/{id}/delete | 删除 OAuth 客户端 |
| POST | /api/v1/oauth/clients/{id}/reset-secret | 重置客户端密钥 |
| POST | /api/v1/oauth/clients/{id}/update | 更新 OAuth 客户端 |
| POST | /api/v1/oauth/clients/list | OAuth 客户端列表 |
| GET | /api/v1/oauth/providers | 获取所有OAuth配置 |
| POST | /api/v1/oauth/revoke | OAuth 令牌撤销 |
| POST | /api/v1/oauth/token | OAuth 令牌端点 |
No endpoint matches that filter.
Custom Pages1
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/pages/{slug} | 读取自定义页 |
No endpoint matches that filter.
Permissions8
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/permission/list | 权限列表 |
| POST | /api/v1/permission/role | 获取角色权限 |
| POST | /api/v1/permission/space | 获取版块角色权限 |
| POST | /api/v1/permission/space/clear | 清除版块角色权限覆盖 |
| POST | /api/v1/permission/space/effective | 获取版块有效权限(继承) |
| POST | /api/v1/permission/space/sync | 设置版块角色权限覆盖 |
| POST | /api/v1/permission/space/tree | 获取版面权限树(有效) |
| POST | /api/v1/permission/sync | 同步角色权限 |
No endpoint matches that filter.
Posts29
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/posts/{id} | 获取帖子详情 |
| POST | /api/v1/posts/{id}/close | 关闭或打开话题 |
| POST | /api/v1/posts/{id}/delete | 删除帖子 |
| GET | /api/v1/posts/{id}/detail | 获取帖子详情(含正文) |
| POST | /api/v1/posts/{id}/feature | 设为精华 |
| POST | /api/v1/posts/{id}/lock | 切换帖子锁定 |
| POST | /api/v1/posts/{id}/pin | 切换帖子置顶 |
| POST | /api/v1/posts/{id}/pin/remove | 取消置顶 |
| POST | /api/v1/posts/{id}/pin/set | 设置置顶 |
| POST | /api/v1/posts/{id}/read | 标记话题已读 |
| POST | /api/v1/posts/{id}/revisions/{revisionId}/restore | 恢复帖子版本 |
| POST | /api/v1/posts/{id}/revisions/list | 帖子修订历史 |
| POST | /api/v1/posts/{id}/status | 变更帖子状态 |
| POST | /api/v1/posts/{id}/suggestions | 相关主题 |
| POST | /api/v1/posts/{id}/update | 更新帖子 |
| POST | /api/v1/posts/{postId}/contents/{id}/delete | 删除内容 |
| POST | /api/v1/posts/{postId}/contents/{id}/update | 编辑内容 |
| POST | /api/v1/posts/{postId}/contents/create | 创建评论/回复 |
| POST | /api/v1/posts/{postId}/contents/list | 帖子评论列表 |
| POST | /api/v1/posts/{postId}/favorite | 帖子收藏/取消收藏 |
| POST | /api/v1/posts/{postId}/favorite/status | 获取帖子收藏状态 |
| POST | /api/v1/posts/{postId}/tags | 获取帖子标签 |
| POST | /api/v1/posts/{postId}/tags/set | 设置帖子标签 |
| POST | /api/v1/posts/batch | 批量获取帖子 |
| POST | /api/v1/posts/comments/list | 全局评论列表 |
| POST | /api/v1/posts/create | 创建帖子 |
| POST | /api/v1/posts/list | 帖子列表 |
| POST | /api/v1/posts/pinned/list | 置顶帖子列表 |
| POST | /api/v1/posts/search | 搜索帖子 |
No endpoint matches that filter.
Realtime1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/realtime/stream | 通用实时流 (SSE) |
No endpoint matches that filter.
Reports5
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/reports/{id} | 举报详情 |
| POST | /api/v1/reports/{id}/delete | 删除举报 |
| POST | /api/v1/reports/{id}/status | 更新举报状态 |
| POST | /api/v1/reports/create | 举报内容 |
| POST | /api/v1/reports/list | 举报列表 |
No endpoint matches that filter.
robots.txt1
| Method | Path | Description |
|---|---|---|
| GET | /robots.txt | 获取 robots.txt |
No endpoint matches that filter.
Roles4
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/role/{id}/delete | 删除角色 |
| POST | /api/v1/role/{id}/update | 更新角色 |
| POST | /api/v1/role/create | 创建角色 |
| POST | /api/v1/role/list | 角色列表 |
No endpoint matches that filter.
Security3
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/security/events | 安全事件列表 |
| GET | /api/v1/security/login-history | 登录历史 |
| POST | /api/v1/security/report | 上报可疑活动 |
No endpoint matches that filter.
Sessions3
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/sessions | 会话列表 |
| POST | /api/v1/sessions/{id}/revoke | 吊销会话 |
| POST | /api/v1/sessions/logout-all | 登出全部设备 |
No endpoint matches that filter.
Settings1
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/settings/public | 获取公开设置 |
No endpoint matches that filter.
Sitemap (posts)1
| Method | Path | Description |
|---|---|---|
| GET | /sitemap-posts.xml | 获取帖子 sitemap 分片 |
No endpoint matches that filter.
Sitemap (spaces)1
| Method | Path | Description |
|---|---|---|
| GET | /sitemap-spaces.xml | 获取版面 sitemap |
No endpoint matches that filter.
Sitemap (tags)1
| Method | Path | Description |
|---|---|---|
| GET | /sitemap-tags.xml | 获取标签 sitemap |
No endpoint matches that filter.
Sitemap index1
| Method | Path | Description |
|---|---|---|
| GET | /sitemap.xml | 获取 sitemap 索引 |
No endpoint matches that filter.
Spaces15
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/spaces/{space_id} | 获取版面详情 |
| POST | /api/v1/spaces/{space_id}/ancestors | 获取祖先版面 |
| POST | /api/v1/spaces/{space_id}/breadcrumb | 获取版面面包屑 |
| POST | /api/v1/spaces/{space_id}/children | 获取直接子版面 |
| POST | /api/v1/spaces/{space_id}/delete | 删除版面 |
| POST | /api/v1/spaces/{space_id}/descendants | 获取后代版面 |
| POST | /api/v1/spaces/{space_id}/move | 移动版面 |
| POST | /api/v1/spaces/{space_id}/status | 切换版面状态 |
| POST | /api/v1/spaces/{space_id}/subtree | 获取版面子树 |
| POST | /api/v1/spaces/{space_id}/update | 更新版面 |
| POST | /api/v1/spaces/create | 创建版面 |
| POST | /api/v1/spaces/flat | 获取版面平铺列表 |
| POST | /api/v1/spaces/reorder | 版面同级重排 |
| POST | /api/v1/spaces/roots | 获取根版面 |
| POST | /api/v1/spaces/tree | 获取版面树 |
No endpoint matches that filter.
OIDC SSO3
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/sso/authorize | OIDC 授权端点 |
| POST | /api/v1/sso/token | OIDC 令牌端点 |
| GET | /api/v1/sso/userinfo | OIDC UserInfo |
No endpoint matches that filter.
Tags4
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/tags/{id}/delete | 删除标签 |
| POST | /api/v1/tags/{id}/update | 更新标签 |
| POST | /api/v1/tags/create | 创建标签 |
| POST | /api/v1/tags/list | 标签列表 |
No endpoint matches that filter.
Themes3
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/themes/list | 主题列表 |
| POST | /api/v1/themes/preference | 读取主题偏好 |
| POST | /api/v1/themes/preference/update | 设置主题偏好 |
No endpoint matches that filter.
Uploads7
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/upload | 上传文件 |
| GET | /api/v1/upload/{id} | 获取文件 |
| POST | /api/v1/upload/{id}/delete | 删除文件 |
| POST | /api/v1/upload/confirm | 确认上传完成 |
| GET | /api/v1/upload/file/{key} | 根据存储 key 获取上传文件 |
| POST | /api/v1/upload/list | 上传列表 |
| POST | /api/v1/upload/presign | 获取预签名上传信息 |
No endpoint matches that filter.
User Profile18
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/user/{id} | 获取指定用户信息 |
| POST | /api/v1/user/{id}/activity | 获取用户活跃度数据 |
| POST | /api/v1/user/{id}/badges/list | 用户徽章 |
| POST | /api/v1/user/{id}/banned | 禁言用户 |
| POST | /api/v1/user/{id}/banned/overview | 用户禁言概览 |
| POST | /api/v1/user/{id}/banned/status | 获取用户禁言记录 |
| POST | /api/v1/user/{id}/delete | 删除用户 |
| GET | /api/v1/user/{id}/profile | 获取用户公开资料 |
| POST | /api/v1/user/{id}/role/update | 修改用户角色 |
| POST | /api/v1/user/{id}/space/{space_id}/banned | 版面禁言用户 |
| POST | /api/v1/user/{id}/space/{space_id}/banned/status | 获取版面禁言状态 |
| POST | /api/v1/user/{id}/space/{space_id}/unbanned | 解除版面禁言 |
| POST | /api/v1/user/{id}/trust_level/update | 更新用户信任等级 |
| POST | /api/v1/user/{id}/unbanned | 解禁用户 |
| POST | /api/v1/user/list | 用户列表 |
| GET | /api/v1/user/profile | 获取当前用户信息 |
| POST | /api/v1/user/profile/update | 更新当前用户信息 |
| POST | /api/v1/user/search | 搜索用户 |
No endpoint matches that filter.
Users and Relations9
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/users/{userId}/block | |
| POST | /api/v1/users/{userId}/block/status | |
| POST | /api/v1/users/{userId}/counts | 获取关注计数 |
| POST | /api/v1/users/{userId}/follow | 关注用户 |
| POST | /api/v1/users/{userId}/follow/status | 获取关注状态 |
| GET | /api/v1/users/{userId}/followers | 粉丝列表 |
| GET | /api/v1/users/{userId}/following | 关注列表 |
| POST | /api/v1/users/{userId}/unblock | |
| POST | /api/v1/users/{userId}/unfollow | 取消关注 |
No endpoint matches that filter.
Watches4
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/watches/delete | 取消关注 |
| POST | /api/v1/watches/list | 关注列表 |
| POST | /api/v1/watches/set | 设置关注 |
| POST | /api/v1/watches/status | 查询关注状态 |
No endpoint matches that filter.