]> BookStack Code Mirror - bookstack/blob - app/Config/api.php
do some cleanup and add doc
[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     // The number of API requests that can be made per minute by a single user.
21     'requests_per_minute' => env('API_REQUESTS_PER_MIN', 180),
22
23 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.