Skip to content

Language Pack

  • Endpoint Path: /api/fresns/v1/global/language-pack
  • Method: GET
  • Request: Query

Headers Optional Parameter

KeyPublic Mode (Required)Private Mode (Required)
X-Fresns-Aidoptionaloptional
X-Fresns-Aid-Tokenoptionaloptional
X-Fresns-Uidoptionaloptional
X-Fresns-Uid-Tokenoptionaloptional

Query Params

KeyTypeRequiredDescription
langTagStringoptionalIf null, use the request header X-Fresns-Client-Lang-Tag

Request Description

Return

json
{
    "code": 0,
    "message": "ok",
    "data": {
        "keyName": "keyValue",
        "language": "Language",
        "appearance": "Appearance",
        "switchLanguage": "Switch Language",
        "switchUser": "Switch User",
    }
}

Released under the Apache-2.0 License