ogcore/config/api_platform/PxeBootFile.yaml

31 lines
1.1 KiB
YAML

resources:
App\Entity\PxeBootFile:
processor: App\State\Processor\PxeBootFileProcessor
input: App\Dto\Input\PxeBootFileInput
output: App\Dto\Output\PxeBootFileOutput
normalizationContext:
groups: ['default', 'pxe-boot-file:read']
denormalizationContext:
groups: ['pxe-boot-file:write']
operations:
ApiPlatform\Metadata\GetCollection:
provider: App\State\Provider\PPxeBootFileProvider
filters:
- 'api_platform.filter.pxe_boot_file.order'
- 'api_platform.filter.pxe_boot_file.search'
ApiPlatform\Metadata\Get:
provider: App\State\Provider\PxeTemplateProvider
ApiPlatform\Metadata\Put:
provider: App\State\Provider\PxeTemplateProvider
ApiPlatform\Metadata\Patch:
provider: App\State\Provider\PxeTemplateProvider
ApiPlatform\Metadata\Post: ~
ApiPlatform\Metadata\Delete: ~
properties:
App\Entity\PxeBootFile:
id:
identifier: false
uuid:
identifier: true