Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

trello api update checkitem state

Tags:

trello

state

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 :(

like image 780
user1920156 Avatar asked Aug 31 '25 02:08

user1920156


1 Answers

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.

like image 153
wooz16 Avatar answered Sep 03 '25 10:09

wooz16