Question about task state update via API
-
Hi all,
Wondering exactly what json I need to put in my PUT request to /fog/task/<IDOFOBJECT>/edit to update it.
Do I need to to include the full JSON object for the task? IE:
#!psuedocode $original_task=$(curl http://fog.home/fog/task/119) #... #edit $starting task into $updated_task #... curl -X PUT -d $updated_task http://fog.home/fog/task/119
Or can I just send the updated values? E.g:
curl -X PUT -d {"stateID": "1"} http://fog.home/fog/task/119