i want to pass multiple list id in search api of trello how to do that

Hannah Rajput
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2023

i am using trello search api in laravel to get the cards based on boards now want to get cards of multiple lists by sending more than two list ids in search api but i get empty array

this is how tried,

 

$list= 'list:list_id' . 'OR' .'list:list_id';
$query = array(
'actions' => 'all',
'query' => $id . ',' . $list,
'card_board' => true,
'board_fields' => 'id,name',
'cards_limit' => 10,
'cards_page' => $counts,
'card_members' => true,
'card_member_fields' => 'id,fullName',
'card_list' => true,
// 'card_fields' => 'id,desc,dateLastActivity,name,closed,due,labels',

'key' => my key,
'token' => 'my token'
);

$response = Http::get(
// 'https://api.trello.com/1/boards/' . $id . '/cards',
// $query
$query
);

1 answer

0 votes
Theodoro Reato
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 14, 2023

Hey Hannah, 

Welcome to the community, 

This question would be better handled at: https://community.developer.atlassian.com/c/trello

Could you raise it there? You actually may find the answer before it with a search.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events