Configuration for API pagination and includes on listing

This commit is contained in:
Dane Everitt 2017-04-09 16:04:08 -04:00
parent 69dfd380ad
commit de8bbcd098
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 45 additions and 17 deletions

View file

@ -26,8 +26,24 @@ return [
*/
'paginate' => [
'frontend' => [
'servers' => 15,
'servers' => env('APP_PAGINATE_FRONT_SERVERS', 15),
],
'api' => [
'nodes' => env('APP_PAGINATE_API_NODES', 25),
'servers' => env('APP_PAGINATE_API_SERVERS', 25),
'users' => env('APP_PAGINATE_API_USERS', 25),
]
],
/*
|--------------------------------------------------------------------------
| API Options
|--------------------------------------------------------------------------
|
| Configuration options for the API.
*/
'api' => [
'allow_includes_on_list' => env('API_ALLOW_INCLUDE_ON_LIST', false),
],
/*