H, when i call this api method:
/1/cards/{card_id}/actions
i get only 50 actions. How can i get more?
thanks
Hi @artem andreev
Usually actions are limited to 1000 per request. You need to use before and since parameters for pagination Refer to the Trello API documentation - pagination topic
before
since
Cheers
Ajay
You can include a 'limit' parameter in the params section of the request. Implemented in python, it looks like this:
import requestsheaders = { 'Accept': 'application/json'}query = { 'key': YOUR_KEY, 'token': YOUR_TOKEN, 'limit': 1000}response = requests.request( 'GET', 'https://api.trello.com/1/cards/' + CARD_ID + '/actions', headers=headers, params=query)print(response.text)
It looks like you're new here. Sign in or register to get started.