Closed PichuChen closed 2 years ago
原定上限100個文章的熱門文章 API 沒有回應任何文章
如果是剛啟動的伺服器,應該也是要掃描一下現有的文章列表來產生熱門文章快取?
curl -s http://localhost:8081/v1/popular-articles -H "Authorization: bearer $ACCESS_TOKEN"
然後就會發現回傳空陣列了
要有文章
Package version: cb8fb31f7a480dce1f29406be6c6d215d365c37e
我看是有文章的?
你取的是看板的API
目前看起來 GetPopularArticles
沒有實作,有意願實作歡迎參考文件實作
發生了什麼事? / The Problem
原定上限100個文章的熱門文章 API 沒有回應任何文章
如果是剛啟動的伺服器,應該也是要掃描一下現有的文章列表來產生熱門文章快取?
如何重現 / To Reproduce
curl -s http://localhost:8081/v1/popular-articles -H "Authorization: bearer $ACCESS_TOKEN"
取得目前熱門文章然後就會發現回傳空陣列了
預期的行為 / Expected behavior
要有文章
螢幕截圖 / Screenshots
開發環境 / Environment
Package version: cb8fb31f7a480dce1f29406be6c6d215d365c37e