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.
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to help, Pedro.
Edit: Logged in with a different username today.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.