Add API route to move transactions from one account to another.

This commit is contained in:
James Cole
2021-04-03 13:56:45 +02:00
parent 51f3b17ad2
commit 468a53d587
5 changed files with 186 additions and 1 deletions

View File

@@ -90,6 +90,15 @@ Route::group(
}
);
// Bulk update Account routes
Route::group(
['namespace' => 'FireflyIII\Api\V1\Controllers\Data\Bulk', 'prefix' => 'data/bulk/accounts',
'as' => 'api.v1.data.bulk.',],
static function () {
Route::post('transactions', ['uses' => 'AccountController@moveTransactions', 'as' => 'accounts.move-transactions']);
}
);
/**
* INSIGHTS ROUTES
*/