mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Started core API route work
This commit is contained in:
20
app/Config/api.php
Normal file
20
app/Config/api.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?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),
|
||||
|
||||
];
|
Reference in New Issue
Block a user