You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my app, I need to fetch all boards of my organization workspace and not only the boards that my API user has joined.
To do this I had to do the following code because Trello::Board.all is scoped on Trello::Member.find(:me) :
But it's using a legacy API /organizations/#{id}/boards/all which doesn't support query parameters. I will fix it to use /organizations/#{id}/boards with parameter support.
Hello,
On my app, I need to fetch all boards of my organization workspace and not only the boards that my API user has joined.
To do this I had to do the following code because
Trello::Board.all
is scoped onTrello::Member.find(:me)
:Also this code allowed me to pass query parameters as mentioned in the API documentation and made the request a lot lighter and faster.
Maybe
Trello::Board.all
could accept extra parameters to allow another scope and query parameters ?Regards
Quentin
The text was updated successfully, but these errors were encountered: