Is there a way to export an entire Trello board as JSON via API?

你离开我真会死。 提交于 2020-07-17 06:41:23

问题


I'm trying to compare Trello boards in order to highlight differences. You can easily download a board in JSON format from Trello by replacing the board's name with ".json" in the url:

http://trello.com/b/board_id_here.json

This requires you to be authenticated with Trello, however. Is there a way to get this exact JSON output directly out of the Trello API? There are ways of getting each of the child objects from the API, but I don't see a way to extract an entire JSON representation of the board and everything related to it.

Any help greatly appreciated!


回答1:


That backup route is just a synonym for GETting /1/boards/board_id_here with the following parameters:

fields: "all"
actions: "all"
action_fields: "all"
actions_limit: 1000
cards: "all"
card_fields: "all"
card_attachments: true
labels: "all"
lists: "all"
list_fields: "all"
members: "all"
member_fields: "all"
checklists: "all"
checklist_fields: "all"
organization: false


来源:https://stackoverflow.com/questions/31390311/is-there-a-way-to-export-an-entire-trello-board-as-json-via-api

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