Doing some dev work for a non-profit. I’m trying to update a connected column via the API. Would be great to find it first to id it, so i can get updates into it. But getting the below. Am i missing something obvious?
I was afraid that would be the reply. I guess, the next questions is how to I find the Column name. All the docs seem to point at is a column called ‘connect_boards’, and i dont seem to be able to find a way to dump all column names for a given table ( this would help).
Users can create multiple connect board columns (of board_relation type) in a board, each has a unique ID. If a column is created by API it could have an arbitrary ID like connected_contacts. Typically the expectation with the API is that the column was selected in a recipe, webhook, or the UI - so you’ve obtained the ID programmatically and don’t actually need to know it.
Here is a query to find all columns of a type on a board. Note that the types for columns are the only strings you do not put in quotes in the API - because they are enums not strings.
{
boards(ids: "123123"){
columns(types: [board_relation]) {
type
id
title
}
}
}