<?php

use Illuminate\Support\Facades\Route;
use Pterodactyl\Http\Controllers\ModpackAPIController;

/*
|--------------------------------------------------------------------------
| ModpackChecker Client Routes
|--------------------------------------------------------------------------
|
| Blueprint auto-prefixes these with /api/client/extensions/modpackchecker/
| So our paths here are relative to that prefix.
|
*/

// Resulting URL: /api/client/extensions/modpackchecker/servers/{server}/check
Route::post('/servers/{server}/check', [ModpackAPIController::class, 'manualCheck']);

// Resulting URL: /api/client/extensions/modpackchecker/status
Route::get('/status', [ModpackAPIController::class, 'getStatus']);
