Board Views
monday.com board views allow you to visualize your board data in a different way. For example, you could see all events on a board in a Calendar View to easily see what's coming up next in your schedule, or use the Charts View to get reporting on your data. The API will provide you with records of all views added to a board.
You can find more general info on Board Views here
query {
boards (ids: 157244624) {
views {
id
name
type
}
}
}
let query = 'query { boards (ids: 157244624) { views { id name type } } }';
fetch ("https://api.monday.com/v2", {
method: 'post',
headers: {
'Content-Type': 'application/json',
'Authorization' : 'YOUR_API_KEY_HERE'
},
body: JSON.stringify({
'query' : query
})
})
.then(res => res.json())
.then(res => console.log(JSON.stringify(res, null, 2)));
curl --location --request POST 'https://api.monday.com/v2' \
--header 'Authorization: YourSuperSecretApiKey' \
--header 'Content-Type: application/json' \
--header 'Cookie: __cfduid=d4512e647bd3dd90706f5673d6041f7c51618840981' \
--data-raw '{"query": "query { boards (ids: 157244624) { views { id name type } } }"}'
Fields
Querying board views returns a collection of board views in a specific board.
Fields are used to return specific properties in an object. The following fields will determine what information is returned from your boards views query.
Field | Description |
---|---|
id | The view's identifier. |
name | The view's name. |
settings_str | The view's settings in a string form. |
type | The view's type. |
Updated 8 months ago