https://dev.app.pol-crm.com/api/products/product_84262/form

App\Model\Product\Product Resource class

Resource Metadata

Short name: "Product"

Item operations Attributes
get
[
  "normalization_context" => [
    "groups" => [
      "product:read"
    ]
  ]
  "security" => "is_granted(constant('App\\Voters\\ProductVoter::PRODUCT_ADD_EDIT'), 'App\Voters\ProductVoter')"
  "input" => null
  "output" => null
  "method" => "GET"
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
get_form
[
  "method" => "GET"
  "path" => "/products/{id}/form"
  "controller" => "App\Controller\Product\GetProductFormAction"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
put
[
  "deserialize" => false
  "write" => false
  "method" => "POST"
  "controller" => "App\Controller\Product\ProductDataPersisterAction"
  "input_formats" => [
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "product:read"
    ]
  ]
  "denormalization_context" => [
    "groups" => []
  ]
  "input" => null
  "output" => null
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
delete
[
  "method" => "DELETE"
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Collection operations Attributes
get
[
  "normalization_context" => [
    "groups" => [
      "product:list"
    ]
  ]
  "security" => "is_granted(constant('App\\Voters\\ProductVoter::PRODUCT_SHOW_LIST'), 'App\Voters\ProductVoter')"
  "input" => null
  "output" => null
  "method" => "GET"
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
post
[
  "deserialize" => false
  "write" => false
  "controller" => "App\Controller\Product\ProductDataPersisterAction"
  "input_formats" => [
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "product:read"
    ]
  ]
  "denormalization_context" => [
    "groups" => []
  ]
  "input" => null
  "output" => null
  "method" => "POST"
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
get_form
[
  "method" => "GET"
  "path" => "/products/form"
  "controller" => "App\Controller\Product\GetProductFormAction"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
get_search
[
  "method" => "GET"
  "path" => "/products/search/form"
  "controller" => "App\Controller\Product\GetProductSearchFormAction"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
post_search
[
  "method" => "POST"
  "deserialize" => false
  "path" => "/products/search/form"
  "normalization_context" => [
    "groups" => [
      "product:list"
    ]
  ]
  "controller" => "App\Controller\Product\PostProductSearchFormAction"
  "validate" => false
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
post_export_request
[
  "method" => "POST"
  "path" => "/v4/export/product"
  "controller" => "App\V4\Action\Export\EntityExportRequestAction"
  "swagger_context" => [
    "summary" => "Demande de création d'export de produits"
    "description" => "Demande de création d'export de produits où 'ids' sont les ids des produits et 'fields' les champs souhaités"
    "parameters" => [
      [
        "in" => "body"
        "name" => "body"
        "schema" => [
          "type" => "object"
          "properties" => [
            "ids" => [
              "type" => "array"
              "items" => [
                "type" => "string"
              ]
            ]
            "fields" => [
              "type" => "array"
              "items" => [
                "type" => "string"
              ]
            ]
          ]
        ]
      ]
    ]
    "responses" => [
      201 => [
        "description" => "Création de l'export avec succès"
        "schema" => [
          "type" => "object"
          "properties" => [
            "message" => [
              "type" => "string"
              "example" => "export_request_created"
            ]
          ]
        ]
      ]
      400 => [
        "description" => "Utilisateur non trouvé ou champs 'fields' ou 'ids' manquant dans le body request"
        "schema" => [
          "type" => "object"
          "properties" => [
            "message" => [
              "type" => "string"
              "example" => "user_not_found or missing_fields_or_ids"
            ]
          ]
        ]
      ]
      422 => [
        "description" => "Les champs 'fields' ou 'ids' du body request sont vides ou l'entité demandée est invalide"
        "schema" => [
          "type" => "object"
          "properties" => [
            "message" => [
              "type" => "string"
              "example" => "empty_fields_or_ids or entity_not_valid"
            ]
          ]
        ]
      ]
    ]
  ]
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
post_export_download
[
  "method" => "POST"
  "path" => "/v4/export/download/product/{id}"
  "controller" => "App\V4\Action\Export\EntityExportDownloadAction"
  "swagger_context" => [
    "summary" => "Demande de téléchargement d'un export produits"
    "description" => "Demande de téléchargement d'un export produits ou 'id' est le nom du fichier d'export"
    "requestBody" => []
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "type" => "string"
        "required" => "true"
      ]
    ]
    "responses" => [
      200 => [
        "description" => "Téléchargement de l'export réalisé avec succès"
      ]
      401 => [
        "description" => "Utilisateur non trouvé ou non connecté"
        "schema" => [
          "type" => "object"
          "properties" => [
            "message" => [
              "type" => "string"
              "example" => "need_authenticated"
            ]
          ]
        ]
      ]
      404 => [
        "description" => "Fichier introuvable"
        "schema" => [
          "type" => "object"
          "properties" => [
            "message" => [
              "type" => "string"
              "example" => "export_not_found"
            ]
          ]
        ]
      ]
    ]
  ]
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Filters
annotated_app_model_product_product_app_filters_paging_filter
"App\Filters\PagingFilter"
Attributes
api_allow_update
true
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.