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

create_label.mutation.graphql « graphql « labels_select_widget « labels « components « sidebar « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a9c791091fc335729e8bb5b640bd8cf3b2563dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import "~/graphql_shared/fragments/label.fragment.graphql"

mutation createLabel($title: String!, $color: String, $projectPath: ID, $groupPath: ID) {
  labelCreate(
    input: { title: $title, color: $color, projectPath: $projectPath, groupPath: $groupPath }
  ) {
    label {
      ...Label
    }
    errors
  }
}