mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-19 13:01:26 +00:00
Merge pull request #839 from pixelfed/frontend-ui-refactor
Add missing route
This commit is contained in:
commit
c7638c7a07
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue