Update web-admin routes

This commit is contained in:
Daniel Supernault 2024-10-18 03:14:35 -06:00
parent c4b5148b17
commit 956b14cf69
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -148,6 +148,11 @@ Route::domain(config('pixelfed.domain.admin'))->prefix('i/admin')->group(functio
Route::post('instances/refresh-stats', 'AdminController@postInstanceRefreshStatsApi'); Route::post('instances/refresh-stats', 'AdminController@postInstanceRefreshStatsApi');
Route::get('instances/download-backup', 'AdminController@downloadBackup'); Route::get('instances/download-backup', 'AdminController@downloadBackup');
Route::post('instances/import-data', 'AdminController@importBackup'); Route::post('instances/import-data', 'AdminController@importBackup');
Route::get('reports/moderated-profiles', 'AdminController@getModeratedProfiles');
Route::post('reports/moderated-profiles/update', 'AdminController@updateModeratedProfile');
Route::post('reports/moderated-profiles/create', 'AdminController@createModeratedProfile');
Route::get('reports/moderated-profiles/show', 'AdminController@getModeratedProfile');
Route::post('reports/moderated-profiles/delete', 'AdminController@deleteModeratedProfile');
Route::get('reports/stats', 'AdminController@reportsStats'); Route::get('reports/stats', 'AdminController@reportsStats');
Route::get('reports/all', 'AdminController@reportsApiAll'); Route::get('reports/all', 'AdminController@reportsApiAll');
Route::get('reports/remote', 'AdminController@reportsApiRemote'); Route::get('reports/remote', 'AdminController@reportsApiRemote');