App\Api\Resource\RoomDetail
Resource class
Resource Metadata
Short name: "RoomDetail"
Item operations | Attributes |
---|---|
get | [ "path" => "/reservations/{reservationGroupId}/rooms/{id}" "input" => null "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "method" => "GET" "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
company | [ "path" => "/reservations/{reservationGroupId}/rooms/{id}/company" "method" => "GET" "input" => null "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
put | [ "path" => "/reservations/{reservationGroupId}/rooms/{id}" "method" => "PUT" "input" => [ "class" => "App\Api\Dto\RoomRequest" "name" => "RoomRequest" ] "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
add_guest | [ "path" => "/reservations/{reservationGroupId}/rooms/{id}/guests/" "method" => "POST" "controller" => "App\Controller\AddGuest" "input" => [ "class" => "App\Api\Dto\AddGuestToReservationRequest" "name" => "AddGuestToReservationRequest" ] "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
remove_guest | [ "path" => "/reservations/{reservationGroupId}/rooms/{id}/guests/{guestId}" "method" => "DELETE" "input" => null "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
checkin | [ "path" => "/reservations/{reservationGroupId}/rooms/{id}/checkin" "method" => "PUT" "output" => [ "class" => null ] "input" => [ "class" => null ] "deserialize" => false "validate" => false "status" => 204 "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
checkout | [ "path" => "/reservations/{reservationGroupId}/rooms/{id}/checkout" "method" => "PUT" "input" => [ "class" => null ] "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "deserialize" => false "validate" => false "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
Collection operations | Attributes |
---|---|
get | [ "path" => "/reservations/{reservationGroupId}/rooms" "input" => null "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "method" => "GET" "stateless" => null "input_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] "output_formats" => [ "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
Filters | |
---|---|
No available filter declared for this resource. |
Attributes | |
---|---|
security | "is_granted('ROLE_API')" |
pagination_enabled | false |
output | [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] |
input | null |
Data Providers
No calls to collection data provider have been recorded.
# | Answer | Item data provider |
---|---|---|
1 | FALSE | App\Api\DataProvider\GuestItemDataProvider |
2 | TRUE | App\Api\DataProvider\RoomDetailItemDataProvider |
3 | NOT USED | ApiPlatform\Core\Bridge\Doctrine\Orm\ItemDataProvider |
Context[ "operation_type" => "item" "item_operation_name" => "get" "resource_class" => "App\Api\Resource\RoomDetail" "iri_only" => false "input" => null "output" => [ "class" => "App\Api\Dto\RoomResponse" "name" => "RoomResponse" ] "request_uri" => "/api/reservations/705969df-56f2-4850-85b8-6c3c07e1c2ae/rooms/6675c750-6388-4517-a3f2-97c07714bd50" "uri" => "https://hub-dev.czech-kiosk.com/api/reservations/705969df-56f2-4850-85b8-6c3c07e1c2ae/rooms/6675c750-6388-4517-a3f2-97c07714bd50" "has_identifier_converter" => true ] |
No calls to subresource data provider have been recorded.
Data Persisters
No calls to data persister have been recorded.