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 votes

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 Join to answer
Community showcase
Bridget Sauer
Published Feb 02, 2018 in Trello

Atlassian User Groups: Trello edition

You’re invited to our first ever Trello User Groups   Good news for current and aspiring Trello enthusiasts! We’re launching Trello User Groups so that you can network, share ideas, solve ...

1,193 views 8 10
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot