forked from mirror/pixelfed
Merge pull request #839 from pixelfed/frontend-ui-refactor
Add missing route
This commit is contained in:
commit
c7638c7a07
|
@ -68,8 +68,9 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
|
|
||||||
Route::group(['prefix' => 'v1'], function () {
|
Route::group(['prefix' => 'v1'], function () {
|
||||||
Route::get('accounts/verify_credentials', 'ApiController@verifyCredentials');
|
Route::get('accounts/verify_credentials', 'ApiController@verifyCredentials');
|
||||||
Route::get('accounts/{id}', 'PublicApiController@account');
|
Route::get('accounts/relationships', 'PublicApiController@relationships');
|
||||||
Route::get('accounts/{id}/statuses', 'PublicApiController@accountStatuses');
|
Route::get('accounts/{id}/statuses', 'PublicApiController@accountStatuses');
|
||||||
|
Route::get('accounts/{id}', 'PublicApiController@account');
|
||||||
Route::post('avatar/update', 'ApiController@avatarUpdate');
|
Route::post('avatar/update', 'ApiController@avatarUpdate');
|
||||||
Route::get('likes', 'ApiController@hydrateLikes');
|
Route::get('likes', 'ApiController@hydrateLikes');
|
||||||
Route::post('media', 'ApiController@uploadMedia');
|
Route::post('media', 'ApiController@uploadMedia');
|
||||||
|
|
Loading…
Reference in New Issue