This web service returns all default locales set for the portal.
| Method | Endpoint |
|---|---|
GET |
|
It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.
Response body
{
"defaultUiLocale": {
"lang": "en",
"region": "US"
},
"defaultContentLocale": {
"lang": "en",
"region": "US"
},
"defaultRegions": [
{
"lang": "en",
"region": "US"
},
{
"lang": "sq",
"region": "AL"
},
{
"lang": "ar",
"region": "MA"
},
{
"lang": "hy",
"region": "AM"
},
{
"lang": "vi",
"region": "VN"
}
]
}
| Parameter | Type | Description |
|---|---|---|
defaultUiLocale |
Object | The default language ISO code for the portal interface. |
defaultContentLocale |
Object | The default language ISO code for the portal content. |
defaultRegions |
Array | ISO codes for default regional languages. For example, if users upload content with a ft:locale metadata value set to en, Fluid Topics completes en with the configured default region: US. The value of the ft:locale metadata becomes en-US. |
| Return code | Description |
|---|---|
200 OK |
Returns 0 or more results. |