debian-mirror-gitlab/app/assets/javascripts/alerts_settings/graphql/mutations/create_prometheus_integration.mutation.graphql
2021-01-29 00:20:46 +05:30

13 lines
331 B
GraphQL

#import "../fragments/integration_item.fragment.graphql"
mutation createPrometheusIntegration($projectPath: ID!, $apiUrl: String!, $active: Boolean!) {
prometheusIntegrationCreate(
input: { projectPath: $projectPath, apiUrl: $apiUrl, active: $active }
) {
errors
integration {
...IntegrationItem
}
}
}