You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
I'm trying to get cards information using list of cards id. I found that it possible to achieve using the api search but I couldn't pass the list of cards.
here is my url:
'https://api.trello.com/1/search?&modelType=cards&query="card1,card2"&key=[key]&token=[token]'
What am I doing wrong? or there is better way to receive this data?
Thx,
Nicolas
@Nicolas this this from the py-trello library
def search(self, query, partial_match=False, models=[],board_ids=[], org_ids=[], card_ids=[], cards_limit=10):
This query limits the search on information within board, cards...etc. It does not search card by card_id
If I have to get cards that matches card_ids I would go through all the cards but then if I already have the id then client.get_card(card_id) gets you the card...really no need to search.
** all based on py-trello
My apologies if I have not understood your question completely
thank you for the quick answer
can i pass the search function wildcard on the query parameter and pass list of card ids ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you do that basically you are saying get me ‘xyz’ but look at only these cards with these IDs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.