🎉 欢迎访问社区 API 端点指南 🎉
以下是「community/api/endpoints」的核心内容概览,帮助您快速了解如何与社区服务进行交互:
📌 主要 API 端点列表
用户管理
GET /community/api/users
:获取所有用户信息POST /community/api/users
:创建新用户DELETE /community/api/users/<id>
:删除指定用户
话题互动
GET /community/api/topics
:浏览热门话题POST /community/api/topics
:提交新话题PUT /community/api/topics/<id>
:更新话题内容
数据统计
GET /community/api/stats
:获取社区活跃数据GET /community/api/stats/<type>
:按类型细分统计(如日/周/月)
📌 扩展阅读
如需深入了解具体端点的使用方法,请访问我们的官方文档获取详细说明。
⚠️ 注意事项
- 所有请求需携带有效
Authorization
头 - 端点
/community/api/topics
支持分页参数page=1&limit=10
- 禁止使用非法数据格式或恶意参数