v1
latestOpenAPI 3.1.02026-07-14159142161.9 KBtasksService
Edit task by id
Edit task by id
patch/tasks/v1/tasks/{taskId}
Request body
Example request
{
"scheduler": {
"period": "day",
"every": 1246,
"hour_start": 1246,
"deadline_hour": 1246,
"deadline_day": 1246,
"day_of_week": 1246,
"date_stop": 1246,
"iteration": 12,
"timezone_offset": 1246
}
}Response
OK
Example response
{
"id": "5",
"parentId": "2",
"title": "Describe swagger api for tasksService",
"deadline": 1654180120,
"closedDate": 1654180120,
"createdBy": "1",
"closedBy": "1",
"createdDate": 1654180120,
"responsibleId": "1",
"body": "<b>need use swagger-ui@4.x</b>",
"kanbanStageId": "2",
"acceptResult": true,
"requiredResult": true,
"resultCommentId": "1",
"departmentId": "1",
"groupId": "1",
"setterId": "1",
"timeEstimate": 1654180120,
"templateId": "2",
"taskType": "task",
"files": [
{
"id": 1,
"entityType": "post",
"entityId": 1,
"uploadId": "369c4620-adee-4526-a0d8-a1db20bcf5b2",
"originalFilename": "sample.jpg",
"lastModified": 1664629542,
"size": 123456,
"url": "https://aws.s3.amazonaws.com/my-bucket/61/dd/61ddc0045c05ba7537b63e63184b9203.jpg"
}
]
}