debian-mirror-gitlab/app/assets/javascripts/alerts_settings/graphql/mutations/create_http_integration.mutation.graphql
2022-01-26 12:08:38 +05:30

13 lines
432 B
GraphQL

#import "../fragments/http_integration_item.fragment.graphql"
mutation createHttpIntegration($projectPath: ID!, $name: String!, $active: Boolean!) {
httpIntegrationCreate(input: { projectPath: $projectPath, name: $name, active: $active }) {
errors
# We have ID in a deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
integration {
...HttpIntegrationItem
}
}
}