pixelfed/routes/api.php
Daniel Supernault 7d61e0ad8d
Update routes
2019-09-20 21:29:47 -06:00

14 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');
});
});