Mutation
mutation MarkNotificationAsSeen($input: MarkNotificationAsSeenInput!) {
markNotificationAsSeen(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
notification {
createdAt
id
queuedTask {
artifacts {
__typename
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
seen
task {
createdAt
id
lastUpdatedAt
progress
status
}
type
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"markNotificationAsSeen": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"notification": {
"createdAt": "value",
"id": "id",
"queuedTask": {
"artifacts": [
{
"__typename": "QueuedTaskArtifact"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
},
"seen": true,
"task": {
"createdAt": "value",
"id": "id",
"lastUpdatedAt": "value",
"progress": 1.5,
"status": "CREATED"
},
"type": "CARDS_IMPORT"
}
}
}
}Mutations
markNotificationAsSeen
Marks a single notification in the signed-in user’s feed as seen.
MUTATION
markNotificationAsSeen(input: MarkNotificationAsSeenInput!): MarkNotificationAsSeenPayload!Arguments
input
required
Returns
errors
notification
Mutation
mutation MarkNotificationAsSeen($input: MarkNotificationAsSeenInput!) {
markNotificationAsSeen(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
notification {
createdAt
id
queuedTask {
artifacts {
__typename
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
seen
task {
createdAt
id
lastUpdatedAt
progress
status
}
type
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"markNotificationAsSeen": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"notification": {
"createdAt": "value",
"id": "id",
"queuedTask": {
"artifacts": [
{
"__typename": "QueuedTaskArtifact"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
},
"seen": true,
"task": {
"createdAt": "value",
"id": "id",
"lastUpdatedAt": "value",
"progress": 1.5,
"status": "CREATED"
},
"type": "CARDS_IMPORT"
}
}
}
}Was this page helpful?