v1

latestSwagger 2.02026-07-13137761.0 MB
Locale

Get a locale

This endpoint allows you to get the information about a given locale.

get/api/rest/v1/locales/{code}

Path parameters

codestring required

Code of the resource

Response

OK

codestring required

Locale code

enabledboolean

Whether the locale is enabled

Example response

{
  "code": "en_US",
  "enable": true
}