Expand API with v2 summary endpoint.

This commit is contained in:
James Cole
2023-08-06 07:04:09 +02:00
parent 46412bdc66
commit ffd8aef35f
14 changed files with 1073 additions and 7 deletions

View File

@@ -34,6 +34,20 @@ declare(strict_types=1);
// }
//);
/**
* V2 API route for Summary boxes
*/
// BASIC
Route::group(
[
'namespace' => 'FireflyIII\Api\V2\Controllers\Summary',
'prefix' => 'v2/summary',
'as' => 'api.v2.summary.',
],
static function () {
Route::get('basic', ['uses' => 'BasicController@basic', 'as' => 'basic']);
}
);
/**
* V2 API route for TransactionList API endpoints
*/