38 KiB
		
	
	
	
	
	
			
		
		
	
	
			38 KiB
		
	
	
	
	
	
GraphQL API Resources
This documentation is self-generated based on GitLab current GraphQL schema.
The API can be explored interactively using the GraphiQL IDE.
Objects
AddAwardEmojiPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| awardEmoji | AwardEmoji | The award emoji after mutation | 
AwardEmoji
| Name | Type | Description | 
|---|---|---|
| name | String! | The emoji name | 
| description | String! | The emoji description | 
| unicode | String! | The emoji in unicode | 
| emoji | String! | The emoji as an icon | 
| unicodeVersion | String! | The unicode version for this emoji | 
| user | User! | The user who awarded the emoji | 
Blob
| Name | Type | Description | 
|---|---|---|
| id | ID! | |
| name | String! | |
| type | EntryType! | |
| path | String! | |
| flatPath | String! | |
| webUrl | String | |
| lfsOid | String | 
Commit
| Name | Type | Description | 
|---|---|---|
| id | ID! | ID (global ID) of the commit | 
| sha | String! | SHA1 ID of the commit | 
| title | String | Title of the commit message | 
| description | String | Description of the commit message | 
| message | String | Raw commit message | 
| authoredDate | Time | Timestamp of when the commit was authored | 
| webUrl | String! | Web URL of the commit | 
| signatureHtml | String | Rendered HTML of the commit signature | 
| author | User | Author of the commit | 
| latestPipeline | Pipeline | Latest pipeline of the commit | 
CreateDiffNotePayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| note | Note | The note after mutation | 
CreateEpicPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| epic | Epic | The created epic | 
CreateImageDiffNotePayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| note | Note | The note after mutation | 
CreateNotePayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| note | Note | The note after mutation | 
Design
| Name | Type | Description | 
|---|---|---|
| id | ID! | |
| project | Project! | |
| issue | Issue! | |
| notesCount | Int! | The total count of user-created notes for this design | 
| filename | String! | |
| fullPath | String! | |
| event | DesignVersionEvent! | The change that happened to the design at this version | 
| image | String! | |
| diffRefs | DiffRefs! | 
DesignCollection
| Name | Type | Description | 
|---|---|---|
| project | Project! | |
| issue | Issue! | 
DesignManagementDeletePayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| version | DesignVersion | The new version in which the designs are deleted | 
DesignManagementUploadPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| designs | Design! => Array | The designs that were uploaded by the mutation | 
| skippedDesigns | Design! => Array | Any designs that were skipped from the upload due to there being no change to their content since their last version | 
DesignVersion
| Name | Type | Description | 
|---|---|---|
| id | ID! | |
| sha | ID! | 
DestroyNotePayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| note | Note | The note after mutation | 
DetailedStatus
| Name | Type | Description | 
|---|---|---|
| group | String! | |
| icon | String! | |
| favicon | String! | |
| detailsPath | String! | |
| hasDetails | Boolean! | |
| label | String! | |
| text | String! | |
| tooltip | String! | 
DiffPosition
| Name | Type | Description | 
|---|---|---|
| diffRefs | DiffRefs! | |
| filePath | String! | The path of the file that was changed | 
| oldPath | String | The path of the file on the start sha. | 
| newPath | String | The path of the file on the head sha. | 
| positionType | DiffPositionType! | |
| oldLine | Int | The line on start sha that was changed | 
| newLine | Int | The line on head sha that was changed | 
| x | Int | The X postion on which the comment was made | 
| y | Int | The Y position on which the comment was made | 
| width | Int | The total width of the image | 
| height | Int | The total height of the image | 
DiffRefs
| Name | Type | Description | 
|---|---|---|
| headSha | String! | The sha of the head at the time the comment was made | 
| baseSha | String! | The merge base of the branch the comment was made on | 
| startSha | String! | The sha of the branch being compared against | 
Discussion
| Name | Type | Description | 
|---|---|---|
| id | ID! | |
| replyId | ID! | The ID used to reply to this discussion | 
| createdAt | Time! | 
Epic
| Name | Type | Description | 
|---|---|---|
| userPermissions | EpicPermissions! | Permissions for the current user on the resource | 
| id | ID! | |
| iid | ID! | |
| title | String | |
| description | String | |
| state | EpicState! | |
| group | Group! | |
| parent | Epic | |
| author | User! | |
| startDate | Time | |
| startDateIsFixed | Boolean | |
| startDateFixed | Time | |
| startDateFromMilestones | Time | |
| dueDate | Time | |
| dueDateIsFixed | Boolean | |
| dueDateFixed | Time | |
| dueDateFromMilestones | Time | |
| closedAt | Time | |
| createdAt | Time | |
| updatedAt | Time | |
| hasChildren | Boolean! | |
| hasIssues | Boolean! | |
| webPath | String! | |
| webUrl | String! | |
| relativePosition | Int | The relative position of the epic in the Epic tree | 
| relationPath | String | |
| reference | String! | |
| subscribed | Boolean! | Boolean flag for whether the currently logged in user is subscribed to this epic | 
EpicIssue
| Name | Type | Description | 
|---|---|---|
| userPermissions | IssuePermissions! | Permissions for the current user on the resource | 
| iid | ID! | Internal ID of the issue | 
| title | String! | Title of the issue | 
| titleHtml | String | The GitLab Flavored Markdown rendering of title | 
| description | String | Description of the issue | 
| descriptionHtml | String | The GitLab Flavored Markdown rendering of description | 
| state | IssueState! | State of the issue | 
| reference | String! | Internal reference of the issue. Returned in shortened format by default | 
| author | User! | User that created the issue | 
| milestone | Milestone | Milestone of the issue | 
| dueDate | Time | Due date of the issue | 
| confidential | Boolean! | Indicates the issue is confidential | 
| discussionLocked | Boolean! | Indicates discussion is locked on the issue | 
| upvotes | Int! | Number of upvotes the issue has received | 
| downvotes | Int! | Number of downvotes the issue has received | 
| userNotesCount | Int! | Number of user notes of the issue | 
| webPath | String! | Web path of the issue | 
| webUrl | String! | Web URL of the issue | 
| relativePosition | Int | Relative position of the issue (used for positioning in epic tree and issue boards) | 
| timeEstimate | Int! | Time estimate of the issue | 
| totalTimeSpent | Int! | Total time reported as spent on the issue | 
| closedAt | Time | Timestamp of when the issue was closed | 
| createdAt | Time! | Timestamp of when the issue was created | 
| updatedAt | Time! | Timestamp of when the issue was last updated | 
| taskCompletionStatus | TaskCompletionStatus! | Task completion status of the issue | 
| epic | Epic | The epic to which issue belongs | 
| weight | Int | |
| designs | DesignCollection | |
| designCollection | DesignCollection | |
| epicIssueId | ID! | |
| relationPath | String | |
| id | ID | The global id of the epic-issue relation | 
EpicPermissions
| Name | Type | Description | 
|---|---|---|
| readEpic | Boolean! | Whether or not a user can perform read_epicon this resource | 
| readEpicIid | Boolean! | Whether or not a user can perform read_epic_iidon this resource | 
| updateEpic | Boolean! | Whether or not a user can perform update_epicon this resource | 
| destroyEpic | Boolean! | Whether or not a user can perform destroy_epicon this resource | 
| adminEpic | Boolean! | Whether or not a user can perform admin_epicon this resource | 
| createEpic | Boolean! | Whether or not a user can perform create_epicon this resource | 
| createNote | Boolean! | Whether or not a user can perform create_noteon this resource | 
| awardEmoji | Boolean! | Whether or not a user can perform award_emojion this resource | 
EpicSetSubscriptionPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| epic | Epic | The epic after mutation | 
EpicTreeReorderPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
ExtendedIssue
| Name | Type | Description | 
|---|---|---|
| userPermissions | IssuePermissions! | Permissions for the current user on the resource | 
| iid | ID! | Internal ID of the issue | 
| title | String! | Title of the issue | 
| titleHtml | String | The GitLab Flavored Markdown rendering of title | 
| description | String | Description of the issue | 
| descriptionHtml | String | The GitLab Flavored Markdown rendering of description | 
| state | IssueState! | State of the issue | 
| reference | String! | Internal reference of the issue. Returned in shortened format by default | 
| author | User! | User that created the issue | 
| milestone | Milestone | Milestone of the issue | 
| dueDate | Time | Due date of the issue | 
| confidential | Boolean! | Indicates the issue is confidential | 
| discussionLocked | Boolean! | Indicates discussion is locked on the issue | 
| upvotes | Int! | Number of upvotes the issue has received | 
| downvotes | Int! | Number of downvotes the issue has received | 
| userNotesCount | Int! | Number of user notes of the issue | 
| webPath | String! | Web path of the issue | 
| webUrl | String! | Web URL of the issue | 
| relativePosition | Int | Relative position of the issue (used for positioning in epic tree and issue boards) | 
| timeEstimate | Int! | Time estimate of the issue | 
| totalTimeSpent | Int! | Total time reported as spent on the issue | 
| closedAt | Time | Timestamp of when the issue was closed | 
| createdAt | Time! | Timestamp of when the issue was created | 
| updatedAt | Time! | Timestamp of when the issue was last updated | 
| taskCompletionStatus | TaskCompletionStatus! | Task completion status of the issue | 
| epic | Epic | The epic to which issue belongs | 
| weight | Int | |
| designs | DesignCollection | |
| designCollection | DesignCollection | |
| subscribed | Boolean! | Boolean flag for whether the currently logged in user is subscribed to this issue | 
Group
| Name | Type | Description | 
|---|---|---|
| id | ID! | ID of the namespace | 
| name | String! | Name of the namespace | 
| path | String! | Path of the namespace | 
| fullName | String! | Full name of the namespace | 
| fullPath | ID! | Full path of the namespace | 
| description | String | Description of the namespace | 
| descriptionHtml | String | The GitLab Flavored Markdown rendering of description | 
| visibility | String | Visibility of the namespace | 
| lfsEnabled | Boolean | Indicates if Large File Storage (LFS) is enabled for namespace | 
| requestAccessEnabled | Boolean | Indicates if users can request access to namespace | 
| rootStorageStatistics | RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces | 
| userPermissions | GroupPermissions! | Permissions for the current user on the resource | 
| webUrl | String! | Web URL of the group | 
| avatarUrl | String | Avatar URL of the group | 
| parent | Group | Parent group | 
| epicsEnabled | Boolean | |
| epic | Epic | 
GroupPermissions
| Name | Type | Description | 
|---|---|---|
| readGroup | Boolean! | Whether or not a user can perform read_groupon this resource | 
Issue
| Name | Type | Description | 
|---|---|---|
| userPermissions | IssuePermissions! | Permissions for the current user on the resource | 
| iid | ID! | Internal ID of the issue | 
| title | String! | Title of the issue | 
| titleHtml | String | The GitLab Flavored Markdown rendering of title | 
| description | String | Description of the issue | 
| descriptionHtml | String | The GitLab Flavored Markdown rendering of description | 
| state | IssueState! | State of the issue | 
| reference | String! | Internal reference of the issue. Returned in shortened format by default | 
| author | User! | User that created the issue | 
| milestone | Milestone | Milestone of the issue | 
| dueDate | Time | Due date of the issue | 
| confidential | Boolean! | Indicates the issue is confidential | 
| discussionLocked | Boolean! | Indicates discussion is locked on the issue | 
| upvotes | Int! | Number of upvotes the issue has received | 
| downvotes | Int! | Number of downvotes the issue has received | 
| userNotesCount | Int! | Number of user notes of the issue | 
| webPath | String! | Web path of the issue | 
| webUrl | String! | Web URL of the issue | 
| relativePosition | Int | Relative position of the issue (used for positioning in epic tree and issue boards) | 
| timeEstimate | Int! | Time estimate of the issue | 
| totalTimeSpent | Int! | Total time reported as spent on the issue | 
| closedAt | Time | Timestamp of when the issue was closed | 
| createdAt | Time! | Timestamp of when the issue was created | 
| updatedAt | Time! | Timestamp of when the issue was last updated | 
| taskCompletionStatus | TaskCompletionStatus! | Task completion status of the issue | 
| epic | Epic | The epic to which issue belongs | 
| weight | Int | |
| designs | DesignCollection | |
| designCollection | DesignCollection | 
IssuePermissions
| Name | Type | Description | 
|---|---|---|
| readIssue | Boolean! | Whether or not a user can perform read_issueon this resource | 
| adminIssue | Boolean! | Whether or not a user can perform admin_issueon this resource | 
| updateIssue | Boolean! | Whether or not a user can perform update_issueon this resource | 
| createNote | Boolean! | Whether or not a user can perform create_noteon this resource | 
| reopenIssue | Boolean! | Whether or not a user can perform reopen_issueon this resource | 
| readDesign | Boolean! | Whether or not a user can perform read_designon this resource | 
| createDesign | Boolean! | Whether or not a user can perform create_designon this resource | 
| destroyDesign | Boolean! | Whether or not a user can perform destroy_designon this resource | 
Label
| Name | Type | Description | 
|---|---|---|
| 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 | 
| color | String! | Background color of the label | 
| textColor | String! | Text color of the label | 
MergeRequest
| Name | Type | Description | 
|---|---|---|
| userPermissions | MergeRequestPermissions! | Permissions for the current user on the resource | 
| id | ID! | ID of the merge request | 
| iid | String! | Internal ID of the merge request | 
| title | String! | Title of the merge request | 
| titleHtml | String | The GitLab Flavored Markdown rendering of title | 
| description | String | Description of the merge request (markdown rendered as HTML for caching) | 
| descriptionHtml | String | The GitLab Flavored Markdown rendering of description | 
| state | MergeRequestState! | State of the merge request | 
| createdAt | Time! | Timestamp of when the merge request was created | 
| updatedAt | Time! | Timestamp of when the merge request was last updated | 
| sourceProject | Project | Source project of the merge request | 
| targetProject | Project! | Target project of the merge request | 
| diffRefs | DiffRefs | References of the base SHA, the head SHA, and the start SHA for this merge request | 
| project | Project! | Alias for target_project | 
| projectId | Int! | ID of the merge request project | 
| sourceProjectId | Int | ID of the merge request source project | 
| targetProjectId | Int! | ID of the merge request target project | 
| sourceBranch | String! | Source branch of the merge request | 
| targetBranch | String! | Target branch of the merge request | 
| workInProgress | Boolean! | Indicates if the merge request is a work in progress (WIP) | 
| mergeWhenPipelineSucceeds | Boolean | Indicates if the merge has been set to be merged when its pipeline succeeds (MWPS) | 
| diffHeadSha | String | Diff head SHA of the merge request | 
| mergeCommitSha | String | SHA of the merge request commit (set once merged) | 
| userNotesCount | Int | User notes count of the merge request | 
| shouldRemoveSourceBranch | Boolean | Indicates if the source branch of the merge request will be deleted after merge | 
| forceRemoveSourceBranch | Boolean | Indicates if the project settings will lead to source branch deletion after merge | 
| mergeStatus | String | Status of the merge request | 
| inProgressMergeCommitSha | String | Commit SHA of the merge request if merge is in progress | 
| mergeError | String | Error message due to a merge error | 
| allowCollaboration | Boolean | Indicates if members of the target project can push to the fork | 
| shouldBeRebased | Boolean! | Indicates if the merge request will be rebased | 
| rebaseCommitSha | String | Rebase commit SHA of the merge request | 
| rebaseInProgress | Boolean! | Indicates if there is a rebase currently in progress for the merge request | 
| mergeCommitMessage | String | Deprecated - renamed to defaultMergeCommitMessage | 
| defaultMergeCommitMessage | String | Default merge commit message of the merge request | 
| mergeOngoing | Boolean! | Indicates if a merge is currently occurring | 
| sourceBranchExists | Boolean! | Indicates if the source branch of the merge request exists | 
| mergeableDiscussionsState | Boolean | Indicates if all discussions in the merge request have been resolved, allowing the merge request to be merged | 
| webUrl | String | Web URL of the merge request | 
| upvotes | Int! | Number of upvotes for the merge request | 
| downvotes | Int! | Number of downvotes for the merge request | 
| headPipeline | Pipeline | The pipeline running on the branch HEAD of the merge request | 
| milestone | Milestone | The milestone of the merge request | 
| subscribed | Boolean! | Indicates if the currently logged in user is subscribed to this merge request | 
| discussionLocked | Boolean! | Indicates if comments on the merge request are locked to members only | 
| timeEstimate | Int! | Time estimate of the merge request | 
| totalTimeSpent | Int! | Total time reported as spent on the merge request | 
| reference | String! | Internal reference of the merge request. Returned in shortened format by default | 
| taskCompletionStatus | TaskCompletionStatus! | Completion status of tasks | 
MergeRequestPermissions
| Name | Type | Description | 
|---|---|---|
| readMergeRequest | Boolean! | Whether or not a user can perform read_merge_requeston this resource | 
| adminMergeRequest | Boolean! | Whether or not a user can perform admin_merge_requeston this resource | 
| updateMergeRequest | Boolean! | Whether or not a user can perform update_merge_requeston this resource | 
| createNote | Boolean! | Whether or not a user can perform create_noteon this resource | 
| pushToSourceBranch | Boolean! | Whether or not a user can perform push_to_source_branchon this resource | 
| removeSourceBranch | Boolean! | Whether or not a user can perform remove_source_branchon this resource | 
| cherryPickOnCurrentMergeRequest | Boolean! | Whether or not a user can perform cherry_pick_on_current_merge_requeston this resource | 
| revertOnCurrentMergeRequest | Boolean! | Whether or not a user can perform revert_on_current_merge_requeston this resource | 
MergeRequestSetWipPayload
| 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 | 
Metadata
| Name | Type | Description | 
|---|---|---|
| version | String! | Version | 
| revision | String! | Revision | 
Milestone
| Name | Type | Description | 
|---|---|---|
| description | String | Description of the milestone | 
| title | String! | Title of the milestone | 
| state | String! | State of the milestone | 
| dueDate | Time | Timestamp of the milestone due date | 
| startDate | Time | Timestamp of the milestone start date | 
| createdAt | Time! | Timestamp of milestone creation | 
| updatedAt | Time! | Timestamp of last milestone update | 
Namespace
| Name | Type | Description | 
|---|---|---|
| id | ID! | ID of the namespace | 
| name | String! | Name of the namespace | 
| path | String! | Path of the namespace | 
| fullName | String! | Full name of the namespace | 
| fullPath | ID! | Full path of the namespace | 
| description | String | Description of the namespace | 
| descriptionHtml | String | The GitLab Flavored Markdown rendering of description | 
| visibility | String | Visibility of the namespace | 
| lfsEnabled | Boolean | Indicates if Large File Storage (LFS) is enabled for namespace | 
| requestAccessEnabled | Boolean | Indicates if users can request access to namespace | 
| rootStorageStatistics | RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces | 
Note
| Name | Type | Description | 
|---|---|---|
| userPermissions | NotePermissions! | Permissions for the current user on the resource | 
| id | ID! | |
| project | Project | The project this note is associated to | 
| author | User! | The user who wrote this note | 
| resolvedBy | User | The user that resolved the discussion | 
| system | Boolean! | Whether or not this note was created by the system or by a user | 
| body | String! | The content note itself | 
| bodyHtml | String | The GitLab Flavored Markdown rendering of note | 
| createdAt | Time! | |
| updatedAt | Time! | |
| discussion | Discussion | The discussion this note is a part of | 
| resolvable | Boolean! | |
| resolvedAt | Time | The time the discussion was resolved | 
| position | DiffPosition | The position of this note on a diff | 
NotePermissions
| Name | Type | Description | 
|---|---|---|
| readNote | Boolean! | Whether or not a user can perform read_noteon this resource | 
| createNote | Boolean! | Whether or not a user can perform create_noteon this resource | 
| adminNote | Boolean! | Whether or not a user can perform admin_noteon this resource | 
| resolveNote | Boolean! | Whether or not a user can perform resolve_noteon this resource | 
| awardEmoji | Boolean! | Whether or not a user can perform award_emojion this resource | 
PageInfo
| Name | Type | Description | 
|---|---|---|
| hasNextPage | Boolean! | When paginating forwards, are there more items? | 
| hasPreviousPage | Boolean! | When paginating backwards, are there more items? | 
| startCursor | String | When paginating backwards, the cursor to continue. | 
| endCursor | String | When paginating forwards, the cursor to continue. | 
Pipeline
| Name | Type | Description | 
|---|---|---|
| userPermissions | PipelinePermissions! | Permissions for the current user on the resource | 
| id | ID! | |
| iid | String! | |
| sha | String! | |
| beforeSha | String | |
| status | PipelineStatusEnum! | |
| detailedStatus | DetailedStatus! | |
| duration | Int | Duration of the pipeline in seconds | 
| coverage | Float | Coverage percentage | 
| createdAt | Time! | |
| updatedAt | Time! | |
| startedAt | Time | |
| finishedAt | Time | |
| committedAt | Time | 
PipelinePermissions
| Name | Type | Description | 
|---|---|---|
| updatePipeline | Boolean! | Whether or not a user can perform update_pipelineon this resource | 
| adminPipeline | Boolean! | Whether or not a user can perform admin_pipelineon this resource | 
| destroyPipeline | Boolean! | Whether or not a user can perform destroy_pipelineon this resource | 
Project
| Name | Type | Description | 
|---|---|---|
| userPermissions | ProjectPermissions! | Permissions for the current user on the resource | 
| id | ID! | ID of the project | 
| fullPath | ID! | Full path of the project | 
| path | String! | Path of the project | 
| nameWithNamespace | String! | Full name of the project with its namespace | 
| name | String! | Name of the project (without namespace) | 
| description | String | Short description of the project | 
| descriptionHtml | String | The GitLab Flavored Markdown rendering of description | 
| tagList | String | List of project tags | 
| sshUrlToRepo | String | URL to connect to the project via SSH | 
| httpUrlToRepo | String | URL to connect to the project via HTTPS | 
| webUrl | String | Web URL of the project | 
| starCount | Int! | Number of times the project has been starred | 
| forksCount | Int! | Number of times the project has been forked | 
| createdAt | Time | Timestamp of the project creation | 
| lastActivityAt | Time | Timestamp of the project last activity | 
| archived | Boolean | Archived status of the project | 
| visibility | String | Visibility of the project | 
| containerRegistryEnabled | Boolean | Indicates if the project stores Docker container images in a container registry | 
| sharedRunnersEnabled | Boolean | Indicates if shared runners are enabled on the project | 
| lfsEnabled | Boolean | Indicates if the project has Large File Storage (LFS) enabled | 
| mergeRequestsFfOnlyEnabled | Boolean | Indicates if no merge commits should be created and all merges should instead be fast-forwarded, which means that merging is only allowed if the branch could be fast-forwarded. | 
| avatarUrl | String | URL to avatar image file of the project | 
| issuesEnabled | Boolean | (deprecated) Does this project have issues enabled?. Use issues_access_levelinstead | 
| mergeRequestsEnabled | Boolean | (deprecated) Does this project have merge_requests enabled?. Use merge_requests_access_levelinstead | 
| wikiEnabled | Boolean | (deprecated) Does this project have wiki enabled?. Use wiki_access_levelinstead | 
| snippetsEnabled | Boolean | (deprecated) Does this project have snippets enabled?. Use snippets_access_levelinstead | 
| jobsEnabled | Boolean | (deprecated) Enable jobs for this project. Use builds_access_levelinstead | 
| publicJobs | Boolean | Indicates if there is public access to pipelines and job details of the project, including output logs and artifacts | 
| openIssuesCount | Int | Number of open issues for the project | 
| importStatus | String | Status of project import background job of the project | 
| onlyAllowMergeIfPipelineSucceeds | Boolean | Indicates if merge requests of the project can only be merged with successful jobs | 
| requestAccessEnabled | Boolean | Indicates if users can request member access to the project | 
| onlyAllowMergeIfAllDiscussionsAreResolved | Boolean | Indicates if merge requests of the project can only be merged when all the discussions are resolved | 
| printingMergeRequestLinkEnabled | Boolean | Indicates if a link to create or view a merge request should display after a push to Git repositories of the project from the command line | 
| removeSourceBranchAfterMerge | Boolean | Indicates if Delete source branchoption should be enabled by default for all new merge requests of the project | 
| namespace | Namespace | Namespace of the project | 
| group | Group | Group of the project | 
| statistics | ProjectStatistics | Statistics of the project | 
| repository | Repository | Git repository of the project | 
| mergeRequest | MergeRequest | A single merge request of the project | 
| issue | ExtendedIssue | A single issue of the project | 
ProjectPermissions
| Name | Type | Description | 
|---|---|---|
| changeNamespace | Boolean! | Whether or not a user can perform change_namespaceon this resource | 
| changeVisibilityLevel | Boolean! | Whether or not a user can perform change_visibility_levelon this resource | 
| renameProject | Boolean! | Whether or not a user can perform rename_projecton this resource | 
| removeProject | Boolean! | Whether or not a user can perform remove_projecton this resource | 
| archiveProject | Boolean! | Whether or not a user can perform archive_projecton this resource | 
| removeForkProject | Boolean! | Whether or not a user can perform remove_fork_projecton this resource | 
| removePages | Boolean! | Whether or not a user can perform remove_pageson this resource | 
| readProject | Boolean! | Whether or not a user can perform read_projecton this resource | 
| createMergeRequestIn | Boolean! | Whether or not a user can perform create_merge_request_inon this resource | 
| readWiki | Boolean! | Whether or not a user can perform read_wikion this resource | 
| readProjectMember | Boolean! | Whether or not a user can perform read_project_memberon this resource | 
| createIssue | Boolean! | Whether or not a user can perform create_issueon this resource | 
| uploadFile | Boolean! | Whether or not a user can perform upload_fileon this resource | 
| readCycleAnalytics | Boolean! | Whether or not a user can perform read_cycle_analyticson this resource | 
| downloadCode | Boolean! | Whether or not a user can perform download_codeon this resource | 
| downloadWikiCode | Boolean! | Whether or not a user can perform download_wiki_codeon this resource | 
| forkProject | Boolean! | Whether or not a user can perform fork_projecton this resource | 
| createProjectSnippet | Boolean! | Whether or not a user can perform create_project_snippeton this resource | 
| readCommitStatus | Boolean! | Whether or not a user can perform read_commit_statuson this resource | 
| requestAccess | Boolean! | Whether or not a user can perform request_accesson this resource | 
| createPipeline | Boolean! | Whether or not a user can perform create_pipelineon this resource | 
| createPipelineSchedule | Boolean! | Whether or not a user can perform create_pipeline_scheduleon this resource | 
| createMergeRequestFrom | Boolean! | Whether or not a user can perform create_merge_request_fromon this resource | 
| createWiki | Boolean! | Whether or not a user can perform create_wikion this resource | 
| pushCode | Boolean! | Whether or not a user can perform push_codeon this resource | 
| createDeployment | Boolean! | Whether or not a user can perform create_deploymenton this resource | 
| pushToDeleteProtectedBranch | Boolean! | Whether or not a user can perform push_to_delete_protected_branchon this resource | 
| adminWiki | Boolean! | Whether or not a user can perform admin_wikion this resource | 
| adminProject | Boolean! | Whether or not a user can perform admin_projecton this resource | 
| updatePages | Boolean! | Whether or not a user can perform update_pageson this resource | 
| adminRemoteMirror | Boolean! | Whether or not a user can perform admin_remote_mirroron this resource | 
| createLabel | Boolean! | Whether or not a user can perform create_labelon this resource | 
| updateWiki | Boolean! | Whether or not a user can perform update_wikion this resource | 
| destroyWiki | Boolean! | Whether or not a user can perform destroy_wikion this resource | 
| createPages | Boolean! | Whether or not a user can perform create_pageson this resource | 
| destroyPages | Boolean! | Whether or not a user can perform destroy_pageson this resource | 
| readPagesContent | Boolean! | Whether or not a user can perform read_pages_contenton this resource | 
| adminOperations | Boolean! | Whether or not a user can perform admin_operationson this resource | 
| readDesign | Boolean! | Whether or not a user can perform read_designon this resource | 
| createDesign | Boolean! | Whether or not a user can perform create_designon this resource | 
| destroyDesign | Boolean! | Whether or not a user can perform destroy_designon this resource | 
ProjectStatistics
| Name | Type | Description | 
|---|---|---|
| commitCount | Int! | Commit count of the project | 
| storageSize | Int! | Storage size of the project | 
| repositorySize | Int! | Repository size of the project | 
| lfsObjectsSize | Int! | Large File Storage (LFS) object size of the project | 
| buildArtifactsSize | Int! | Build artifacts size of the project | 
| packagesSize | Int! | Packages size of the project | 
| wikiSize | Int | Wiki size of the project | 
RemoveAwardEmojiPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| awardEmoji | AwardEmoji | The award emoji after mutation | 
Repository
| Name | Type | Description | 
|---|---|---|
| rootRef | String | Default branch of the repository | 
| empty | Boolean! | Indicates repository has no visible content | 
| exists | Boolean! | Indicates a corresponding Git repository exists on disk | 
| tree | Tree | Tree of the repository | 
RootStorageStatistics
| Name | Type | Description | 
|---|---|---|
| storageSize | Int! | The total storage in bytes | 
| repositorySize | Int! | The git repository size in bytes | 
| lfsObjectsSize | Int! | The LFS objects size in bytes | 
| buildArtifactsSize | Int! | The CI artifacts size in bytes | 
| packagesSize | Int! | The packages size in bytes | 
| wikiSize | Int! | The wiki size in bytes | 
Submodule
| Name | Type | Description | 
|---|---|---|
| id | ID! | |
| name | String! | |
| type | EntryType! | |
| path | String! | |
| flatPath | String! | |
| webUrl | String | |
| treeUrl | String | 
TaskCompletionStatus
| Name | Type | Description | 
|---|---|---|
| count | Int! | Number of total tasks | 
| completedCount | Int! | Number of completed tasks | 
Todo
| Name | Type | Description | 
|---|---|---|
| id | ID! | Id of the todo | 
| project | Project | The project this todo is associated with | 
| group | Group | Group this todo is associated with | 
| author | User! | The owner of this todo | 
| action | TodoActionEnum! | Action of the todo | 
| targetType | TodoTargetEnum! | Target type of the todo | 
| body | String! | Body of the todo | 
| state | TodoStateEnum! | State of the todo | 
| createdAt | Time! | Timestamp this todo was created | 
ToggleAwardEmojiPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| awardEmoji | AwardEmoji | The award emoji after mutation | 
| toggledOn | Boolean! | True when the emoji was awarded, false when it was removed | 
Tree
| Name | Type | Description | 
|---|---|---|
| lastCommit | Commit | Last commit for the tree | 
TreeEntry
| Name | Type | Description | 
|---|---|---|
| id | ID! | |
| name | String! | |
| type | EntryType! | |
| path | String! | |
| flatPath | String! | |
| webUrl | String | 
UpdateEpicPayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| epic | Epic | The epic after mutation | 
UpdateNotePayload
| Name | Type | Description | 
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. | 
| errors | String! => Array | Reasons why the mutation failed. | 
| note | Note | The note after mutation | 
User
| Name | Type | Description | 
|---|---|---|
| name | String! | Human-readable name of the user | 
| username | String! | Username of the user. Unique within this instance of GitLab | 
| avatarUrl | String! | URL of the user's avatar | 
| webUrl | String! | Web URL of the user |