Welcome to mirror list, hosted at ThFree Co, Russian Federation.

create_http_integration.mutation.graphql « mutations « graphql « alerts_settings « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f3fc10b4bd4b6b59c1b9d7e8af7b2877a2bccaa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#import "../fragments/integration_item.fragment.graphql"

mutation createHttpIntegration(
  $projectPath: ID!
  $name: String!
  $active: Boolean!
  $payloadExample: JsonString
  $payloadAttributeMappings: [AlertManagementPayloadAlertFieldInput!]
) {
  httpIntegrationCreate(
    input: {
      projectPath: $projectPath
      name: $name
      active: $active
      payloadExample: $payloadExample
      payloadAttributeMappings: $payloadAttributeMappings
    }
  ) {
    errors
    integration {
      ...IntegrationItem
    }
  }
}