Skip to main content
Answered

Sorting Board Items by Group ID using Miro API - Query Params

  • October 30, 2024
  • 3 replies
  • 43 views

Forum|alt.badge.img+4
  • Active Contributor
  • 24 replies

Hello, community!

I’m currently working with board items using the

`GET https://api.miro.com/v2/boards/{board_id}/items` endpoint

and am wondering if there’s a query parameter available to sort these items by group (using the group ID). 

Sorting by group would be incredibly helpful for my use case, as the `Get groups` endpoint doesn’t quite meet my needs.

Thanks in advance for any insights!

Vas

Best answer by Horea Porutiu

Hi @vkoko

Unfortunately, get items endpoint only allows you to filter by item type, as of now. I can see how being able to filter by groupID would be very helpful though. 

I’ve added it as feedback for our product team. 

Thanks so much for your feedback as it’s invaluable for us to help build a better platform for developers. 

View original
Was it helpful?

3 replies

Horea Porutiu
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 170 replies
  • Answer
  • October 30, 2024

Hi @vkoko

Unfortunately, get items endpoint only allows you to filter by item type, as of now. I can see how being able to filter by groupID would be very helpful though. 

I’ve added it as feedback for our product team. 

Thanks so much for your feedback as it’s invaluable for us to help build a better platform for developers. 


Horea Porutiu
Mironeer
Forum|alt.badge.img+1

@vkoko 

Have you tried using tags instead? I’m not quite sure what your use case is, but you could define different tags, add those tags to certain items, and then use the get items by tag endpoint instead.

If you want to share more of your use case / flow that you are trying to achieve, it would help me see if I could come up with a more useful solution. 


Forum|alt.badge.img+4
  • Author
  • Active Contributor
  • 24 replies
  • October 30, 2024

@Horea Porutiu  Thanks for your responses!