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

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
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

193 views 4 1
Join discussion

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