Expand account list

This commit is contained in:
James Cole
2024-03-04 20:41:34 +01:00
parent ea573e9434
commit 88a9bc379e
17 changed files with 581 additions and 26 deletions

View File

@@ -172,8 +172,19 @@ Route::group(
}
);
// infinite accounts list:
Route::group(
[
'namespace' => 'FireflyIII\Api\V2\Controllers\Model\Account',
'prefix' => 'v2/infinite/accounts',
'as' => 'api.v2.infinite.accounts.',
],
static function (): void {
Route::get('', ['uses' => 'IndexController@infiniteList', 'as' => 'list']);
}
);
// V2 API route for budgets and budget limits:
// TODO Validate from here down.
Route::group(
[
'namespace' => 'FireflyIII\Api\V2\Controllers\Model',