How to retrieve all archived cards on a board through the Trello API?

妖精的绣舞 提交于 2019-12-09 09:46:02

问题


The following question was asked on the Trello API board.

I thought I'd add it here.

How can I obtain all archived cards on a board?


回答1:


You can achieve this through use of the [filter] option on the boards endpoint:

/1/boards/[boardId]/cards?filter=closed&key=[your appKey]

It's the closed=true part that does the trick. It directs the API to only return cards which have been archived. I'm fairly certain it includes cards in archived lists, but I'm not 100% sure.



来源:https://stackoverflow.com/questions/16311236/how-to-retrieve-all-archived-cards-on-a-board-through-the-trello-api

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