I’m using the GraphQL API to query a board and it’s going great so far. Only issue is that for some reason the very first column in my board is not getting returned. Only the other columns after it. Is the first column a protected / special column for some reason?
My query is:
query {
me {
name
}
boards(ids:<board_id>) {
name
id
columns() {
id
title
type
}
items() {
id
column_values() {
id
text
title
# value
# type
}
}
}
}
Hello @davidenergy and welcome to the community!
I hope you like it here
The API will have access to whatever the user whose API key is being used, has access to.
So if the first column has some permissions set and the user does not have access to it, then the API will not return that column either.
Other than that, the columns that the user does have access to, should be retrieved.
If that is not the case, please send us an email to appsupport@monday.com with a screen recording of the process so we can take a look into it.
Cheers,
Matias
Thanks - the solution was actually including name
as a field to grab under items()
.
Hello again @davidenergy ,
Ohhh you meant the name column as your first column!
I am glad you found the solution!
Let us know if you have any other questions!
Cheers,
Matias
Hi @Matias.Monday - I actually asked another question on another page. I’ll link here, would love if you have an answer.
Is there a way to do a bulk update / mutate of data? Suppose I have a table and I want to mutate a lot of it. Do I need to do it cell-by-cell using a single mutate and change_column_values and a series of API requests? Is there a way to do it all in one request, just like how we can update a postgres table using one request?
Hello there,
I replied in the other topic!
Hi @Matias.Monday , I asked another question on the board if you have a moment to take a look. Question unrelated to this but figured I’d ping you, thanks!
I have a GraphQL query that I’m running to get access to files uploaded to my board for a certain item. I’m using the following assets query:
query {
boards (ids:<board_id>) {
items (ids: <item_id>) {
assets {
id
name
url
file_extension
}
}
}
}
but it’s only returning a single file that is actually in one of the columns. It’s not returning the other files that are uploaded with and associated with that item (I can see the files on the U…
Hello @davidenergy ,
I will reply on the other topic! No need to ping since we check all topics