App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\Resources\EventResource
Resource class
Resource Metadata
Short name: "EventResource"
| Item operations | Attributes |
|---|---|
| get | [ "controller" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\GetEvent\GetEventApiHandler" "output" => [ "class" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\GetEvent\GetEventApiViewModel" "name" => "GetEventApiViewModel" ] "read" => false "input" => null "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] ] |
| put | [ "input" => [ "class" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\UpdateEvent\UpdateEventInput" "name" => "UpdateEventInput" ] "output" => [ "class" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\UpdateEvent\UpdateEventViewModel" "name" => "UpdateEventViewModel" ] "messenger" => "input" "denormalizationContext" => [ "event:update" ] "read" => false "method" => "PUT" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] ] |
| get_list_participants | [ "method" => "GET" "path" => "/event_resources/{id}/participants" "security" => "is_granted('ROLE_AGENT') or is_granted('ROLE_MANAGER')" "controller" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\Participant\GetListParticipants\GetListParticipantsApiHandler" "read" => false "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] ] |
| archive | [ "denormalization_context" => [ "groups" => [ "event:archive" ] ] "security" => "is_granted('ROLE_AGENT') or is_granted('ROLE_MANAGER')" "path" => "/events/{id}/archive" "method" => "PATCH" "controller" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\ArchiveEvent\ArchiveEventApiHandler" "read" => false "input" => null "output" => null "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] ] |
| Collection operations | Attributes |
|---|---|
| post | [ "input" => [ "class" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\CreateEvent\CreateEventInput" "name" => "CreateEventInput" ] "output" => [ "class" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\CreateEvent\CreateEventViewModel" "name" => "CreateEventViewModel" ] "messenger" => "input" "denormalizationContext" => [ "event:create" ] "method" => "POST" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] ] |
| get | [ "security" => "is_granted('ROLE_AGENT') or is_granted('ROLE_MANAGER')" "input" => null "output" => null "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "csv" => [ "text/csv" ] "xml" => [ "text/xml" "text/xml" "text/html" ] "jsonhal" => [ "application/hal+json" ] ] ] |
| search | [ "security" => "is_granted('ROLE_AGENT')" "controller" => "App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\SearchEvent\SearchEventApiHandler" "path" => "/events/search" "read" => false "method" => "GET" "formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] ] ] |
| Filters | |
|---|---|
| No available filter declared for this resource. |
| Attributes | |
|---|---|
| pagination_client_enabled | true |
| pagination_items_per_page | 10 |
| normalization_context | [ "groups" => [ "read" ] ] |
| denormalization_context | [ "groups" => [ "event:create" "event:update" ] ] |
| skip_null_values | true |
| collection | [ "pagination" => [ "enabled_parameter_name" => "pagination" ] ] |
| input | null |
| output | null |
Data Providers
No calls to collection data provider have been recorded.
No calls to item data provider have been recorded.
No calls to subresource data provider have been recorded.
Data Persisters
No calls to data persister have been recorded.