/api/v2/bpm/projects/{project_id}
Метод обновляет информацию о проекте по ID
Path Parameters
- project_id integer required
ID проекта
Example: 359
- application/json
Request Body
- name string required
Possible values:
non-empty
and<= 255 characters
Наименование проекта
- instanceId int64 required
ID инстанса
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "Successful",
"response": {},
"preparingsTime": 0.074
}
Bad Request
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
400(404)
{
"status": 0,
"message": "Project with id=\"10000\" not found",
"response": {},
"preparingsTime": 0.047
}
400
{
"status": 0,
"message": {
"name": [
"This field may not be null."
],
"instanceId": [
"This field may not be null."
]
},
"response": {},
"preparingsTime": 0.036
}
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...