Authorization: Bearer ********************curl --location --request GET '/api/community/groups/feed?sort=latest&page=1&page_size=10&group_id=1' \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": 1,
"group_id": 1,
"title": "React 18新特性分享",
"content": "大家好,最近学习了React 18的新特性,包括并发模式、自动批处理等,想和大家分享一下我的学习心得。React 18引入的并发渲染机制让应用能够更好地响应用户交互,同时保持UI的流畅性。我做了一个简单的demo来测试这些新特性,发现确实在性能上有明显提升。",
"author": {
"user_id": 1,
"username": "Moemu",
"avatar_url": "https://img.snowy.moe/head.png"
},
"attachments": [
{
"type": "image",
"url": "http://127.0.0.1:8080/static/uploads/2025/11/42661d43bb514fac80adecbc95c55b87.png",
"title": "React 18",
"file_size": 111693,
"download_count": 0
},
{
"type": "url",
"url": "https://react.dev/blog/2022/03/29/react-v18",
"title": "React 18 官方发布说明",
"file_size": null,
"download_count": 0
}
],
"likes_count": 0,
"comments": [],
"created_at": "2025-11-02T09:02:55"
}
],
"pagination": {
"page": 1,
"page_size": 10,
"total": 1
}
}