[]
        
(Showing Draft Content)

Languages

Languages

[GET] /api/v2/common/languages

Asynchronously queries and retrieves a list of available language packages, including both built-in and custom languages.

Response

Status Code: 200

Success

LanguagePackageModel

Status Code: 400

Bad Request

ServerPluginError

Models

Ƭ LanguagePackageModel

Represents a language package, detailing its properties such as name, language code, and version.

Name Type Description Example
idNullable string The unique identifier of the language package.
nameNullable string The name of the language package.
languageCodeNullable string The language code associated with the language package, typically in ISO 639-1 format.
supportModulesNullable string The modules supported by the language package.
displayNameNullable string The display name of the language package, used for presentation purposes.
authorNullable string The author of the language package.
versionNullable string The version of the language package.
productVersionNullable string The product version that the language package is compatible with.
isBuiltin Boolean Indicates whether the language package is built-in or custom.

Ƭ ServerPluginError

Server plugin error

Name Type Description Example
codeNullable string error code
messageNullable string error message
contextNullable string error context
innerError ServerPluginError