mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
actor fetching :)
Stash / ADultVideoAPI
This commit is contained in:
@@ -19,6 +19,11 @@ $app->group('/api', function (RouteCollectorProxy $apiGroup) {
|
||||
$playniteGroup->post('/image/base64', 'App\Controllers\Api\PlayniteController:uploadImages')->setName('api.playnite.images');
|
||||
});
|
||||
|
||||
// Actor API endpoints
|
||||
$apiGroup->group('/actors', function (RouteCollectorProxy $actorGroup) {
|
||||
$actorGroup->post('/fetch-stash', 'App\Controllers\ActorController:fetchStashData')->setName('api.actors.fetch-stash');
|
||||
});
|
||||
|
||||
// User authentication check (requires authentication)
|
||||
$apiGroup->get('/v1/users/me', 'App\Controllers\Api\AuthController:checkAuth')->setName('api.auth.check')->add('App\Http\Middleware\AuthMiddleware');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user