/api/v2/bpm/multilang/aliases
Метод создает алиас - псевдоним для установки связи между текстами переводов на разные языки
Header Parameters
- Authorization stringExample: {{token}}
- application/json
Request Body
- name string required
Possible values:
non-empty
and<= 255 characters
Алиас
- instance string required
Possible values:
non-empty
and<= 255 characters
ID инстанса
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "Alias was created successfully",
"response": {},
"preparingsTime": 0.13
}
Bad Request
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
400
{
"status": 0,
"message": {
"name": [
"This field may not be blank."
],
"instance": [
"This field may not be null."
]
},
"response": {},
"preparingsTime": 0.038
}
400_2
{
"status": 0,
"message": "Request body must not be empty",
"response": {},
"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...