Task history¶
Our platform tracks changes to task fields and state for your convenience.
History entry¶
{
"id": 22,
"user_id": 3,
"task_id": 1,
"event_date": "2014-08-05 10:54:55",
"operation": "assign",
"payload": {
"tracker_id": 2470
}
}
id
- int. Entry id.user_id
- int. User id.task_id
- int. An id of the task with which this entry associated.event_date
- string date/time. Date when history event happened.operation
- string enum. Operation which happened. Can be "create", "update", "assign" or "status_change".payload
- depends on operation. Typically, contains fields which were changed during operation.
API actions¶
API base path: task/history
.
list¶
Returns history for the task with the specified id.
parameters¶
name | description | type |
---|---|---|
task_id | Id of the task. | int |
examples¶
curl -X POST 'https://api.navixy.com/v2/fsm/task/checkpoint/delete' \
-H 'Content-Type: application/json' \
-d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b", "checkpoint_id": 23144}'
https://api.navixy.com/v2/fsm/task/checkpoint/delete?hash=a6aa75587e5c59c32d347da438505fc3&checkpoint_id=23144
response¶
{
"success": true,
"list": [{
"id": 22,
"user_id": 3,
"task_id": 1,
"event_date": "2014-08-05 10:54:55",
"operation": "assign",
"payload": {
"tracker_id": 2470
}
}]
}
errors¶
- General types only.
Last update: November 25, 2020