I am fetching a list of cards and their actions via rest api . I use this api https://api.trello.com/1/lists/5a78b08c6f85c304e464aa07/cards to fetch a list of cards. I have roughly 300 cards in the list. Later i fetch actions of each card as well via rest api. I update this information daily via script and every time i update i have to fetch actions of all 300 cards as i donot see any way to find a list of only those cards which are recently updated. It takes time now to fetch all 300 cards actions and most of time very less number of tickets are updated. I find it an unnecessary network traffic and load on your server too which can be avoided if there is any way to determine only updated ticket . I do see a field dateLastActivity but i doubt it can be used for this purpose as this field is always updated even if nothing is changed on ticket. Is there any way out?
@Mumtaz Ahmad If you use the search endpoint instead of the cards endpoint you can filter using "edited:day", here's my implementation of the search endpoint for reference:
https://github.com/iaindooley/trellinator-libs/blob/master/TrelloApi.js#L39
Is it possible for you to send me a url for help. I can access search end point but somehow i donot see edited field in the returned json. What query i should use? There is so less documentation on search end point on trello so i am just trying things blindly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.