<?php

namespace App\Http\Controllers\Api\V1;

use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;

class ReportController extends Controller
{
    public function export(string $domain, string $name): JsonResponse
    {
        return response()->json([
            'status' => 'queued',
            'domain' => $domain,
            'report' => $name,
            'formats' => ['pdf', 'xlsx', 'csv'],
        ], 202);
    }
}
