25 lines
569 B
GraphQL
25 lines
569 B
GraphQL
#import "~/alerts_settings/graphql/fragments/http_integration_item.fragment.graphql"
|
|
|
|
mutation createHttpIntegrationEE(
|
|
$projectPath: ID!
|
|
$name: String!
|
|
$active: Boolean!
|
|
$payloadExample: JsonString
|
|
$payloadAttributeMappings: [AlertManagementPayloadAlertFieldInput!]
|
|
) {
|
|
httpIntegrationCreate(
|
|
input: {
|
|
projectPath: $projectPath
|
|
name: $name
|
|
active: $active
|
|
payloadExample: $payloadExample
|
|
payloadAttributeMappings: $payloadAttributeMappings
|
|
}
|
|
) {
|
|
errors
|
|
integration {
|
|
...HttpIntegrationItem
|
|
}
|
|
}
|
|
}
|