有没有办法通过 API 将整个 Trello 板导出为 JSON? [英] Is there a way to export an entire Trello board as JSON via API?
问题描述
我正在尝试比较 Trello 看板以突出差异.您可以通过在 url 中用.json"替换板的名称,轻松地从 Trello 下载 JSON 格式的板:
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
但是,这要求您通过 Trello 进行身份验证.有没有办法直接从 Trello API 中获得这个精确的 JSON 输出?有多种方法可以从 API 中获取每个子对象,但我没有找到一种方法来提取棋盘的整个 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.
非常感谢任何帮助!
推荐答案
那个备份路由只是 GET
ting /1/boards/board_id_here
的同义词,下面是参数:
That backup route is just a synonym for GET
ting /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
这篇关于有没有办法通过 API 将整个 Trello 板导出为 JSON?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!