We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
目前查詢遊戲的 api 是以下的 api GET /games
GET /games
[ { "id": "6496cff366371525c35a04c5", "name": "明星3缺1麻將", "img": "https://placekitten.com/300/300", "minPlayers": 4, "maxPlayers": 4, "createdOn": "2024-01-01T14:00:00Z" } ]
預計調整為可接受 query parameter GET /games?sort_by=createdOn response body 結構不變 這樣就會以 createdOn 排序由新到舊
GET /games?sort_by=createdOn
之後要實作其他的也可以用這個 query parameter 傳遞不同的值 決定如何排序
如果沒有傳遞 query parameter 就造目前系統行為 確保向下相容
Sorry, something went wrong.
kuoche1712003
No branches or pull requests
Acceptance Criteria
Tasks
The text was updated successfully, but these errors were encountered: