Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add new chart API endpoints.
James Cole714479837799
diff --git a/routes/api.php b/routes/api.phpindex 71a3f4b35b..8c626692dd 100644--- a/routes/api.php+++ b/routes/api.php@@ -138,7 +138,7 @@ Route::group(});-+// CHART ROUTESRoute::group(['middleware' => ['auth:api', 'bindings'], 'namespace' => 'FireflyIII\Api\V1\Controllers\Chart', 'prefix' => 'chart/account','as' => 'api.v1.chart.account.'],@@ -150,6 +150,16 @@ Route::group(});+Route::group(+ ['middleware' => ['auth:api', 'bindings'], 'namespace' => 'FireflyIII\Api\V1\Controllers\Chart', 'prefix' => 'chart/ab',+ 'as' => 'api.v1.chart.ab.'],+ function () {++ // Overview API routes:+ Route::get('overview/{availableBudget}', ['uses' => 'AvailableBudgetController@overview', 'as' => 'overview']);+ }+);+Route::group(['middleware' => ['auth:api', 'bindings'], 'namespace' => 'FireflyIII\Api\V1\Controllers', 'prefix' => 'configuration', 'as' => 'api.v1.configuration.'],function () {@@ -228,6 +238,7 @@ Route::group(// Preference API routes:Route::get('', ['uses' => 'PreferenceController@index', 'as' => 'index']);+ Route::get('{preference}', ['uses' => 'PreferenceController@show', 'as' => 'show']);Route::put('{preference}', ['uses' => 'PreferenceController@update', 'as' => 'update']);});