Add field changes in webhook documentation

This commit is contained in:
Frederic Guillot
2015-06-14 12:05:21 -04:00
parent 9b399951f4
commit b56b7fd315

View File

@@ -122,7 +122,7 @@ Task modification:
"date_completed": null, "date_completed": null,
"score": "0", "score": "0",
"date_due": "0", "date_due": "0",
"category_id": "0", "category_id": "2",
"creator_id": "1", "creator_id": "1",
"date_modification": 1431991603, "date_modification": 1431991603,
"reference": "", "reference": "",
@@ -139,10 +139,15 @@ Task modification:
"recurrence_parent": null, "recurrence_parent": null,
"recurrence_child": null, "recurrence_child": null,
"task_id": "1" "task_id": "1"
"changes": {
"category_id": "2"
}
} }
} }
``` ```
Task update events have a field called `changes` that contains updated values.
Move a task to another column: Move a task to another column:
```json ```json