Up - API Reference - Home
Requires JWT
Get all available languages for internationalization and localization.
GET /api/languages/get
Authorization: Bearer <JWT>
Authorization: <JWT>
{
"success": true,
"result": {
"languages": [
"da",
"de",
"de-at",
"de-ch",
"de-de",
"de-lu",
"el",
"en",
"en-gb",
"en-ie",
"en-us",
"es",
"es-es",
"fi",
"fr",
"fr-be",
"fr-ch",
"fr-fr",
"fr-lu",
"is",
"it",
"it-ch",
"it-it",
"lb-lu",
"nb",
"nl",
"nl-be",
"nl-nl",
"pl",
"pt",
"sv"
]
},
"data": {
"cc.languages": {
"da": "Danish",
"nl": "Dutch",
"nl-be": "Dutch (Belgium)",
"nl-nl": "Dutch (Netherlands)",
"en": "English",
"en-ie": "English (Ireland)",
"en-gb": "English (United Kingdom)",
"en-us": "English (United States of America)",
"fi": "Finnish",
"fr": "French",
"fr-be": "French (Belgium)",
"fr-fr": "French (France)",
"fr-lu": "French (Luxembourg)",
"fr-ch": "French (Switzerland)",
"de": "German",
"de-at": "German (Austria)",
"de-de": "German (Germany)",
"de-lu": "German (Luxembourg)",
"de-ch": "German (Switzerland)",
"el": "Greek",
"is": "Icelandic",
"it": "Italian",
"it-it": "Italian (Italy)",
"it-ch": "Italian (Switzerland)",
"lb-lu": "Luxembourgish (Luxembourg)",
"nb": "Norwegian",
"pl": "Polish",
"pt": "Portuguese",
"es": "Spanish",
"es-es": "Spanish (Spain)",
"sv": "Swedish"
}
}
}
languages
are available language codes, with country-dialects if available.
cc.languages
is a dictionary with entries for each language.
401
Unauthorized - missing or expired JWT
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer realm="JWT access to Unicat."
{
"success": false,
"result": {
"code": 401,
"message": "Permission denied",
"info": {}
},
"data": {}
}