trello api 更新检查项状态

use*_*156 3 api state trello

我想使用 Trello API 来更新 checkItem 的状态。

这是我的 PUT:

网址:卡片/50d3791447d8a71f52000243/checklist/50d3841d65296725520002a0/checkItem/50d384e9c027149d3300074b/state

字段: idCheckList=50d3841d65296725520002a0&idCheckItem=50d384e9c027149d3300074b&value=true

这是 API 参考:

https://trello.com/docs/api/card/index.html#put-1-cards-card-id-or-shortlink-checklist-idchecklist-checkitem-idcheckitem-state

所有其他请求都工作正常,但是这个有问题,我不知道是什么:(

小智 5

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
Run Code Online (Sandbox Code Playgroud)

这将返回 200 OK 并将检查项更新为不完整/未检查。