mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[UpgradeAPI] Add a note about endpoints changes
This commit is contained in:
parent
a6eb037ecd
commit
bff061dfce
1 changed files with 26 additions and 0 deletions
|
|
@ -189,6 +189,15 @@ ApiBundle is no longer experimental and is now following the same support policy
|
|||
|
||||
### Resources changes
|
||||
|
||||
1. The following endpoints short names have been changed:
|
||||
|
||||
* `AdminResetPasswordRequest` -> `Administrator`
|
||||
* `AccountResetPasswordRequest` -> `Customer`
|
||||
* `ShopUserToken` -> `Customer` and `Security`
|
||||
* `AdminUserToken` -> `Administrator` and `Security`
|
||||
* `ContactRequest` -> `Contact`
|
||||
* `VerifyCustomerAccount` -> `Customer`
|
||||
|
||||
1. The item operation path for ProductVariantTranslation resource has been changed:
|
||||
- `GET` `/admin/product-variant-translation/{id}` -> `GET` `/admin/product-variant-translations/{id}`
|
||||
|
||||
|
|
@ -200,6 +209,23 @@ ApiBundle is no longer experimental and is now following the same support policy
|
|||
|
||||
The fields those endpoint were exposing are available on their respective translation subject resources.
|
||||
|
||||
1. The following endpoints regarding authentication tokens have been changed:
|
||||
* `POST` `/admin/authentication-tokens` -> `POST` `/admin/administrators/token`
|
||||
* `POST` `/shop/authentication-tokens` -> `POST` `/shop/customers/token`
|
||||
|
||||
1. The following endpoints regarding password reset have been changed:
|
||||
* `POST` `/admin/reset-password-requests` -> `POST` `/admin/administrators/reset-password`
|
||||
* `PATCH` `/admin/reset-password-requests/{resetPasswordToken}` -> `PATCH` `/admin/administrators/reset-password/{token}`
|
||||
* `POST` `/shop/reset-password-requests` -> `POST` `/shop/customers/reset-password`
|
||||
* `PATCH` `/shop/reset-password-requests/{resetPasswordToken}` -> `PATCH` `/shop/customers/reset-password/{token}`
|
||||
|
||||
1. The following endpoints regarding customer account verification have been changed:
|
||||
* `POST` `/shop/account-verification-requests` -> `POST` `/shop/customers/verify`
|
||||
* `PATCH` `/shop/account-verification-requests/{token}` -> `PATCH` `/shop/customers/verify/{token}`
|
||||
|
||||
1. The following endpoints regarding contact requests have been changed:
|
||||
* `POST` `/shop/contact-requests` -> `POST` `/shop/contact`
|
||||
|
||||
1. Update in Translations Handling
|
||||
|
||||
The process for creating or updating translations via the API has been refined. Now, the locale for each translation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue