https://api-demo.web.milkiya.ma/api/internal/properties

App\Entity\Property Resource class

Resource Metadata

Short name: "Property"

Item operations Attributes
get
[
  "security" => "is_granted('ROLE_MANAGER') or is_granted('PROPERTY_DETAILS', object)"
  "input" => null
  "output" => null
  "method" => "GET"
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
put
[
  "security" => "is_granted('PROPERTY_EDIT', object)"
  "denormalization_context" => [
    "groups" => [
      "property:put"
    ]
  ]
  "input" => null
  "output" => null
  "method" => "PUT"
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
invalid_property
[
  "denormalization_context" => [
    "groups" => [
      "property:invalid"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/invalid"
  "controller" => "App\Controller\Manager\Property\InvalidPropertyController"
  "read" => true
  "write" => 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"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
download_technical_data_sheet
[
  "access_control" => "is_granted('ROLE_MANAGER') or is_granted('ROLE_AGENT')"
  "method" => "GET"
  "path" => "/property/{id}/technical_data_sheet"
  "controller" => "App\Controller\Agent\Property\TechnicalDataSheetController"
  "read" => true
  "write" => false
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
in_progress_property
[
  "denormalization_context" => [
    "groups" => [
      "property:in_progress"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/in_progress"
  "controller" => "App\Controller\Manager\Property\InProgressPropertyController"
  "read" => true
  "write" => 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"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
pending_property
[
  "denormalization_context" => [
    "groups" => [
      "property:in_progress"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/pending"
  "controller" => "App\Controller\Manager\Property\PendingPropertyController"
  "read" => true
  "write" => 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"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
under_compromise_property
[
  "denormalization_context" => [
    "groups" => [
      "property:under_compromise"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/under_compromise"
  "controller" => "App\Controller\Manager\Property\UnderCompromisePropertyController"
  "read" => true
  "write" => 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"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
sold_by_milkiya_property
[
  "denormalization_context" => [
    "groups" => [
      "property:sold_by_milkiya"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/sold_by_milkiya"
  "controller" => "App\Controller\Manager\Property\SoldByMilkiyaPropertyController"
  "read" => true
  "write" => 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"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
archive_property
[
  "denormalization_context" => [
    "groups" => [
      "property:property"
    ]
  ]
  "access_control" => """
    ( (is_granted('ROLE_AGENT') and object.getcollaborator() === user) or\n
                                        is_granted('ROLE_MANAGER') or is_granted('ROLE_IT') )
    """
  "method" => "PATCH"
  "path" => "/property/{id}/archive"
  "controller" => "App\Controller\Manager\Property\ArchivePropertyController"
  "read" => true
  "write" => 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"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
Collection operations Attributes
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"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
post
[
  "security_post_denormalize" => "is_granted('POST', object)"
  "input" => null
  "output" => null
  "method" => "POST"
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
milkiya_properties
[
  "access_control" => "is_granted('PUBLIC_ACCESS')"
  "normalization_context" => [
    "groups" => [
      "milkiya:read"
    ]
  ]
  "method" => "GET"
  "path" => "/internal/properties"
  "pagination_enabled" => false
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
      "application/json"
      "text/html"
    ]
    "html" => [
      "text/html"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "csv" => [
      "text/csv"
    ]
  ]
]
Filters
annotated_app_entity_property_api_platform_core_bridge_doctrine_orm_filter_order_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter"
annotated_app_entity_property_api_platform_core_bridge_doctrine_orm_filter_search_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter"
annotated_app_entity_property_api_platform_core_bridge_doctrine_orm_filter_range_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\RangeFilter"
annotated_app_entity_property_app_filter_type_mandate_in_biens_filter
"App\Filter\TypeMandateInBiensFilter"
annotated_app_entity_property_app_filter_custom_boolean_filter
"App\Filter\CustomBooleanFilter"
annotated_app_entity_property_app_filter_nullable_property_matching_filter
"App\Filter\NullablePropertyMatchingFilter"
annotated_app_entity_property_app_filter_valid_mandate_additional_property_filter
"App\Filter\ValidMandateAdditionalPropertyFilter"
annotated_app_entity_property_app_filter_number_of_room_filter
"App\Filter\NumberOfRoomFilter"
annotated_app_entity_property_app_filter_recommended_property_filter
"App\Filter\RecommendedPropertyFilter"
Attributes
pagination_client_enabled
true
pagination_items_per_page
10
order
[
  "id" => "DESC"
]
formats
[
  0 => "jsonld"
  1 => "json"
  2 => "html"
  3 => "jsonhal"
  "csv" => [
    "text/csv"
  ]
]
normalization_context
[
  "groups" => [
    "property:read"
  ]
  "swagger_definition_name" => "Read"
]
denormalization_context
[
  "groups" => [
    "property:write"
  ]
  "swagger_definition_name" => "Write"
  "skip_null_values" => true
]
skip_null_values
true
collection
[
  "pagination" => [
    "enabled_parameter_name" => "pagination"
  ]
]
input
null
output
null

Data Providers

# Answer Collection data provider
1 FALSE App\DataProvider\PersonTypeReferenceDataProvider
2 FALSE App\DataProvider\VatReferenceDataProvider
3 FALSE App\Domain\BusinessRequest\Adapters\Controllers\ApiPlatform\RequestList\DataProvider\RequestListDataProvider
4 FALSE App\Domain\EventManagement\Adapters\Controllers\ApiPlatform\GetEventList\DataProvider\EventListDataProvider
5 FALSE App\Domain\EventManagement\Adapters\Gateway\ApiPlatform\DataProvider\EventSubTypeDataProvider
6 FALSE App\Domain\EventManagement\Adapters\Gateway\ApiPlatform\DataProvider\EventTypeDataProvider
7 FALSE App\Domain\PropertyMatching\Adapters\Controller\ApiPlatform\CalculateMatching\DataProvider\PropertyMatchingResultDataProvider
8 TRUE ApiPlatform\Core\Bridge\Doctrine\Orm\CollectionDataProvider
Context
[
  "groups" => [
    "milkiya:read"
  ]
  "operation_type" => "collection"
  "collection_operation_name" => "milkiya_properties"
  "iri_only" => false
  "input" => null
  "output" => null
  "resource_class" => "App\Entity\Property"
  "request_uri" => "/api/internal/properties"
  "uri" => "https://api-demo.web.milkiya.ma/api/internal/properties"
  "skip_null_values" => true
]

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.