PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.21k stars 4.81k forks source link

API : Endpoint `GET /api/hooks/{id}` : Difference between title & name - Enpoint issue #34552

Open Progi1984 opened 12 months ago

Progi1984 commented 12 months ago

Prerequisites

Describe the bug and add attachments

The name of a hook is available in BackOffice : image

But there is a title and a name in the API image

Expected behavior

No response

Steps to reproduce

  1. Request the API with method GET /api/hooks/{id} and a valid token
  2. The name and the title are the same

PrestaShop version(s) where the bug happened

9.0.x

PHP version(s) where the bug happened

8.1

If your bug is related to a module, specify its name and its version

No response

Your company or customer's name goes here (if applicable).

@PrestaShopCorp

Progi1984 commented 12 months ago

@PrestaShop/product-council : It seems that the hook title is used nowhere in the BO.

Recommendation :