Description
When you return all of the videos from the /api/videos endpoint your API should support an optional query parameter that will change the ordering of the data
and
Acceptance criteria
Example
Please check https://lvl499c--cyf-fsa-solution.netlify.app for an example solution of this level
Description
When you return all of the videos from the
/api/videosendpoint your API should support an optional query parameter that will change the ordering of the dataand
Acceptance criteria
ascthe videos should be returned in ascending order by the number of votes. i.e. starting with the lowest number of votes.descthe videos should be returned in descending order by the number of votes. i.e. starting with the highest number of votes.Example
Please check https://lvl499c--cyf-fsa-solution.netlify.app for an example solution of this level