Board Thread:The Quarters - Q & A/@comment-202.3.77.218-20150828175749/@comment-25085701-20150828234423

All right. I got it working. Here's the sequence:

1) Use the GET /user/tasks to get the whole character tasks object.  Find your To Do and copy everything from the  { "text": "(to-do name)"  down to the } right after "type": "todo".   Do not copy the comma after the final }.

2) In a text editor, edit the checkboxes section depending on what you want the checks to be:   "completed": true or false.

3) Use the PUT /user/tasks/{id} to post up the revised to-do.  Use the "id" field in the id field, and paste the thing you copied and modified into the field.    You can also delete a checklist item by removing its block from the "checklist" [ ] list, but you can't readily add an item because you don't have a unique id generator.

I got this to work for me using the following pasted example:

{

"text": "Test",

"challenge": {},

"attribute": "str",

"priority": 1,

"value": 0,

"tags": {},

"notes": "",

"dateCreated": "2015-08-28T23:26:34.483Z",

"id": "8ca0be50-e00f-4680-909e-bc11d520ff9f",

"checklist": [

{

"text": "a1",

"id": "11c8db96-8cbd-4dc7-89f8-01d05df32879",

"completed": true

},

{

"text": "b2",

"id": "c65ffa02-900d-4e18-951e-42ed9f79954b",

"completed": true

},

{

"text": "c3",

"id": "d6cb1a03-c18f-4cc2-8506-98f5fd44d731",

"completed": false

},

{

"text": "m5",

"id": "d7c81213-4aee-1ab2-1125-54eeff53112",

"completed": true

}

],

"collapseChecklist": false,

"completed": false,

"type": "todo"

}