MT-22678: Add search query param to contact lists findAll#56
Conversation
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
||
| - [Contacts](examples/java/io/mailtrap/examples/contacts/ContactsExample.java) | ||
| - [Contact Lists](examples/java/io/mailtrap/examples/contactlists/ContactListsExample.java) | ||
| - [Contact Lists](examples/java/io/mailtrap/examples/contactlists/ContactListsExample.java) (incl. filtering lists by name via the `search` query param — case-insensitive prefix match) |
There was a problem hiding this comment.
I don't think we need such detail. Contact export for example has filters too but we don't elaborate on it here
There was a problem hiding this comment.
Good point. Simplified it in remaining SDK Prs as well.
Motivation
https://railsware.atlassian.net/browse/MT-22678
Changes
ListContactListsQueryParamswith an optionalsearchfield and afindAll(accountId, params)overload — filters contact lists by name (case-insensitive prefix match), per the OpenAPIGET /api/contacts/listsparam. The existingfindAll(accountId)is kept, so the change is backward compatible.How to test
contactLists().findAll(accountId)— returns all contact lists (unchanged behaviour).contactLists().findAll(accountId, params)withsearch="news"— returns only lists whose name starts with "news" (case-insensitive).