mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 09:17:03 +00:00
13 lines
325 B
PHP
13 lines
325 B
PHP
<?php
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
Route::post('/users/{username}/inbox', 'FederationController@userInbox');
|
|
|
|
|
|
Route::group(['prefix' => 'api'], function() {
|
|
Route::group(['prefix' => 'v1'], function() {
|
|
Route::post('apps', 'Api\ApiV1Controller@apps');
|
|
Route::get('instance', 'Api\ApiV1Controller@instance');
|
|
});
|
|
});
|