Skip to content

Conversation

@creslinux
Copy link

Summary

Allow filtering cards by column_ids[] parameter, consistent with existing board_ids[] and tag_ids[] filtering. This enables API consumers to fetch cards from specific columns without retrieving the entire board, reducing payload size and processing overhead.

Changes

  • Add columns_filters join table migration
  • Add has_and_belongs_to_many :columns association to Filter
  • Add column_ids to permitted params and as_params
  • Apply column filter in cards query
  • Document column_ids[] in API.md
  • Add tests for column filtering

Example

curl -H "Authorization: Bearer $TOKEN" \
  "https://example.com/0000001/cards.json?column_ids[]=03f8rwrix4iche1hjgdg0pt37"

Returns only cards in the specified column.

Allow filtering cards by column_ids[] parameter, consistent with
existing board_ids[] and tag_ids[] filtering. This enables API
consumers to fetch cards from specific columns without retrieving
the entire board, reducing payload size and processing overhead.

- Add columns_filters join table migration
- Add has_and_belongs_to_many :columns association
- Add column_ids to permitted params and as_params
- Apply column filter in cards query
- Document column_ids[] in API.md
- Add filter by column test
@creslinux creslinux force-pushed the feature/filter-cards-by-column branch from d7cb2c0 to 17a14bc Compare December 20, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant