<?php

namespace App\Domain\Setting\Infrastructure\ApiPlatform\Resource;

use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;
use App\Domain\Setting\Infrastructure\ApiPlatform\State\Provider\ExportContentSourceStateProvider;

#[ApiResource(
    shortName: 'ContentSource',
    operations: [
        new Get(
            uriTemplate: '/content-sources/export',
            provider: ExportContentSourceStateProvider::class,
            description: 'Exporte toutes les sources de contenu au format JSON'
        )
    ]
)]
class ExportContentSourceResource
{
}
