2026-08-25 11:42:00 +02:00
|
|
|
import type { Core } from '@strapi/strapi';
|
|
|
|
|
|
|
|
|
|
const config: Core.Config.Api = {
|
|
|
|
|
rest: {
|
|
|
|
|
defaultLimit: 25,
|
|
|
|
|
maxLimit: 100,
|
|
|
|
|
withCount: true,
|
|
|
|
|
strictParams: true,
|
|
|
|
|
},
|
|
|
|
|
documents: {
|
|
|
|
|
strictParams: true,
|
|
|
|
|
strictRelations: true,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|