How to query all boards with a specific workspace in Monday Api?

Viewed 594

I want to list all boards from a specific workspace?..How to correctly write such query

I am doing this way

query {
boards (workspace_id :1405052) {
name
}
}

Getting this error

"errors": [ { "message": "Field 'boards' doesn't accept argument 'workspace_id'",

3 Answers

query { boards { id workspace_id } }

you have to use "ids" and not "workspace_id " try this: query { boards (ids: 1405052) { name } }

Have a nice day!

See this thread that states that it is not yet directly implemented. This is how they expect you to do it: "That said, you can query all boards within your account, fetch the workspace ID that they are placed in, and then filter those out in your application’s code"

Related