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

Export As JSON (API Key)

Samuel Smith November 8, 2018

Hello, I want to know how the JSON file of "Export as JSON" is composed by means of GET functions of the Trello development page.
I have seen some GETs but none are like the one Trello does automatically.

I'm sorry about my English.

I look forward to your answers, greetings.

 

 

1 answer

0 votes
Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2018

@Samuel Smith I don't really understand the question, are you able to link to some resources that describe what you're referring to and give me an idea of what you're trying to achieve?

Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2018

@Samuel Smith okay so that's the API call that you wanted and the problem is now resolved? Or do you still have a question.

What would you like to know about the JSON returned from that API call?

Deleted user December 31, 2018

I'm having the same issue, but @Samuel Smith's fix doesn't totally do it.  Basically, I'm trying to mimic the export functionality provided by https://trello.com/b/{board_id}.json using the Trello API call.

I use the following link: https://api.trello.com/1/boards/{board_id}?key={api_key}&token={api_token}&fields=all&actions=all&action_fields=all&actions_limit=1000&cards=all&memberships=all&labels=all&card_fields=all&card_attachments=true&lists=all&list_fields=all&members=all&member_fields=all&checklists=all&checklist_fields=all&customFieldItems=all&organization=false

 

 

But when I run a diff of that output vs. what I get from using Trello's built-in export functionality at https://trello.com/b/{board_id}.json, I'm missing the following fields on all the cards:

  1. email
  2. pluginData
  3. customFieldItems 

Any ideas?  I've read that maybe emails aren't shown for security reasons (see https://stackoverflow.com/questions/42247377/trello-api-e-mail-address-of-my-card-returns-null) but that doesn't explain the other missing fields.

Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 13, 2019

@[deleted] The powerups and custom fields APIs were implemented after the boards API so probably you'll have to grab all your board data then loop through and fetch the powerup and custom fields individually.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events