Better middleware for routes, cleaned up API, removed old API calls
New API routes for Server allow specifying which fractal objects to load into the request, thus making it possible to fine-tune what data is returned.
This commit is contained in:
parent
ddb82ac3ca
commit
97773300ed
15 changed files with 304 additions and 747 deletions
|
@ -103,4 +103,18 @@ return [
|
|||
'lang' => [
|
||||
'in_context' => env('PHRASE_IN_CONTEXT', false),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| JSON Response Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You should not edit this block. These routes are ajax based routes that
|
||||
| expect content to be returned in JSON format.
|
||||
*/
|
||||
'json_routes' => [
|
||||
'api/*',
|
||||
'daemon/*',
|
||||
'remote/*',
|
||||
],
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue