]> BookStack Code Mirror - bookstack/blob - app/Config/api.php
Started core API route work
[bookstack] / app / Config / api.php
1 <?php
2
3 /**
4  * API configuration options.
5  *
6  * Changes to these config files are not supported by BookStack and may break upon updates.
7  * Configuration should be altered via the `.env` file or environment variables.
8  * Do not edit this file unless you're happy to maintain any changes yourself.
9  */
10
11 return [
12
13     // The default number of items that are returned in listing API requests.
14     // This count can often be overridden, up the the max option, per-request via request options.
15     'default_item_count' => env('API_DEFAULT_ITEM_COUNT', 100),
16
17     // The maximum number of items that can be returned in a listing API request.
18     'max_item_count' => env('API_MAX_ITEM_COUNT', 500),
19
20 ];