/api/v2/bpm/auth/settings/languages
??? Метод добавляет язык перевода интерфейса приложения (процесса) для пользователя. Перевод интерфейса возможен только на языки добавленные в систему через "Мультиязычность" с помощью метода /bpm/multilang/langs.
- application/json
Request Body
- lang_name string required
Possible values:
non-empty
and<= 255 characters
Язык перевода интерфейса приложения (процесса)
Responses
- 201
- 400
- 401
Created
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "Language is updated",
"response": {},
"preparingsTime": 0.085
}
Bad Request
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
- example-2
Schema
- object
{}
400
{
"status": 0,
"message": "This field is required.",
"response": {
"lang_name": [
"This field is required."
]
},
"preparingsTime": 0.032
}
400_2
{
"status": 0,
"message": "This field may not be blank.",
"response": {
"lang_name": [
"This field may not be blank."
]
},
"preparingsTime": 0.025
}
400_3
{
"status": 0,
"message": "This field may not be null.",
"response": {
"lang_name": [
"This field may not be null."
]
},
"preparingsTime": 0.031
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.004
}
Loading...