ogcore/config/api_platform/PxeBootFile.yaml

40 lines
1.5 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\PxeBootFileProvider
filters:
- 'api_platform.filter.pxe_boot_file.order'
- 'api_platform.filter.pxe_boot_file.search'
ApiPlatform\Metadata\Get:
provider: App\State\Provider\PxeBootFileProvider
ApiPlatform\Metadata\Put:
provider: App\State\Provider\PxeBootFileProvider
ApiPlatform\Metadata\Patch:
provider: App\State\Provider\PxeBootFileProvider
ApiPlatform\Metadata\Post: ~
ApiPlatform\Metadata\Delete: ~
get_all:
shortName: PxeBootFile Server
description: Get collection of PxeBootFile
class: ApiPlatform\Metadata\GetCollection
method: GET
input: false
uriTemplate: /pxe-boot-files/server/get-collection
controller: App\Controller\OgBoot\PxeBootFile\GetCollectionAction
properties:
App\Entity\PxeBootFile:
id:
identifier: false
uuid:
identifier: true