有没有办法通过API将整个Trello板导出为JSON?

sil*_*hes 7 javascript api trello

我试图比较Trello板以突出差异.您可以通过在网址中用".json"替换主板名称,从Trello轻松下载JSON格式的主板:

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

但是,这需要您使用Trello进行身份验证.有没有办法直接从Trello API中获取这个精确的JSON输出?有一些方法可以从API获取每个子对象,但是我没有看到提取板的整个JSON表示以及与之相关的所有内容的方法.

任何帮助非常感谢!

Aar*_*our 6

该备份路由只是带有以下参数的GETting的同义词/1/boards/board_id_here

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

  • 为了方便起见,这些 URL 参数为 `&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 密钥: `curl 'https: //api.trello.com/1/boards/<board_id>?key=<key>&token=<token>&fields=all&actions=all&action_fields=all&actions_limit=1000&cards=all&card_fields=all&card_attachments=true&labels=all&lists=all&list_fields (3认同)