Localizations

Use these methods to obtain information about the localization options available in the B2Core UI.

GET[host]/api/v2/my/localizations

Get a list of localization options

GET[host]/api/v2/my/localizations/{localizationId}

Get localization option details

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:

  • Authorization: Bearer <access_token>

GET[host]/api/v2/my/localizations

curl --location --request GET 'https://host.name/api/v2/my/localizations?limit=10&offset=0' \
--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:

  • Authorization: Bearer <access_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 'Authorization: Bearer <token>'

Response

A response contains a Localization object providing information about a specified localization option.