Mutations
/
create_notification

create_notification

Create a new notification.

Arguments

  • target_id
    ID!
    Required
    The target's unique identifier.
  • target_type
    NotificationTargetType!
    Required
    The target's type (Project / Post)
  • text
    String!
    Required
    The notification text.
  • user_id
    ID!
    Required
    The user's unique identifier.

Returns

mutation create_notification($target_id: ID!, $target_type: NotificationTargetType!, $text: String!, $user_id: ID!) {
create_notification(
target_id: $target_id
target_type: $target_type
text: $text
user_id: $user_id
) {
# create_notification fields
}
}
create_itemcreate_or_get_tag
Built with