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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to paginate requests on Trello REST API

In the documentation on Actions Nested Resource it says that we can use the following parameters:

  • limit
  • page
  • format

but in the paragraph Nested Actions with Query Params in the curl example it uses 

  • actions_limit

limit and page are not working on the curl example, meanwhile actions_format (which is not described) accept the count parameter.

So, I don't understand when or how to use limit and page

I have a board with more than 1000 actions, I'd like to access those above 1000.

Can someone provide an example ?

2 answers

You use actions_limit when you're requesting actions as part of another resource (e.g. GET boards/BOARD_ID?actions=all&actions_limit=1000), and limit when you're requesting actions directly (e.g. GET boards/BOARD_ID/actions?limit=1000).

If you're just interested in the actions, go for the direct request and specify limit. Once you get your response, get the date of the oldest action, and issue another request setting the before parameter to that date (e.g. GET boards/BOARD_ID/actions?limit=1000&before=2018-02-10T13:05:37Z)

i have the same problem,in JSON file from my trello board the actions are limited to just 1000

To have all the records, the solution is to iterate/repeat the request until receive an empty answer.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

314 views 10 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you