Given 5 emails, I’m looking to see which ones exists in which boards(and which ones don’t). I have 5 different boards that I need to search in with those 5 emails.
Currenlty, I have some sort of linear search in place where I take one email, search across 5 boards. So for 5 emails its 5x5=25 api calls which results in a very slow response(yes I need the total response). I’m looking for suggestions to improve this so that I don’t get stuck in api calls for about a minute. Here’s what I’m exploring currently:
- Make 1 api call ber board, with all the email values passed at the same time
query {
items_page_by_column_values (limit: 50, board_id: 123456789, columns: [{column_id: "email__1", column_values: ["test@emial.com", "tes2t@emial.com", "test3@emial.com"]}]) {
cursor
items {
id
name
column_values {
id
value
}
}
}
}
This gives me fairly lower reponse time, but I’m curious to know if there is a way to only receive a certain number of columns. I know that there exists something like this for statuses, but not sure if anything can be done for email column.
- I haven’t found anything on this yet, but what would be even more nice is the above query, but for multiple boards.