System Information
- Strapi Version: 4.4.4
- Operating System: Windows / Ubuntu
- Database: Postgres
- Node Version: 16.16.0
- NPM Version: 8.17.0
- Plugins installed: strapi-plugin-country-select, strapi-plugin-deepl, strapi-plugin-publisher, strapi-plugin-request-id, @retikolo/drag-drop-content-type, @_sh/strapi-plugin-ckeditor, @strapi/plugin-i18n, @strapi/plugin-graphql
Hello,
Default limit for REST API isn’t working at it should.
GET http://localhost:1337/content-manager/collection-types/api::territory.territory
This request returns only 10 entries, when api.js is configured for 50.
I precise that I have more than 10 entries for this collection.
Here is my config/api.js
module.exports = ({ env }) => ({
rest: {
defaultLimit: 50,
maxLimit: 100,
},
});
Have you a solution ?
Thank’s