This web service returns all used content locales, with the count of Knowledge Hub items for each locale.
Method | Endpoint |
---|---|
GET |
|
Response body
{
"contentLocales": [
{
"lang": "fr-FR",
"label": "Français",
"count": 42
},
{
"lang": "zh-CN",
"label": "中文 (大陆)",
"count": 42
}
]
}
Field | Type | Description |
---|---|---|
contentLocales |
Array | The content language ISO code. |
lang |
String | The content language ISO code. |
label |
String | The language as displayed on the portal. |
count |
Number | The number of Knowledge Hub items corresponding to the given language. |
Return code | Description |
---|---|
200 OK |
Returns 0 or more results. |