-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BAP-20442: Create documentation for X-Localization-ID and X-Currency …
…headers for Storefront API (#29433)
- Loading branch information
Showing
3 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
src/Oro/Bundle/FrontendLocalizationBundle/Resources/config/services_api.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...ontendLocalizationBundle/Resources/doc/api_frontend/x_localization_id_header.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
By default, all locale sensitive data are received and returned in the locale selected for the current website. | ||
To specify another locale, use the **X-Localization-ID** request header. | ||
The list of available localization IDs can be received via the `/api/localizations` resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters