API 文档
Orvenixa REST API 参考。所有接口基于 Cookie 会话认证(orvenixa_session)。
最后更新:2026 年 7 月 13 日
快速开始
基础 URL:https://你的域名.com
认证方式:登录后自动设置 HttpOnly Cookie,后续请求携带即可。
数据格式:请求与响应均为 JSON,Content-Type: application/json
前往网页版体验 →认证
POST
/api/auth/register注册(需验证码)POST
/api/auth/login登录POST
/api/auth/logout退出GET
/api/auth/me当前用户PATCH
/api/auth/profile更新资料PATCH
/api/auth/password修改密码POST
/api/auth/send-code发送注册验证码帖子
GET
/api/posts?scope=global|following动态流POST
/api/posts/发帖DELETE
/api/posts/[id]删帖POST
/api/posts/[id]/interact?type=like|repost|bookmark互动GET
/api/posts/[id]/comments评论列表POST
/api/posts/[id]/comments发表评论用户与关注
GET
/api/users用户列表GET
/api/users/[username]用户主页GET
/api/follows?userId=&list=关注数据/列表POST
/api/follows关注/取消探索与社区
GET
/api/explore热门话题GET
/api/explore?q=搜索GET
/api/communities社区列表POST
/api/communities创建社区GET
/api/communities/[id]社区详情消息与通知
GET
/api/messages会话列表POST
/api/messages创建私聊/群聊GET
/api/messages/[id]消息记录GET
/api/notifications通知列表其他
GET
/api/creator创作者统计POST
/api/ai/chatAI 对话SDK
官方 SDK 正在开发中,详见 SDK 页面。