Mutation
mutation IncidentGroupCommentCreate($input: IncidentGroupCommentCreateInput!) {
incidentGroupCommentCreate(input: $input) {
errors {
code
message
}
incidentGroupComment {
author {
__typename
... on ApiKey {
__typename
}
}
body
createdAt
groupId
id
updatedAt
}
}
}Variables
{
"input": {
"body": "string",
"incidentGroupId": "value"
}
}Response
{
"data": {
"incidentGroupCommentCreate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"incidentGroupComment": {
"author": {
"__typename": "ApiKey"
},
"body": "string",
"createdAt": "value",
"groupId": "value",
"id": "value",
"updatedAt": "value"
}
}
}
}Mutations
incidentGroupCommentCreate
Create a comment on an incident group. Requires INCIDENTS_READ permissions.
MUTATION
incidentGroupCommentCreate(input: IncidentGroupCommentCreateInput!): IncidentGroupCommentCreateResult!Arguments
input
required
Returns
errors
[ApiError!]!
incidentGroupComment
Mutation
mutation IncidentGroupCommentCreate($input: IncidentGroupCommentCreateInput!) {
incidentGroupCommentCreate(input: $input) {
errors {
code
message
}
incidentGroupComment {
author {
__typename
... on ApiKey {
__typename
}
}
body
createdAt
groupId
id
updatedAt
}
}
}Variables
{
"input": {
"body": "string",
"incidentGroupId": "value"
}
}Response
{
"data": {
"incidentGroupCommentCreate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"incidentGroupComment": {
"author": {
"__typename": "ApiKey"
},
"body": "string",
"createdAt": "value",
"groupId": "value",
"id": "value",
"updatedAt": "value"
}
}
}
}