Which REST API call == Export JSON via Browser

Hi!

I tried to export a board using Export to JSON via browser and I have also managed to set up my tokens in order to use the REST API.

However the content of:
1. <BOARD_ID>.json downloaded via browser
2. output of getting https://api.trello.com/1/boards/<BOARD_ID>?&key=<KEY>&token=<TOKEN>

Are rather different from each other. In particular, #1 contains way more information.

I was wondering which call of the API was equivalent to downloading the board JSON info via browser.


Thanks in advance.

Regards.

1 answer

1 vote

I'm not sure that there is a single API request to export all of the contents of a board exactly as they come out of the export function.

But you can get most of the information with this single request:

https://api.trello.com/1/boards/<BOARD_ID>?key=<KEY>&token=<TOKEN>&cards=open&card_attachments=true&card_checklists=all&card_stickers=true&labels=all&labels_limit=1000&lists=open&members=all&checklists=all

Your answer helped me a lot. I just had to add '&member_fields=all&actions=all'

Happy to help, Pedro.

Edit: Logged in with a different username today.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 20, 2018 in Trello

Get inspired with Trello & earn free Gold

A blank Trello board can be both a beautiful and intimidating thing. How many lists should I have? Is creating 10 labels overkill? How can I best track my progress? Is there a way...

16,763 views 0 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you