Strapi plugin logo for Random Sort

Random Sort

Randomly sort API data

Strapi plugin random-sort

Simple plugin to randomly sort the data of a request.

Installation

npm install strapi-plugin-random-sort

or

yarn add strapi-plugin-random-sort

Config

  'random-sort': {
    enabled: true,
  },

Usage

Add a ?randomSort=true as a query parameter

Example

http://localhost:1337/api/blogs?populate=*&randomSort=true

⭐️Did you find this helpful?

If you found this plugin helpful give it a star?

Install now

npm install strapi-plugin-random-sort

Last updated

128 days ago

Strapi Version

4.0 and above

Author

github profile image for Excl Networks Inc.
Excl Networks Inc.

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.