Localizations
Use these methods to obtain information about the localization options available in the B2Core UI.
GET[host]/api/v2/my/localizations |
|
GET[host]/api/v2/my/localizations/{localizationId} |
Get a list of localization options
Use this method to obtain a list of localization options available in the B2Core UI.
To obtain detailed information about a specific localization option, use a separate method to get localization option details.
Request
Header parameters:
accept-language: <string>
Accept: application/json
Authorization: Bearer <token>
GET[host]/api/v2/my/localizations
curl --location --request GET 'https://host.name/api/v2/my/localizations?limit=10&offset=0' \
--header 'accept-language: <string>' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
Response
A response contains an array of Localization objects providing information about the available localization options.
Get localization option details
Use this method to obtain detailed information about a specific localization option.
To obtain a list of available localization options, use a separate method to get a list of localization options.
Request
Header parameters:
accept-language: <string>
Accept: application/json
Authorization: Bearer <token>
Path parameters:
- localizationId required
The localization option identifier.
GET[host]/api/v2/my/localizations/{localizationId}
curl --location --request GET 'https://host.name/api/v2/my/localizations/1' \
--header 'accept-language: <string>' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
Response
A response contains a Localization object providing information about a specified localization option.