v1

latestOpenAPI 3.1.02026-07-14159142161.9 KB
tasksService

Watch the task.

Watch the task. Available to users related to the task.

patch/tasks/v1/tasks/{taskId}/watch

Path parameters

taskIdstring required

Task id

Response

OK

idstring
parentIdstring
titlestring
deadlinenumber

timestamp in seconds

closedDatenumber

timestamp in seconds

createdBystring
closedBystring
createdDatenumber

timestamp in seconds

responsibleIdstring

ID of responsible person

bodystring
status'notScheduled' | 'scheduled' | 'inWork' | 'stopped' | 'inControl' | 'ready'
kanbanStageIdstring
priority'low' | 'notHigh' | 'neutral' | 'high' | 'veryHigh'
acceptResultboolean
requiredResultboolean
resultCommentIdstring
departmentIdstring

Department ID

groupIdstring

Group ID

setterIdstring
timeTrackingboolean
timeEstimatenumber

timestamp in seconds

templateboolean
templateIdstring
delegationinteger
taskTypestring
basicTaskboolean

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"
    }
  ]
}