Skip to content

Magento REST calls named by their webapi route - #117

Merged
paales merged 1 commit into
mainfrom
rest-route-names
Dec 2, 2026
Merged

paales merged 1 commit into
mainfrom
rest-route-names

Conversation

@paales

@paales paales commented Dec 2, 2026

Copy link
Copy Markdown
Member

Written by 🤖:

  • A REST call gets the name of the route of webapi.xml that matched, such as POST rest /V1/products/:sku/media, and code.function.name with the service class and method.
  • Before, each REST call kept the bare method: on vivasmedica-m2-main the groups POST (80.8% of the time, the product media calls) and GET (the product and category lists).

….xml that matched, such as POST rest /V1/products/:sku/media
@paales
paales merged commit d277a1d into main Dec 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant