mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00:00
21 lines
695 B
PHP
21 lines
695 B
PHP
![]() |
<?php
|
||
|
|
||
|
/**
|
||
|
* API configuration options.
|
||
|
*
|
||
|
* Changes to these config files are not supported by BookStack and may break upon updates.
|
||
|
* Configuration should be altered via the `.env` file or environment variables.
|
||
|
* Do not edit this file unless you're happy to maintain any changes yourself.
|
||
|
*/
|
||
|
|
||
|
return [
|
||
|
|
||
|
// The default number of items that are returned in listing API requests.
|
||
|
// This count can often be overridden, up the the max option, per-request via request options.
|
||
|
'default_item_count' => env('API_DEFAULT_ITEM_COUNT', 100),
|
||
|
|
||
|
// The maximum number of items that can be returned in a listing API request.
|
||
|
'max_item_count' => env('API_MAX_ITEM_COUNT', 500),
|
||
|
|
||
|
];
|