Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Which REST API call == Export JSON via Browser

Fergus Incoronato September 11, 2017

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
Oscar Triscon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2017

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
pedrobicudo January 13, 2018

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

Ludable January 15, 2018

Happy to help, Pedro.

Edit: Logged in with a different username today.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events