Implement API trả về dữ liệu biểu đồ xu hướng bài báo và trích dẫn theo thời gian.
{
"code": 200,
"message": "Fetch publication trends successfully",
"data": {
"timeline": ["2021", "2022", "2023", "2024", "2025", "2026"],
"series": [
{
"name": "Articles",
"data": [12000, 15000, 18500, 22000, 28000, 32950]
},
{
"name": "Citations",
"data": [85000, 110000, 142000, 190000, 250000, 310000]
}
]
}
}
🎯 Goal
Implement API trả về dữ liệu biểu đồ xu hướng bài báo và trích dẫn theo thời gian.
Reference UI: Publication Trend + Citation Mirroring Chart
📡 Endpoint
GET /analytics/trends
🧾 RESPONSE CONTRACT
🧠 BUSINESS LOGIC
1. Timeline generation
2. Series data
3. Data sources (phase 1)
📦 PERFORMANCE NOTES
🧪 ACCEPTANCE CRITERIA
🚀 FUTURE IMPROVEMENTS