I would like to use the Trello API to update the state of checkItem.
Here is my PUT:
URL: cards/50d3791447d8a71f52000243/checklist/50d3841d65296725520002a0/checkItem/50d384e9c027149d3300074b/state
fields: idCheckList=50d3841d65296725520002a0&idCheckItem=50d384e9c027149d3300074b&value=true
Here is the API reference:
https://trello.com/docs/api/card/index.html#put-1-cards-card-id-or-shortlink-checklist-idchecklist-checkitem-idcheckitem-state
Every other requests are work correct, but something wrong with this, and I don't know what :(
PUT /1/cards/[card id or shortlink]/checklist/[idChecklist]/checkItem/[idCheckItem]/state is the URI.
https://api.trello.com/1/cards/[card id]/checklist/[checklist id]/checkItem/[checkitem id]/state?key=[your api key]&token=[your trello token]&value=false
This would return 200 OK and update the checkitem as incomplete/unchecked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With