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

Does Trello has a limit for iterations inside a list?

Bruno Gonçalves February 9, 2018

I know that inside Trello's API I can make at maximum 100 calls per 10 seconds, but what I'm facing is actually a problem that is giving me some sort of Headache: 

What I want to do, actually: I have a list that has more than 30 cards and I want to grab their actions (for the last activity and update on card). But the problem is: As I'm making a for iteration for each card to grab its actions, it seems not to iterate through the Trello.cards.get() function, when I needed it to do so before plotting the entire table.

if needed, I'll post part of the code I'm using to get the actions and cards.

1 answer

0 votes
bentley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2018

Bruno,

If you have a single list with the cards on it, you can get the actions for each card in a single call to the API. For instance, we can use this public board as an example: https://trello.com/b/1Jz6SorC/the-dev-board

To get the most recent action for each of the cards in the first list (Incoming Bugs 5501eaf12a0f4b882b0e2170) we can make the following request:

https://api.trello.com/1/lists/5501eaf12a0f4b882b0e2170/cards?fields=id&actions=all&actions_limit=1

We are including a request to include actions via the query params (documented at https://developers.trello.com/reference/#actions-nested-resource).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events