Trello API: vote on a card

谁说胖子不能爱 提交于 2020-01-17 01:54:44

问题


Is it possible to vote on a public card with Trello's REST API?

The documentation is not very helpful:

https://trello.com/docs/api/card/index.html

https://trello.com/docs/api/action/index.html

Thanks!


回答1:


The route you're looking for is POST /1/cards/(card id or shortlink)/membersVoted. The only valid value for value is your own member id.

In general, the best way to figure out things like this is to do the action in the web app, and watch the Network tab in your browser's dev tools to see what request it makes.



来源:https://stackoverflow.com/questions/18576765/trello-api-vote-on-a-card

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!