Skip to content

[Feature Request] Allow finding boards for an organization instead of member #313

@qdegraeve

Description

@qdegraeve

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 on Trello::Member.find(:me) :

    boards = Trello::Board.from_response(
      Trello::Board.client.get("/organizations/[my org ID]/boards", filter: "open", fields: "id,name")
    )

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions