added
New `updates` fields
November 13th, 2024
In version 2025-01
, we added two new fields on updates
queries:
edited_at
: Returns the date the update's body was last editedviewers
: Returns data about the update's viewers
query {
updates {
body
edited_at
viewers {
user_id
medium
user {
name
}
}
}
}
let query = "query { updates { body edited_at viewers { user_id medium user { name }}}}";
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)));