有没有一种方法可以通过API将整个Trello板导出为JSON? [英] Is there a way to export an entire Trello board as JSON via API?

查看:191
本文介绍了有没有一种方法可以通过API将整个Trello板导出为JSON?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试比较Trello板,以突出差异.您可以通过以下方式轻松地从Trello以JSON格式下载板子:将板子的名称替换为url中的".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.

任何帮助都将不胜感激!

Any help greatly appreciated!

推荐答案

该备份路由只是GET ting /1/boards/board_id_here的同义词,具有以下参数:

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

这篇关于有没有一种方法可以通过API将整个Trello板导出为JSON?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆