From 2cf4bdd0b060175c7058b395014b101fbe6214a3 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 7 Dec 2023 21:12:55 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/graphql/reference/index.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'doc/api/graphql') diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index b0a6e52e838..dfa933fb006 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -1945,6 +1945,31 @@ Input type: `BoardListUpdateLimitMetricsInput` | `errors` | [`[String!]!`](#string) | Errors encountered during execution of the mutation. | | `list` | [`BoardList`](#boardlist) | Updated list. | +### `Mutation.branchRuleUpdate` + +WARNING: +**Introduced** in 16.7. +This feature is an Experiment. It can be changed or removed at any time. + +Input type: `BranchRuleUpdateInput` + +#### Arguments + +| Name | Type | Description | +| ---- | ---- | ----------- | +| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| `id` | [`ProtectedBranchID!`](#protectedbranchid) | Global ID of the protected branch. | +| `name` | [`String!`](#string) | Branch name, with wildcards, for the branch rules. | +| `projectPath` | [`ID!`](#id) | Full path to the project that the branch is associated with. | + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| `branchRule` | [`BranchRule`](#branchrule) | Branch rule after mutation. | +| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| `errors` | [`[String!]!`](#string) | Errors encountered during execution of the mutation. | + ### `Mutation.buildForecast` WARNING: @@ -32484,6 +32509,12 @@ A `ProjectImportStateID` is a global ID. It is encoded as a string. An example `ProjectImportStateID` is: `"gid://gitlab/ProjectImportState/1"`. +### `ProtectedBranchID` + +A `ProtectedBranchID` is a global ID. It is encoded as a string. + +An example `ProtectedBranchID` is: `"gid://gitlab/ProtectedBranch/1"`. + ### `ReleaseID` A `ReleaseID` is a global ID. It is encoded as a string. -- cgit v1.2.3