/api/v2/bpm/multilang/langs
Метод добавляет язык в систему
- application/json
Request Body
- name string required
Possible values:
non-empty
and<= 255 characters
Новый язык для перевода
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "Language was created successfully",
"response": {},
"preparingsTime": 1.752
}
Bad Request
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
- example-2
Schema
- object
{}
400
{
"status": 0,
"message": "Request body must not be empty",
"response": {},
"preparingsTime": 0.031
}
400_2
{
"status": 0,
"message": {
"name": [
"This field may not be blank."
]
},
"response": {},
"preparingsTime": 0.054
}
400_3
{
"status": 0,
"message": {
"name": [
"This field may not be null."
]
},
"response": {},
"preparingsTime": 0.035
}
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.01
}
Loading...