24 lines
694 B
YAML
24 lines
694 B
YAML
resources:
|
|
App\Entity\User:
|
|
normalization_context:
|
|
groups: ['user:read']
|
|
denormalization_context:
|
|
|
|
groups: ['user:write']
|
|
operations:
|
|
ApiPlatform\Metadata\GetCollection:
|
|
filters:
|
|
- 'api_platform.filter.user.order'
|
|
- 'api_platform.filter.user.search'
|
|
ApiPlatform\Metadata\Get: ~
|
|
ApiPlatform\Metadata\Put: ~
|
|
ApiPlatform\Metadata\Patch: ~
|
|
ApiPlatform\Metadata\Post: ~
|
|
ApiPlatform\Metadata\Delete: ~
|
|
|
|
properties:
|
|
App\Entity\User:
|
|
id:
|
|
identifier: false
|
|
uuid:
|
|
identifier: true |