https://preprod-api.milkiya.ma/api/candidates/2878

App\Entity\Candidate Resource class

Resource Metadata

Short name: "Candidate"

Item 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"
    ]
  ]
]
put
[
  "denormalization_context" => [
    "groups" => [
      "candidate:put"
    ]
  ]
  "security" => "is_granted('ROLE_MANAGER')"
  "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"
    ]
  ]
]
validate_candidate
[
  "denormalization_context" => [
    "groups" => [
      "candidate:validate"
    ]
  ]
  "security" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/candidate/{id}/validate"
  "controller" => "App\Controller\Manager\Sponsorship\ValidateCandidateController"
  "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"
    ]
  ]
]
refuse_candidate
[
  "security" => "is_granted('ROLE_MANAGER')"
  "denormalization_context" => [
    "groups" => [
      "candidate:refuse"
    ]
  ]
  "method" => "PATCH"
  "path" => "/candidate/{id}/refuse"
  "controller" => "App\Controller\Manager\Sponsorship\RefuseCandidateController"
  "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" => "is_granted('ROLE_AGENT') or is_granted('ROLE_MANAGER')"
  "validation_groups" => [
    "Default"
  ]
  "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"
    ]
  ]
]
Filters
annotated_app_entity_candidate_api_platform_core_bridge_doctrine_orm_filter_search_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter"
annotated_app_entity_candidate_api_platform_core_bridge_doctrine_orm_filter_order_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter"
annotated_app_entity_abstract_people_app_filter_contact_city_filter
"App\Filter\ContactCityFilter"
annotated_app_entity_abstract_people_api_platform_core_bridge_doctrine_orm_filter_search_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter"
annotated_app_entity_abstract_people_api_platform_core_bridge_doctrine_orm_filter_date_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter"
Attributes
pagination_items_per_page
10
formats
[
  0 => "jsonld"
  1 => "json"
  2 => "html"
  3 => "jsonhal"
  "csv" => [
    "text/csv"
  ]
]
security
"is_granted('ROLE_AGENT') or is_granted('ROLE_MANAGER')"
normalization_context
[
  "groups" => [
    "candidate:read"
  ]
  "swagger_definition_name" => "Read"
]
denormalization_context
[
  "groups" => [
    "candidate:write"
  ]
  "swagger_definition_name" => "Write"
  "skip_null_values" => true
]
skip_null_values
true
pagination_client_enabled
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.