1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-30 10:52:18 +00:00

Update routes

This commit is contained in:
Daniel Supernault 2019-02-26 13:58:41 -07:00
parent 04d14ee006
commit 42631662dc
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -68,6 +68,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::get('nodeinfo/2.0.json', 'FederationController@nodeinfo');
Route::group(['prefix' => 'v1'], function () {
Route::get('instance', 'Api\InstanceApiController@instance');
Route::get('accounts/verify_credentials', 'ApiController@verifyCredentials');
Route::get('accounts/relationships', 'PublicApiController@relationships');
Route::get('accounts/{id}/statuses', 'PublicApiController@accountStatuses');