Closed haotianzhu closed 5 years ago
[x] Fix #55 (write the relative issue number)
[ ] Branch is up to date with master
[x] Now it's a good time for reviewing
[x] Branch should have prefix either "feature/" or "fix/"
GET api/questions ?results=10&page=2&tags[]=1&tags[]=2&quizzes[]=1&quizzes[]=2&author=1&order=ASC&sort=response
sort can be id,create_date,last_modify_date,title,author_id,response order can be ASC or DESC
sort
id,create_date,last_modify_date,title,author_id,response
order
ASC
DESC
Put 'closes #.' in your comment to auto-close the issue that your PR fixes (if such).
Could you match the query syntax in the issue, thanks.
GET /api/questions?tags%5B%5D=1&tags%5B%5D=2&sortField=responses&sortOrder=descend&page=2&results=10
Check List
[x] Fix #55 (write the relative issue number)
[ ] Branch is up to date with master
[x] Now it's a good time for reviewing
[x] Branch should have prefix either "feature/" or "fix/"
Comment
GET api/questions ?results=10&page=2&tags[]=1&tags[]=2&quizzes[]=1&quizzes[]=2&author=1&order=ASC&sort=response
sort
can beid,create_date,last_modify_date,title,author_id,response
order
can beASC
orDESC
Put 'closes #.' in your comment to auto-close the issue that your PR fixes (if such).