Randomly sort API data
Simple plugin to randomly sort the data of a request.
npm install strapi-plugin-random-sort
or
yarn add strapi-plugin-random-sort
1
2
3
'random-sort': {
enabled: true,
},
Add a ?randomSort=true
as a query parameter
http://localhost:1337/api/blogs?populate=*&randomSort=true
If you found this plugin helpful give it a star?
npm install strapi-plugin-random-sort
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.