Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8ad9f8c6
Commit
8ad9f8c6
authored
Nov 11, 2019
by
Mario de la Ossa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update GraphQL docs
Ran `gitlab:graphql:schema:dump` as well as `gitlab:graphql:compile_docs`
parent
01b2974e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
737 additions
and
57 deletions
+737
-57
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+148
-0
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+564
-57
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+25
-0
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
8ad9f8c6
...
...
@@ -2814,6 +2814,11 @@ type Label {
"""
descriptionHtml
:
String
"""
Label
ID
"""
id
:
ID
!
"""
Text
color
of
the
label
"""
...
...
@@ -3407,6 +3412,101 @@ type MergeRequestSetAssigneesPayload {
mergeRequest
:
MergeRequest
}
"""
Autogenerated input type of MergeRequestSetLabels
"""
input
MergeRequestSetLabelsInput
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
The
iid
of
the
merge
request
to
mutate
"""
iid
:
String
!
"""
The
Label
IDs
to
set
.
Replaces
existing
labels
by
default
.
"""
labelIds
:
[
ID
!]!
"""
Changes
the
operation
mode
.
Defaults
to
REPLACE
.
"""
operationMode
:
MutationOperationMode
"""
The
project
the
merge
request
to
mutate
is
in
"""
projectPath
:
ID
!
}
"""
Autogenerated return type of MergeRequestSetLabels
"""
type
MergeRequestSetLabelsPayload
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Reasons
why
the
mutation
failed
.
"""
errors
:
[
String
!]!
"""
The
merge
request
after
mutation
"""
mergeRequest
:
MergeRequest
}
"""
Autogenerated input type of MergeRequestSetLocked
"""
input
MergeRequestSetLockedInput
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
The
iid
of
the
merge
request
to
mutate
"""
iid
:
String
!
"""
Whether
or
not
to
lock
the
merge
request
.
"""
locked
:
Boolean
!
"""
The
project
the
merge
request
to
mutate
is
in
"""
projectPath
:
ID
!
}
"""
Autogenerated return type of MergeRequestSetLocked
"""
type
MergeRequestSetLockedPayload
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Reasons
why
the
mutation
failed
.
"""
errors
:
[
String
!]!
"""
The
merge
request
after
mutation
"""
mergeRequest
:
MergeRequest
}
"""
Autogenerated input type of MergeRequestSetMilestone
"""
...
...
@@ -3452,6 +3552,51 @@ type MergeRequestSetMilestonePayload {
mergeRequest
:
MergeRequest
}
"""
Autogenerated input type of MergeRequestSetSubscription
"""
input
MergeRequestSetSubscriptionInput
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
The
iid
of
the
merge
request
to
mutate
"""
iid
:
String
!
"""
The
project
the
merge
request
to
mutate
is
in
"""
projectPath
:
ID
!
"""
The
desired
state
of
the
subscription
"""
subscribedState
:
Boolean
!
}
"""
Autogenerated return type of MergeRequestSetSubscription
"""
type
MergeRequestSetSubscriptionPayload
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Reasons
why
the
mutation
failed
.
"""
errors
:
[
String
!]!
"""
The
merge
request
after
mutation
"""
mergeRequest
:
MergeRequest
}
"""
Autogenerated input type of MergeRequestSetWip
"""
...
...
@@ -3588,7 +3733,10 @@ type Mutation {
epicSetSubscription
(
input
:
EpicSetSubscriptionInput
!):
EpicSetSubscriptionPayload
epicTreeReorder
(
input
:
EpicTreeReorderInput
!):
EpicTreeReorderPayload
mergeRequestSetAssignees
(
input
:
MergeRequestSetAssigneesInput
!):
MergeRequestSetAssigneesPayload
mergeRequestSetLabels
(
input
:
MergeRequestSetLabelsInput
!):
MergeRequestSetLabelsPayload
mergeRequestSetLocked
(
input
:
MergeRequestSetLockedInput
!):
MergeRequestSetLockedPayload
mergeRequestSetMilestone
(
input
:
MergeRequestSetMilestoneInput
!):
MergeRequestSetMilestonePayload
mergeRequestSetSubscription
(
input
:
MergeRequestSetSubscriptionInput
!):
MergeRequestSetSubscriptionPayload
mergeRequestSetWip
(
input
:
MergeRequestSetWipInput
!):
MergeRequestSetWipPayload
removeAwardEmoji
(
input
:
RemoveAwardEmojiInput
!):
RemoveAwardEmojiPayload
todoMarkDone
(
input
:
TodoMarkDoneInput
!):
TodoMarkDonePayload
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
8ad9f8c6
...
...
@@ -6479,6 +6479,24 @@
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"id"
,
"description"
:
"Label ID"
,
"args"
:
[
],
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"ID"
,
"ofType"
:
null
}
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"textColor"
,
"description"
:
"Text color of the label"
,
...
...
@@ -14763,6 +14781,60 @@
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"mergeRequestSetLabels"
,
"description"
:
null
,
"args"
:
[
{
"name"
:
"input"
,
"description"
:
null
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSetLabelsInput"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
}
],
"type"
:
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSetLabelsPayload"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"mergeRequestSetLocked"
,
"description"
:
null
,
"args"
:
[
{
"name"
:
"input"
,
"description"
:
null
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSetLockedInput"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
}
],
"type"
:
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSetLockedPayload"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"mergeRequestSetMilestone"
,
"description"
:
null
,
...
...
@@ -14790,6 +14862,33 @@
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"mergeRequestSetSubscription"
,
"description"
:
null
,
"args"
:
[
{
"name"
:
"input"
,
"description"
:
null
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSetSubscriptionInput"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
}
],
"type"
:
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSetSubscriptionPayload"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"mergeRequestSetWip"
,
"description"
:
null
,
...
...
@@ -15449,8 +15548,8 @@
},
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSet
Milestone
Payload"
,
"description"
:
"Autogenerated return type of MergeRequestSet
Milestone
"
,
"name"
:
"MergeRequestSet
Labels
Payload"
,
"description"
:
"Autogenerated return type of MergeRequestSet
Labels
"
,
"fields"
:
[
{
"name"
:
"clientMutationId"
,
...
...
@@ -15516,8 +15615,8 @@
},
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSet
Milestone
Input"
,
"description"
:
"Autogenerated input type of MergeRequestSet
Milestone
"
,
"name"
:
"MergeRequestSet
Labels
Input"
,
"description"
:
"Autogenerated input type of MergeRequestSet
Labels
"
,
"fields"
:
null
,
"inputFields"
:
[
{
...
...
@@ -15549,12 +15648,34 @@
"defaultValue"
:
null
},
{
"name"
:
"
milestoneId
"
,
"description"
:
"The
milestone to assign to the merge reques
t.
\n
"
,
"name"
:
"
labelIds
"
,
"description"
:
"The
Label IDs to set. Replaces existing labels by defaul
t.
\n
"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"ID"
,
"ofType"
:
null
}
}
}
},
"defaultValue"
:
null
},
{
"name"
:
"operationMode"
,
"description"
:
"Changes the operation mode. Defaults to REPLACE.
\n
"
,
"type"
:
{
"kind"
:
"ENUM"
,
"name"
:
"MutationOperationMode"
,
"ofType"
:
null
},
"defaultValue"
:
null
},
...
...
@@ -15573,10 +15694,39 @@
"enumValues"
:
null
,
"possibleTypes"
:
null
},
{
"kind"
:
"ENUM"
,
"name"
:
"MutationOperationMode"
,
"description"
:
"Different toggles for changing mutator behavior."
,
"fields"
:
null
,
"inputFields"
:
null
,
"interfaces"
:
null
,
"enumValues"
:
[
{
"name"
:
"REPLACE"
,
"description"
:
"Performs a replace operation"
,
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"APPEND"
,
"description"
:
"Performs an append operation"
,
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"REMOVE"
,
"description"
:
"Performs a removal operation"
,
"isDeprecated"
:
false
,
"deprecationReason"
:
null
}
],
"possibleTypes"
:
null
},
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSet
Wip
Payload"
,
"description"
:
"Autogenerated return type of MergeRequestSet
Wip
"
,
"name"
:
"MergeRequestSet
Locked
Payload"
,
"description"
:
"Autogenerated return type of MergeRequestSet
Locked
"
,
"fields"
:
[
{
"name"
:
"clientMutationId"
,
...
...
@@ -15642,8 +15792,8 @@
},
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSet
Wip
Input"
,
"description"
:
"Autogenerated input type of MergeRequestSet
Wip
"
,
"name"
:
"MergeRequestSet
Locked
Input"
,
"description"
:
"Autogenerated input type of MergeRequestSet
Locked
"
,
"fields"
:
null
,
"inputFields"
:
[
{
...
...
@@ -15675,8 +15825,8 @@
"defaultValue"
:
null
},
{
"name"
:
"
wip
"
,
"description"
:
"Whether or not to
set the merge request as a WIP
.
\n
"
,
"name"
:
"
locked
"
,
"description"
:
"Whether or not to
lock the merge request
.
\n
"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
...
...
@@ -15705,8 +15855,8 @@
},
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSet
Assignees
Payload"
,
"description"
:
"Autogenerated return type of MergeRequestSet
Assignees
"
,
"name"
:
"MergeRequestSet
Milestone
Payload"
,
"description"
:
"Autogenerated return type of MergeRequestSet
Milestone
"
,
"fields"
:
[
{
"name"
:
"clientMutationId"
,
...
...
@@ -15772,8 +15922,8 @@
},
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSet
Assignees
Input"
,
"description"
:
"Autogenerated input type of MergeRequestSet
Assignees
"
,
"name"
:
"MergeRequestSet
Milestone
Input"
,
"description"
:
"Autogenerated input type of MergeRequestSet
Milestone
"
,
"fields"
:
null
,
"inputFields"
:
[
{
...
...
@@ -15805,33 +15955,11 @@
"defaultValue"
:
null
},
{
"name"
:
"
assigneeUsernames
"
,
"description"
:
"The
usernames to assign to the merge request. Replaces existing assignees by defaul
t.
\n
"
,
"name"
:
"
milestoneId
"
,
"description"
:
"The
milestone to assign to the merge reques
t.
\n
"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
}
}
},
"defaultValue"
:
null
},
{
"name"
:
"operationMode"
,
"description"
:
"The operation to perform. Defaults to REPLACE.
\n
"
,
"type"
:
{
"kind"
:
"ENUM"
,
"name"
:
"MutationOperationMode"
,
"name"
:
"ID"
,
"ofType"
:
null
},
"defaultValue"
:
null
...
...
@@ -15852,32 +15980,411 @@
"possibleTypes"
:
null
},
{
"kind"
:
"ENUM"
,
"name"
:
"MutationOperationMode"
,
"description"
:
"Different toggles for changing mutator behavior."
,
"fields"
:
null
,
"inputFields"
:
null
,
"interfaces"
:
null
,
"enumValues"
:
[
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSetSubscriptionPayload"
,
"description"
:
"Autogenerated return type of MergeRequestSetSubscription"
,
"fields"
:
[
{
"name"
:
"REPLACE"
,
"description"
:
"Performs a replace operation"
,
"name"
:
"clientMutationId"
,
"description"
:
"A unique identifier for the client performing the mutation."
,
"args"
:
[
],
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"APPEND"
,
"description"
:
"Performs an append operation"
,
"name"
:
"errors"
,
"description"
:
"Reasons why the mutation failed."
,
"args"
:
[
],
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
}
}
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"REMOVE"
,
"description"
:
"Performs a removal operation"
,
"name"
:
"mergeRequest"
,
"description"
:
"The merge request after mutation"
,
"args"
:
[
],
"type"
:
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequest"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
}
],
"inputFields"
:
null
,
"interfaces"
:
[
],
"enumValues"
:
null
,
"possibleTypes"
:
null
},
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSetSubscriptionInput"
,
"description"
:
"Autogenerated input type of MergeRequestSetSubscription"
,
"fields"
:
null
,
"inputFields"
:
[
{
"name"
:
"projectPath"
,
"description"
:
"The project the merge request to mutate is in"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"ID"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"iid"
,
"description"
:
"The iid of the merge request to mutate"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"subscribedState"
,
"description"
:
"The desired state of the subscription"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"Boolean"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"clientMutationId"
,
"description"
:
"A unique identifier for the client performing the mutation."
,
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
},
"defaultValue"
:
null
}
],
"interfaces"
:
null
,
"enumValues"
:
null
,
"possibleTypes"
:
null
},
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSetWipPayload"
,
"description"
:
"Autogenerated return type of MergeRequestSetWip"
,
"fields"
:
[
{
"name"
:
"clientMutationId"
,
"description"
:
"A unique identifier for the client performing the mutation."
,
"args"
:
[
],
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"errors"
,
"description"
:
"Reasons why the mutation failed."
,
"args"
:
[
],
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
}
}
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"mergeRequest"
,
"description"
:
"The merge request after mutation"
,
"args"
:
[
],
"type"
:
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequest"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
}
],
"inputFields"
:
null
,
"interfaces"
:
[
],
"enumValues"
:
null
,
"possibleTypes"
:
null
},
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSetWipInput"
,
"description"
:
"Autogenerated input type of MergeRequestSetWip"
,
"fields"
:
null
,
"inputFields"
:
[
{
"name"
:
"projectPath"
,
"description"
:
"The project the merge request to mutate is in"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"ID"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"iid"
,
"description"
:
"The iid of the merge request to mutate"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"wip"
,
"description"
:
"Whether or not to set the merge request as a WIP.
\n
"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"Boolean"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"clientMutationId"
,
"description"
:
"A unique identifier for the client performing the mutation."
,
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
},
"defaultValue"
:
null
}
],
"interfaces"
:
null
,
"enumValues"
:
null
,
"possibleTypes"
:
null
},
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequestSetAssigneesPayload"
,
"description"
:
"Autogenerated return type of MergeRequestSetAssignees"
,
"fields"
:
[
{
"name"
:
"clientMutationId"
,
"description"
:
"A unique identifier for the client performing the mutation."
,
"args"
:
[
],
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"errors"
,
"description"
:
"Reasons why the mutation failed."
,
"args"
:
[
],
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
}
}
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
},
{
"name"
:
"mergeRequest"
,
"description"
:
"The merge request after mutation"
,
"args"
:
[
],
"type"
:
{
"kind"
:
"OBJECT"
,
"name"
:
"MergeRequest"
,
"ofType"
:
null
},
"isDeprecated"
:
false
,
"deprecationReason"
:
null
}
],
"inputFields"
:
null
,
"interfaces"
:
[
],
"enumValues"
:
null
,
"possibleTypes"
:
null
},
{
"kind"
:
"INPUT_OBJECT"
,
"name"
:
"MergeRequestSetAssigneesInput"
,
"description"
:
"Autogenerated input type of MergeRequestSetAssignees"
,
"fields"
:
null
,
"inputFields"
:
[
{
"name"
:
"projectPath"
,
"description"
:
"The project the merge request to mutate is in"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"ID"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"iid"
,
"description"
:
"The iid of the merge request to mutate"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
},
"defaultValue"
:
null
},
{
"name"
:
"assigneeUsernames"
,
"description"
:
"The usernames to assign to the merge request. Replaces existing assignees by default.
\n
"
,
"type"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"NON_NULL"
,
"name"
:
null
,
"ofType"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
}
}
}
},
"defaultValue"
:
null
},
{
"name"
:
"operationMode"
,
"description"
:
"The operation to perform. Defaults to REPLACE.
\n
"
,
"type"
:
{
"kind"
:
"ENUM"
,
"name"
:
"MutationOperationMode"
,
"ofType"
:
null
},
"defaultValue"
:
null
},
{
"name"
:
"clientMutationId"
,
"description"
:
"A unique identifier for the client performing the mutation."
,
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
"ofType"
:
null
},
"defaultValue"
:
null
}
],
"interfaces"
:
null
,
"enumValues"
:
null
,
"possibleTypes"
:
null
},
{
...
...
doc/api/graphql/reference/index.md
View file @
8ad9f8c6
...
...
@@ -410,6 +410,7 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| --- | ---- | ---------- |
|
`id`
| ID! | Label ID |
|
`description`
| String | Description of the label (markdown rendered as HTML for caching) |
|
`descriptionHtml`
| String | The GitLab Flavored Markdown rendering of
`description`
|
|
`title`
| String! | Content of the label |
...
...
@@ -491,6 +492,22 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
|
`errors`
| String! => Array | Reasons why the mutation failed. |
|
`mergeRequest`
| MergeRequest | The merge request after mutation |
### MergeRequestSetLabelsPayload
| Name | Type | Description |
| --- | ---- | ---------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Reasons why the mutation failed. |
|
`mergeRequest`
| MergeRequest | The merge request after mutation |
### MergeRequestSetLockedPayload
| Name | Type | Description |
| --- | ---- | ---------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Reasons why the mutation failed. |
|
`mergeRequest`
| MergeRequest | The merge request after mutation |
### MergeRequestSetMilestonePayload
| Name | Type | Description |
...
...
@@ -499,6 +516,14 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
|
`errors`
| String! => Array | Reasons why the mutation failed. |
|
`mergeRequest`
| MergeRequest | The merge request after mutation |
### MergeRequestSetSubscriptionPayload
| Name | Type | Description |
| --- | ---- | ---------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Reasons why the mutation failed. |
|
`mergeRequest`
| MergeRequest | The merge request after mutation |
### MergeRequestSetWipPayload
| Name | Type | Description |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment