1
0
Fork 0
pixelfed/app/Http/Controllers/ApiController.php

30 lines
549 B
PHP
Raw Normal View History

2018-06-04 01:39:38 +00:00
<?php
namespace App\Http\Controllers;
2018-08-10 05:04:21 +00:00
use App\Http\Controllers\Api\BaseApiController;
2019-04-28 23:48:53 +00:00
use App\{
2019-04-29 04:22:03 +00:00
Follower,
2019-04-28 23:48:53 +00:00
Like,
2019-08-20 01:09:56 +00:00
Place,
2019-04-29 04:22:03 +00:00
Profile,
UserFilter
2019-04-28 23:48:53 +00:00
};
2019-12-11 06:04:03 +00:00
use Auth, Cache;
use Illuminate\Support\Facades\Redis;
2019-08-06 03:09:10 +00:00
use App\Util\Site\Config;
2018-08-28 03:07:36 +00:00
use Illuminate\Http\Request;
2018-06-04 01:39:38 +00:00
2018-08-10 05:04:21 +00:00
class ApiController extends BaseApiController
2018-06-04 01:39:38 +00:00
{
2019-03-25 03:34:25 +00:00
public function siteConfiguration(Request $request)
{
2019-08-06 03:09:10 +00:00
return response()->json(Config::get());
2018-08-10 05:04:21 +00:00
}
2019-04-28 23:48:53 +00:00
public function userRecommendations(Request $request)
{
2023-03-19 04:15:56 +00:00
return response()->json([]);
2019-08-20 01:09:56 +00:00
}
2018-06-04 01:39:38 +00:00
}