IRPCLanguagesAdmin.ModifyLanguage
Administration API / specialized admin session idempotent
Changes the name or language code of a language.
| Service | Language administration MFiles.IRPCLanguagesAdmin |
|---|---|
| gRPC method | /MFiles.IRPCLanguagesAdmin/ModifyLanguage |
| HTTP (mf-http-grpc) | POST /grpc/v1/modify-language |
| Request | ModifyLanguageRequest |
| Response | ModifyLanguageResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | yes |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
- Requires the vault rights
change_metadata_structureandlicense_allows_modifications, and a server license that includes the languages feature. - The default language (0) and additional languages can be modified; a negative ID fails with "Access denied".
Request: ModifyLanguageRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
lang | Language | The new data of the language; id identifies the language. |
lang.id | int32 | Language ID. |
lang.name | string | The name of the language. |
lang.language_code | string | Language indentifier, e.g. the ISO 639-1 or ISO 639-2 language code such as "en" or "eng". |
Response: ModifyLanguageResponse
No fields.