IRPCLanguagesAdmin.AddLanguage

View as Markdown

Administration API / specialized admin session

Adds a language to the vault.

ServiceLanguage administration MFiles.IRPCLanguagesAdmin
gRPC method/MFiles.IRPCLanguagesAdmin/AddLanguage
HTTP (mf-http-grpc)POST /grpc/v1/add-language
RequestAddLanguageRequest
ResponseAddLanguageResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: AddLanguageRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
langLanguageThe new language: name and language_code (for example fi). id is ignored.
lang.idint32Language ID.
lang.namestringThe name of the language.
lang.language_codestringLanguage indentifier, e.g. the ISO 639-1 or ISO 639-2 language code such as "en" or "eng".

Response: AddLanguageResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
idint32The ID of the new language.