Get Locales for all Content - Fluid Topics - 3.6

Use Fluid Topics Web API

Product
Fluid Topics
FT_Version
3.6
Category
Technical Notes
language
English

This web service returns all used content locales, with the count of Knowledge Hub items for each locale.

Method

Endpoint

GET

/api/khub/locales

Return codes

Return Code

Description

200 OK

Returns 0 or more results.

500 INTERNAL SERVER ERROR

The Query Manager failed to respond.

Output Example

{
"contentLocales": [
{
"lang": "fr",
"label": "Français",
"count": 42
},
{
"lang": "zh-CN",
"label": "中文 (大陆)",
"count": 42
}
]
}

With the following parameters:

Parameter

Description

lang

The content language ISO code.

label

The language as displayed on the portal.

count

Number of Knowledge Hub items corresponding to the given language.