Mark Content as Read
To toggle the read status for a content library element
Arguments
Argument
Type
Description
Example
mutation($input: MarkContentAsReadOrUnreadInput!){
markContentAsReadOrUnread(input: $input) {
success message errors {field messages}
}
}
variables = {
"input": {
"contentLibraryId": "Q29udGVudExpYnJhcnk6MjBmZGY0NWMtMTY5Zi00MmYwLThkMjktNmRlNzcwOGJjMDkz",
"markAsRead": True,
}
}Example 2
mutation{
markContentAsReadOrUnread (input:{markAsRead: true contentLibraryId: "Q29udGVudExpYnJhcnk6MDkxZjdiMWQtZjE0YS00ZDcyLTgyZGItMDA2ODE2ZTQ5YjFm" }){
success
message
}
}{
"data": {
"markContentAsReadOrUnread": {
"success": true
}
}
}Last updated
Was this helpful?