diff options
Diffstat (limited to 'doc/api/graphql/reference/gitlab_schema.graphql')
-rw-r--r-- | doc/api/graphql/reference/gitlab_schema.graphql | 2344 |
1 files changed, 2071 insertions, 273 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql index 58f7d8ecdcf..d7ad70c808e 100644 --- a/doc/api/graphql/reference/gitlab_schema.graphql +++ b/doc/api/graphql/reference/gitlab_schema.graphql @@ -30,7 +30,7 @@ Autogenerated input type of AddAwardEmoji """ input AddAwardEmojiInput { """ - The global id of the awardable resource + The global ID of the awardable resource """ awardableId: AwardableID! @@ -537,22 +537,22 @@ enum AlertManagementAlertSort { """ Created at ascending order """ - created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5") + created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5.") """ Created at descending order """ - created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5") + created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5.") """ Updated at ascending order """ - updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5") + updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5.") """ Updated at descending order """ - updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5") + updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5.") } """ @@ -591,6 +591,21 @@ type AlertManagementAlertStatusCountsType { } """ +Filters the alerts based on given domain +""" +enum AlertManagementDomainFilter { + """ + Alerts for operations domain + """ + operations + + """ + Alerts for threat monitoring domain + """ + threat_monitoring +} + +""" An endpoint and credentials used to accept alerts for a project """ type AlertManagementHttpIntegration implements AlertManagementIntegration { @@ -837,7 +852,7 @@ input AlertSetAssigneesInput { clientMutationId: String """ - The iid of the alert to mutate + The IID of the alert to mutate """ iid: String! @@ -892,7 +907,7 @@ input AlertTodoCreateInput { clientMutationId: String """ - The iid of the alert to mutate + The IID of the alert to mutate """ iid: String! @@ -933,6 +948,11 @@ type AlertTodoCreatePayload { } """ +Identifier of Analytics::DevopsAdoption::Segment +""" +scalar AnalyticsDevopsAdoptionSegmentID + +""" User availability status """ enum AvailabilityEnum { @@ -987,7 +1007,7 @@ Autogenerated input type of AwardEmojiAdd """ input AwardEmojiAddInput { """ - The global id of the awardable resource + The global ID of the awardable resource """ awardableId: AwardableID! @@ -1027,7 +1047,7 @@ Autogenerated input type of AwardEmojiRemove """ input AwardEmojiRemoveInput { """ - The global id of the awardable resource + The global ID of the awardable resource """ awardableId: AwardableID! @@ -1067,7 +1087,7 @@ Autogenerated input type of AwardEmojiToggle """ input AwardEmojiToggleInput { """ - The global id of the awardable resource + The global ID of the awardable resource """ awardableId: AwardableID! @@ -1225,12 +1245,12 @@ Represents a project or group board """ type Board { """ - The board assignee. + The board assignee """ assignee: User """ - Epics associated with board issues. + Epics associated with board issues """ epics( """ @@ -1260,12 +1280,12 @@ type Board { ): BoardEpicConnection """ - Whether or not backlog list is hidden. + Whether or not backlog list is hidden """ hideBacklogList: Boolean """ - Whether or not closed list is hidden. + Whether or not closed list is hidden """ hideClosedList: Boolean @@ -1275,6 +1295,11 @@ type Board { id: ID! """ + The board iteration. + """ + iteration: Iteration + + """ Labels of the board """ labels( @@ -1335,7 +1360,7 @@ type Board { ): BoardListConnection """ - The board milestone. + The board milestone """ milestone: Milestone @@ -1345,7 +1370,7 @@ type Board { name: String """ - Weight of the board. + Weight of the board """ weight: Int } @@ -1415,7 +1440,7 @@ type BoardEpic implements CurrentUserTodos & Noteable { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -1430,7 +1455,7 @@ type BoardEpic implements CurrentUserTodos & Noteable { iid: ID """ - Filter epics by iid for autocomplete + Filter epics by IID for autocomplete """ iidStartsWith: String @@ -1471,8 +1496,8 @@ type BoardEpic implements CurrentUserTodos & Noteable { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time @@ -2095,6 +2120,11 @@ input BoardListCreateInput { clientMutationId: String """ + Global ID of an existing iteration + """ + iterationId: IterationID + + """ Global ID of an existing label """ labelId: LabelID @@ -2190,6 +2220,11 @@ type BoardListUpdateLimitMetricsPayload { list: BoardList } +""" +Identifier of Boards::EpicBoard +""" +scalar BoardsEpicBoardID + type Branch { """ Commit for the branch @@ -2232,6 +2267,101 @@ type BurnupChartDailyTotals { scopeWeight: Int! } +type CiConfig { + """ + Linting errors + """ + errors: [String!] + + """ + Merged CI config YAML + """ + mergedYaml: String + + """ + Stages of the pipeline + """ + stages: [CiConfigStage!] + + """ + Status of linting, can be either valid or invalid + """ + status: CiConfigStatus +} + +type CiConfigGroup { + """ + Jobs in group + """ + jobs: [CiConfigJob!] + + """ + Name of the job group + """ + name: String + + """ + Size of the job group + """ + size: Int +} + +type CiConfigJob { + """ + Name of the job group + """ + groupName: String + + """ + Name of the job + """ + name: String + + """ + Builds that must complete before the jobs run + """ + needs: [CiConfigNeed!] + + """ + Name of the job stage + """ + stage: String +} + +type CiConfigNeed { + """ + Name of the need + """ + name: String +} + +type CiConfigStage { + """ + Groups of jobs for the stage + """ + groups: [CiConfigGroup!] + + """ + Name of the stage + """ + name: String +} + +""" +Values for YAML processor result +""" +enum CiConfigStatus { + """ + The configuration file is not valid + """ + INVALID + + """ + The configuration file is valid + """ + VALID +} + type CiGroup { """ Detailed status of the group @@ -2311,6 +2441,31 @@ type CiGroupEdge { type CiJob { """ + Artifacts generated by the job + """ + artifacts( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): CiJobArtifactConnection + + """ Detailed status of the job """ detailedStatus: DetailedStatus @@ -2348,7 +2503,7 @@ type CiJob { """ Pipeline the job belongs to """ - pipeline: Pipeline! + pipeline: Pipeline """ Schedule for the build @@ -2356,6 +2511,53 @@ type CiJob { scheduledAt: Time } +type CiJobArtifact { + """ + URL for downloading the artifact's file + """ + downloadPath: String + + """ + File type of the artifact + """ + fileType: JobArtifactFileType +} + +""" +The connection type for CiJobArtifact. +""" +type CiJobArtifactConnection { + """ + A list of edges. + """ + edges: [CiJobArtifactEdge] + + """ + A list of nodes. + """ + nodes: [CiJobArtifact] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! +} + +""" +An edge in a connection. +""" +type CiJobArtifactEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: CiJobArtifact +} + """ The connection type for CiJob. """ @@ -2555,7 +2757,7 @@ input ClusterAgentDeleteInput { clientMutationId: String """ - Global id of the cluster agent that will be deleted + Global ID of the cluster agent that will be deleted """ id: ClustersAgentID! } @@ -2899,6 +3101,11 @@ type Commit { sha: String! """ + Short SHA1 ID of the commit + """ + shortId: String! + + """ Rendered HTML of the commit signature """ signatureHtml: String @@ -2992,6 +3199,26 @@ enum CommitActionMode { } """ +The connection type for Commit. +""" +type CommitConnection { + """ + A list of edges. + """ + edges: [CommitEdge] + + """ + A list of nodes. + """ + nodes: [Commit] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! +} + +""" Autogenerated input type of CommitCreate """ input CommitCreateInput { @@ -3046,6 +3273,21 @@ type CommitCreatePayload { errors: [String!]! } +""" +An edge in a connection. +""" +type CommitEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Commit +} + enum CommitEncoding { """ Base64 encoding @@ -3063,6 +3305,21 @@ Represents a ComplianceFramework associated with a Project """ type ComplianceFramework { """ + Hexadecimal representation of compliance framework's label color + """ + color: String! + + """ + Description of the compliance framework + """ + description: String! + + """ + Compliance framework ID + """ + id: ID! + + """ Name of the compliance framework """ name: String! @@ -3104,6 +3361,11 @@ type ComplianceFrameworkEdge { } """ +Identifier of ComplianceManagement::Framework +""" +scalar ComplianceManagementFrameworkID + +""" Autogenerated input type of ConfigureSast """ input ConfigureSastInput { @@ -3324,6 +3586,11 @@ type ContainerRepository { path: String! """ + Project of the container registry + """ + project: Project! + + """ Status of the container repository. """ status: ContainerRepositoryStatus @@ -3429,6 +3696,11 @@ type ContainerRepositoryDetails { path: String! """ + Project of the container registry + """ + project: Project! + + """ Status of the container repository. """ status: ContainerRepositoryStatus @@ -3599,7 +3871,7 @@ input CreateAlertIssueInput { clientMutationId: String """ - The iid of the alert to mutate + The IID of the alert to mutate """ iid: String! @@ -3649,7 +3921,7 @@ input CreateAnnotationInput { clientMutationId: String """ - The global id of the cluster to add an annotation to + The global ID of the cluster to add an annotation to """ clusterId: ClustersClusterID @@ -3669,7 +3941,7 @@ input CreateAnnotationInput { endingAt: Time """ - The global id of the environment to add an annotation to + The global ID of the environment to add an annotation to """ environmentId: EnvironmentID @@ -3704,11 +3976,6 @@ Autogenerated input type of CreateBoard """ input CreateBoardInput { """ - The ID of the user to be assigned to the board. - """ - assigneeId: String - - """ A unique identifier for the client performing the mutation. """ clientMutationId: String @@ -3719,14 +3986,14 @@ input CreateBoardInput { groupPath: ID """ - The IDs of labels to be added to the board. + Whether or not backlog list is hidden """ - labelIds: [LabelID!] + hideBacklogList: Boolean """ - The ID of the milestone to be assigned to the board. + Whether or not closed list is hidden """ - milestoneId: MilestoneID + hideClosedList: Boolean """ The board name. @@ -3737,11 +4004,6 @@ input CreateBoardInput { The project full path the resource is associated with """ projectPath: ID - - """ - The weight of the board. - """ - weight: Boolean } """ @@ -3850,6 +4112,56 @@ type CreateClusterAgentPayload { } """ +Autogenerated input type of CreateComplianceFramework +""" +input CreateComplianceFrameworkInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Color to represent the compliance framework as a hexadecimal value. e.g. #ABC123. + """ + color: String! + + """ + Description of the compliance framework. + """ + description: String! + + """ + Name of the compliance framework. + """ + name: String! + + """ + Full path of the namespace to add the compliance framework to. + """ + namespacePath: ID! +} + +""" +Autogenerated return type of CreateComplianceFramework +""" +type CreateComplianceFrameworkPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The created compliance framework. + """ + framework: ComplianceFramework +} + +""" Autogenerated input type of CreateCustomEmoji """ input CreateCustomEmojiInput { @@ -3895,6 +4207,46 @@ type CreateCustomEmojiPayload { } """ +Autogenerated input type of CreateDevopsAdoptionSegment +""" +input CreateDevopsAdoptionSegmentInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The array of group IDs to set for the segment + """ + groupIds: [GroupID!] + + """ + Name of the segment + """ + name: String! +} + +""" +Autogenerated return type of CreateDevopsAdoptionSegment +""" +type CreateDevopsAdoptionSegmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The segment after mutation + """ + segment: DevopsAdoptionSegment +} + +""" Autogenerated input type of CreateDiffNote """ input CreateDiffNoteInput { @@ -3914,7 +4266,7 @@ input CreateDiffNoteInput { confidential: Boolean """ - The global id of the resource to add a note to + The global ID of the resource to add a note to """ noteableId: NoteableID! @@ -4044,7 +4396,7 @@ input CreateImageDiffNoteInput { confidential: Boolean """ - The global id of the resource to add a note to + The global ID of the resource to add a note to """ noteableId: NoteableID! @@ -4269,12 +4621,12 @@ input CreateNoteInput { confidential: Boolean """ - The global id of the discussion this note is in reply to + The global ID of the discussion this note is in reply to """ discussionId: DiscussionID """ - The global id of the resource to add a note to + The global ID of the resource to add a note to """ noteableId: NoteableID! } @@ -4623,9 +4975,9 @@ type DastScannerProfile { editPath: String """ - ID of the DAST scanner profile. Deprecated in 13.6: Use `id` + ID of the DAST scanner profile Deprecated in 13.6: Use `id`. """ - globalId: DastScannerProfileID! @deprecated(reason: "Use `id`. Deprecated in 13.6") + globalId: DastScannerProfileID! @deprecated(reason: "Use `id`. Deprecated in 13.6.") """ ID of the DAST scanner profile @@ -4747,9 +5099,9 @@ type DastScannerProfileCreatePayload { errors: [String!]! """ - ID of the scanner profile.. Deprecated in 13.6: Use `id` + ID of the scanner profile. Deprecated in 13.6: Use `id`. """ - globalId: DastScannerProfileID @deprecated(reason: "Use `id`. Deprecated in 13.6") + globalId: DastScannerProfileID @deprecated(reason: "Use `id`. Deprecated in 13.6.") """ ID of the scanner profile. @@ -4899,6 +5251,11 @@ type DastSiteProfile { id: DastSiteProfileID! """ + Normalized URL of the target to be scanned + """ + normalizedTargetUrl: String + + """ The name of the site profile """ profileName: String @@ -5111,6 +5468,11 @@ enum DastSiteProfileValidationStatusEnum { INPROGRESS_VALIDATION """ + No site validation exists + """ + NONE + + """ Site validation process finished successfully """ PASSED_VALIDATION @@ -5181,17 +5543,42 @@ Represents a DAST Site Validation """ type DastSiteValidation { """ - ID of the site validation + Global ID of the site validation """ id: DastSiteValidationID! """ - The status of the validation + Normalized URL of the target to be validated + """ + normalizedTargetUrl: String + + """ + Status of the site validation """ status: DastSiteProfileValidationStatusEnum! } """ +The connection type for DastSiteValidation. +""" +type DastSiteValidationConnection { + """ + A list of edges. + """ + edges: [DastSiteValidationEdge] + + """ + A list of nodes. + """ + nodes: [DastSiteValidation] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! +} + +""" Autogenerated input type of DastSiteValidationCreate """ input DastSiteValidationCreateInput { @@ -5247,6 +5634,21 @@ type DastSiteValidationCreatePayload { } """ +An edge in a connection. +""" +type DastSiteValidationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: DastSiteValidation +} + +""" Identifier of DastSiteValidation """ scalar DastSiteValidationID @@ -5278,7 +5680,7 @@ input DeleteAnnotationInput { clientMutationId: String """ - The global ID of the annotation to delete + Global ID of the annotation to delete """ id: MetricsDashboardAnnotationID! } @@ -5299,6 +5701,36 @@ type DeleteAnnotationPayload { } """ +Autogenerated input type of DeleteDevopsAdoptionSegment +""" +input DeleteDevopsAdoptionSegmentInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the segment + """ + id: AnalyticsDevopsAdoptionSegmentID! +} + +""" +Autogenerated return type of DeleteDevopsAdoptionSegment +""" +type DeleteDevopsAdoptionSegmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! +} + +""" The response from the AdminSidekiqQueuesDeleteJobs mutation """ type DeleteJobsResponse { @@ -5868,7 +6300,7 @@ input DesignManagementDeleteInput { filenames: [String!]! """ - The iid of the issue to modify designs for + The IID of the issue to modify designs for """ iid: ID! @@ -5968,7 +6400,7 @@ input DesignManagementUploadInput { files: [Upload!]! """ - The iid of the issue to modify designs for + The IID of the issue to modify designs for """ iid: ID! @@ -6234,6 +6666,36 @@ type DestroyBoardPayload { } """ +Autogenerated input type of DestroyComplianceFramework +""" +input DestroyComplianceFrameworkInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The global ID of the compliance framework to destroy + """ + id: ComplianceManagementFrameworkID! +} + +""" +Autogenerated return type of DestroyComplianceFramework +""" +type DestroyComplianceFrameworkPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! +} + +""" Autogenerated input type of DestroyContainerRepository """ input DestroyContainerRepositoryInput { @@ -6269,6 +6731,46 @@ type DestroyContainerRepositoryPayload { } """ +Autogenerated input type of DestroyContainerRepositoryTags +""" +input DestroyContainerRepositoryTagsInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the container repository. + """ + id: ContainerRepositoryID! + + """ + Container repository tag(s) to delete. Total number can't be greater than 20 + """ + tagNames: [String!]! +} + +""" +Autogenerated return type of DestroyContainerRepositoryTags +""" +type DestroyContainerRepositoryTagsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Deleted container repository tags + """ + deletedTagNames: [String!]! + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! +} + +""" Autogenerated input type of DestroyNote """ input DestroyNoteInput { @@ -6278,7 +6780,7 @@ input DestroyNoteInput { clientMutationId: String """ - The global id of the note to destroy + The global ID of the note to destroy """ id: NoteID! } @@ -6313,7 +6815,7 @@ input DestroySnippetInput { clientMutationId: String """ - The global id of the snippet to destroy + The global ID of the snippet to destroy """ id: SnippetID! } @@ -6392,27 +6894,7 @@ type DevopsAdoptionSegment { """ Assigned groups """ - groups( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): GroupConnection + groups: [Group!] """ ID of the segment @@ -6420,6 +6902,11 @@ type DevopsAdoptionSegment { id: ID! """ + The latest adoption metrics for the segment + """ + latestSnapshot: DevopsAdoptionSnapshot + + """ Name of the segment """ name: String! @@ -6460,6 +6947,61 @@ type DevopsAdoptionSegmentEdge { node: DevopsAdoptionSegment } +""" +Snapshot +""" +type DevopsAdoptionSnapshot { + """ + At least one deployment succeeded + """ + deploySucceeded: Boolean! + + """ + The end time for the snapshot where the data points were collected + """ + endTime: Time! + + """ + At least one issue was opened + """ + issueOpened: Boolean! + + """ + At least one merge request was approved + """ + mergeRequestApproved: Boolean! + + """ + At least one merge request was opened + """ + mergeRequestOpened: Boolean! + + """ + At least one pipeline succeeded + """ + pipelineSucceeded: Boolean! + + """ + The time the snapshot was recorded + """ + recordedAt: Time! + + """ + At least one runner was used + """ + runnerConfigured: Boolean! + + """ + At least one security scan succeeded + """ + securityScanSucceeded: Boolean! + + """ + The start time for the snapshot where the data points were collected + """ + startTime: Time! +} + input DiffImagePositionInput { """ Merge base of the branch the comment was made on @@ -6792,7 +7334,7 @@ input DiscussionToggleResolveInput { clientMutationId: String """ - The global id of the discussion + The global ID of the discussion """ id: DiscussionID! @@ -7048,7 +7590,7 @@ type Epic implements CurrentUserTodos & Noteable { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -7063,7 +7605,7 @@ type Epic implements CurrentUserTodos & Noteable { iid: ID """ - Filter epics by iid for autocomplete + Filter epics by IID for autocomplete """ iidStartsWith: String @@ -7104,8 +7646,8 @@ type Epic implements CurrentUserTodos & Noteable { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time @@ -7476,12 +8018,12 @@ input EpicAddIssueInput { groupPath: ID! """ - The iid of the epic to mutate + The IID of the epic to mutate """ iid: ID! """ - The iid of the issue to be added + The IID of the issue to be added """ issueIid: String! @@ -7517,6 +8059,56 @@ type EpicAddIssuePayload { } """ +Represents an epic board +""" +type EpicBoard { + """ + Global ID of the board + """ + id: BoardsEpicBoardID! + + """ + Name of the board + """ + name: String +} + +""" +The connection type for EpicBoard. +""" +type EpicBoardConnection { + """ + A list of edges. + """ + edges: [EpicBoardEdge] + + """ + A list of nodes. + """ + nodes: [EpicBoard] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! +} + +""" +An edge in a connection. +""" +type EpicBoardEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: EpicBoard +} + +""" The connection type for Epic. """ type EpicConnection { @@ -7656,12 +8248,12 @@ type EpicIssue implements CurrentUserTodos & Noteable { author: User! """ - Indicates the issue is blocked + Indicates the issue is blocked. """ blocked: Boolean! """ - Count of issues blocking this issue + Count of issues blocking this issue. """ blockedByCount: Int @@ -7771,7 +8363,7 @@ type EpicIssue implements CurrentUserTodos & Noteable { emailsDisabled: Boolean! """ - Epic to which this issue belongs + Epic to which this issue belongs. """ epic: Epic @@ -7781,7 +8373,7 @@ type EpicIssue implements CurrentUserTodos & Noteable { epicIssueId: ID! """ - Current health status. Returns null if `save_issuable_health_status` feature flag is disabled. + Current health status. """ healthStatus: HealthStatus @@ -7806,7 +8398,7 @@ type EpicIssue implements CurrentUserTodos & Noteable { iid: ID! """ - Iteration of the issue + Iteration of the issue. """ iteration: Iteration @@ -7836,6 +8428,11 @@ type EpicIssue implements CurrentUserTodos & Noteable { ): LabelConnection """ + Metric images associated to the issue. + """ + metricImages: [MetricImage!] + + """ Milestone of the issue """ milestone: Milestone @@ -7936,7 +8533,7 @@ type EpicIssue implements CurrentUserTodos & Noteable { state: IssueState! """ - Indicates whether an issue is published to the status page + Indicates whether an issue is published to the status page. """ statusPagePublishedIncident: Boolean @@ -8016,7 +8613,7 @@ type EpicIssue implements CurrentUserTodos & Noteable { webUrl: String! """ - Weight of the issue + Weight of the issue. """ weight: Int } @@ -8126,7 +8723,7 @@ input EpicSetSubscriptionInput { groupPath: ID! """ - The iid of the epic to mutate + The IID of the epic to mutate """ iid: ID! @@ -8210,12 +8807,12 @@ A node of an epic tree. """ input EpicTreeNodeFieldsInputType { """ - The id of the epic_issue or issue that the actual epic or issue is switched with + The ID of the epic_issue or issue that the actual epic or issue is switched with """ adjacentReferenceId: EpicTreeSortingID """ - The id of the epic_issue or epic that is being moved + The ID of the epic_issue or epic that is being moved """ id: EpicTreeSortingID! @@ -8235,7 +8832,7 @@ Autogenerated input type of EpicTreeReorder """ input EpicTreeReorderInput { """ - The id of the base epic of the tree + The ID of the base epic of the tree """ baseEpicId: EpicID! @@ -8285,6 +8882,46 @@ enum EpicWildcardId { NONE } +""" +Represents an external issue +""" +type ExternalIssue { + """ + Timestamp of when the issue was created + """ + createdAt: Time + + """ + Type of external tracker + """ + externalTracker: String + + """ + Relative reference of the issue in the external tracker + """ + relativeReference: String + + """ + Status of the issue in the external tracker + """ + status: String + + """ + Title of the issue in the external tracker + """ + title: String + + """ + Timestamp of when the issue was updated + """ + updatedAt: Time + + """ + URL to the issue in the external tracker + """ + webUrl: String +} + type GeoNode { """ The maximum concurrency of container repository sync for this secondary node @@ -8427,8 +9064,7 @@ type GeoNode { selectiveSyncType: String """ - Find snippet repository registries on this Geo node. Available only when - feature flag `geo_snippet_repository_replication` is enabled + Find snippet repository registries on this Geo node """ snippetRepositoryRegistries( """ @@ -8597,8 +9233,7 @@ type Group { ): BoardConnection """ - Represents the code coverage activity for this group. Available only when - feature flag `group_coverage_data_report_graph` is enabled + Represents the code coverage activity for this group """ codeCoverageActivities( """ @@ -8628,7 +9263,33 @@ type Group { ): CodeCoverageActivityConnection """ - Container repositories of the project + Compliance frameworks available to projects in this namespace Available only + when feature flag `ff_custom_compliance_frameworks` is enabled. + """ + complianceFrameworks( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ComplianceFrameworkConnection + + """ + Container repositories of the group """ containerRepositories( """ @@ -8658,12 +9319,17 @@ type Group { ): ContainerRepositoryConnection """ + Number of container repositories in the group + """ + containerRepositoriesCount: Int! + + """ Includes at least one project where the repository size exceeds the limit """ containsLockedProjects: Boolean! """ - Custom emoji within this namespace. Available only when feature flag `custom_emoji` is enabled + Custom emoji within this namespace Available only when feature flag `custom_emoji` is enabled. """ customEmoji( """ @@ -8713,7 +9379,7 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -8723,7 +9389,7 @@ type Group { iid: ID """ - Filter epics by iid for autocomplete + Filter epics by IID for autocomplete """ iidStartsWith: String @@ -8759,8 +9425,8 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time @@ -8776,6 +9442,41 @@ type Group { ): Epic """ + Find a single epic board + """ + epicBoard( + """ + Find an epic board by ID + """ + id: BoardsEpicBoardID! + ): EpicBoard + + """ + Find epic boards + """ + epicBoards( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): EpicBoardConnection + + """ Find epics """ epics( @@ -8796,7 +9497,7 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -8811,7 +9512,7 @@ type Group { iid: ID """ - Filter epics by iid for autocomplete + Filter epics by IID for autocomplete """ iidStartsWith: String @@ -8852,8 +9553,8 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time @@ -8908,6 +9609,11 @@ type Group { last: Int """ + Filter members by the given member relations + """ + relations: [GroupMemberRelation!] = [DIRECT, INHERITED] + + """ Search query """ search: String @@ -9074,7 +9780,7 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -9084,17 +9790,17 @@ type Group { first: Int """ - The ID of the Iteration to look up + Global ID of the Iteration to look up. """ id: ID """ - The internal ID of the Iteration to look up + Internal ID of the Iteration to look up. """ iid: ID """ - Whether to include ancestor iterations. Defaults to true + Whether to include ancestor iterations. Defaults to true. """ includeAncestors: Boolean @@ -9105,13 +9811,13 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time """ - Filter iterations by state + Filter iterations by state. """ state: IterationState @@ -9121,7 +9827,7 @@ type Group { timeframe: Timeframe """ - Fuzzy search by title + Fuzzy search by title. """ title: String ): IterationConnection @@ -9282,7 +9988,7 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -9313,8 +10019,8 @@ type Group { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time @@ -9616,7 +10322,7 @@ type Group { """ Number of vulnerabilities per severity level, per day, for the projects in the - group and its subgroups. Deprecated in 13.3: Use `vulnerabilitiesCountByDay` + group and its subgroups Deprecated in 13.3: Use `vulnerabilitiesCountByDay`. """ vulnerabilitiesCountByDayAndSeverity( """ @@ -9648,7 +10354,7 @@ type Group { First day for which to fetch vulnerability history """ startDate: ISO8601Date! - ): VulnerabilitiesCountByDayAndSeverityConnection @deprecated(reason: "Use `vulnerabilitiesCountByDay`. Deprecated in 13.3") + ): VulnerabilitiesCountByDayAndSeverityConnection @deprecated(reason: "Use `vulnerabilitiesCountByDay`. Deprecated in 13.3.") """ Represents vulnerable project counts for each grade @@ -9722,41 +10428,6 @@ type Group { } """ -The connection type for Group. -""" -type GroupConnection { - """ - A list of edges. - """ - edges: [GroupEdge] - - """ - A list of nodes. - """ - nodes: [Group] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An edge in a connection. -""" -type GroupEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: Group -} - -""" Identifier of Group """ scalar GroupID @@ -9846,6 +10517,26 @@ type GroupMemberEdge { node: GroupMember } +""" +Group member relation +""" +enum GroupMemberRelation { + """ + Descendants members + """ + DESCENDANTS + + """ + Direct members + """ + DIRECT + + """ + Inherited members + """ + INHERITED +} + type GroupPermissions { """ Indicates the user can perform `read_group` on this resource @@ -9944,7 +10635,7 @@ input HttpIntegrationDestroyInput { clientMutationId: String """ - The id of the integration to remove + The ID of the integration to remove """ id: AlertManagementHttpIntegrationID! } @@ -9979,7 +10670,7 @@ input HttpIntegrationResetTokenInput { clientMutationId: String """ - The id of the integration to mutate + The ID of the integration to mutate """ id: AlertManagementHttpIntegrationID! } @@ -10019,7 +10710,7 @@ input HttpIntegrationUpdateInput { clientMutationId: String """ - The id of the integration to mutate + The ID of the integration to mutate """ id: AlertManagementHttpIntegrationID! @@ -10054,6 +10745,66 @@ An ISO 8601-encoded date """ scalar ISO8601Date +""" +Describes an incident management on-call schedule +""" +type IncidentManagementOncallSchedule { + """ + Description of the on-call schedule + """ + description: String + + """ + Internal ID of the on-call schedule + """ + iid: ID! + + """ + Name of the on-call schedule + """ + name: String! + + """ + Time zone of the on-call schedule + """ + timezone: String! +} + +""" +The connection type for IncidentManagementOncallSchedule. +""" +type IncidentManagementOncallScheduleConnection { + """ + A list of edges. + """ + edges: [IncidentManagementOncallScheduleEdge] + + """ + A list of nodes. + """ + nodes: [IncidentManagementOncallSchedule] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! +} + +""" +An edge in a connection. +""" +type IncidentManagementOncallScheduleEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: IncidentManagementOncallSchedule +} + type InstanceSecurityDashboard { """ Projects selected in Instance Security Dashboard @@ -10273,12 +11024,12 @@ type Issue implements CurrentUserTodos & Noteable { author: User! """ - Indicates the issue is blocked + Indicates the issue is blocked. """ blocked: Boolean! """ - Count of issues blocking this issue + Count of issues blocking this issue. """ blockedByCount: Int @@ -10388,12 +11139,12 @@ type Issue implements CurrentUserTodos & Noteable { emailsDisabled: Boolean! """ - Epic to which this issue belongs + Epic to which this issue belongs. """ epic: Epic """ - Current health status. Returns null if `save_issuable_health_status` feature flag is disabled. + Current health status. """ healthStatus: HealthStatus @@ -10418,7 +11169,7 @@ type Issue implements CurrentUserTodos & Noteable { iid: ID! """ - Iteration of the issue + Iteration of the issue. """ iteration: Iteration @@ -10448,6 +11199,11 @@ type Issue implements CurrentUserTodos & Noteable { ): LabelConnection """ + Metric images associated to the issue. + """ + metricImages: [MetricImage!] + + """ Milestone of the issue """ milestone: Milestone @@ -10543,7 +11299,7 @@ type Issue implements CurrentUserTodos & Noteable { state: IssueState! """ - Indicates whether an issue is published to the status page + Indicates whether an issue is published to the status page. """ statusPagePublishedIncident: Boolean @@ -10623,7 +11379,7 @@ type Issue implements CurrentUserTodos & Noteable { webUrl: String! """ - Weight of the issue + Weight of the issue. """ weight: Int } @@ -11360,22 +12116,22 @@ enum IssueSort { """ Created at ascending order """ - created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5") + created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5.") """ Created at descending order """ - created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5") + created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5.") """ Updated at ascending order """ - updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5") + updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5.") """ Updated at descending order """ - updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5") + updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5.") } """ @@ -11584,6 +12340,11 @@ enum IterationWildcardId { ANY """ + Current iteration + """ + CURRENT + + """ No iteration is assigned """ NONE @@ -11889,11 +12650,41 @@ input JiraUsersMappingInputType { gitlabId: Int """ - Jira account id of the user + Jira account ID of the user """ jiraAccountId: String! } +enum JobArtifactFileType { + ACCESSIBILITY + API_FUZZING + ARCHIVE + BROWSER_PERFORMANCE + CLUSTER_APPLICATIONS + COBERTURA + CODEQUALITY + CONTAINER_SCANNING + COVERAGE_FUZZING + DAST + DEPENDENCY_SCANNING + DOTENV + JUNIT + LICENSE_MANAGEMENT + LICENSE_SCANNING + LOAD_PERFORMANCE + LSIF + METADATA + METRICS + METRICS_REFEREE + NETWORK_REFEREE + PERFORMANCE + REQUIREMENTS + SAST + SECRET_DETECTION + TERRAFORM + TRACE +} + type Label { """ Background color of the label @@ -12052,7 +12843,7 @@ input MarkAsSpamSnippetInput { clientMutationId: String """ - The global id of the snippet to update + The global ID of the snippet to update """ id: SnippetID! } @@ -12286,11 +13077,41 @@ type MergeRequest implements CurrentUserTodos & Noteable { autoMergeEnabled: Boolean! """ + Array of available auto merge strategies + """ + availableAutoMergeStrategies: [String!] + + """ Number of commits in the merge request """ commitCount: Int """ + Merge request commits excluding merge commits + """ + commitsWithoutMergeCommits( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): CommitConnection + + """ Indicates if the merge request has conflicts """ conflicts: Boolean! @@ -12336,6 +13157,11 @@ type MergeRequest implements CurrentUserTodos & Noteable { defaultMergeCommitMessage: String """ + Default merge commit message of the merge request with description + """ + defaultMergeCommitMessageWithDescription: String + + """ Description of the merge request (Markdown rendered as HTML for caching) """ description: String @@ -12411,6 +13237,11 @@ type MergeRequest implements CurrentUserTodos & Noteable { forceRemoveSourceBranch: Boolean """ + Indicates if the merge request has CI + """ + hasCi: Boolean! + + """ The pipeline running on the branch HEAD of the merge request """ headPipeline: Pipeline @@ -12476,11 +13307,20 @@ type MergeRequest implements CurrentUserTodos & Noteable { mergeStatus: String """ + """ + mergeTrainsCount: Int + + """ Indicates if the merge has been set to be merged when its pipeline succeeds (MWPS) """ mergeWhenPipelineSucceeds: Boolean """ + Indicates if the merge request is mergeable + """ + mergeable: Boolean! + + """ Indicates if all discussions in the merge request have been resolved, allowing the merge request to be merged """ mergeableDiscussionsState: Boolean @@ -12546,7 +13386,8 @@ type MergeRequest implements CurrentUserTodos & Noteable { ): UserConnection """ - Pipelines for the merge request + Pipelines for the merge request. Note: for performance reasons, no more than + the most recent 500 pipelines will be returned. """ pipelines( """ @@ -12616,6 +13457,11 @@ type MergeRequest implements CurrentUserTodos & Noteable { ): String! """ + Indicates if the merge request is created by @GitLab-Security-Bot. + """ + securityAutoFix: Boolean + + """ Indicates if the merge request will be rebased """ shouldBeRebased: Boolean! @@ -12636,6 +13482,11 @@ type MergeRequest implements CurrentUserTodos & Noteable { sourceBranchExists: Boolean! """ + Indicates if the source branch is protected + """ + sourceBranchProtected: Boolean! + + """ Source project of the merge request """ sourceProject: Project @@ -12646,6 +13497,11 @@ type MergeRequest implements CurrentUserTodos & Noteable { sourceProjectId: Int """ + Indicates if squash on merge is enabled + """ + squashOnMerge: Boolean! + + """ State of the merge request """ state: MergeRequestState! @@ -12759,6 +13615,11 @@ type MergeRequestConnection { Information to aid in pagination. """ pageInfo: PageInfo! + + """ + Total sum of time to merge, in seconds, for the collection of merge requests + """ + totalTimeToMerge: Float } """ @@ -12986,7 +13847,7 @@ input MergeRequestSetAssigneesInput { clientMutationId: String """ - The iid of the merge request to mutate + The IID of the merge request to mutate """ iid: String! @@ -13031,7 +13892,7 @@ input MergeRequestSetLabelsInput { clientMutationId: String """ - The iid of the merge request to mutate + The IID of the merge request to mutate """ iid: String! @@ -13081,7 +13942,7 @@ input MergeRequestSetLockedInput { clientMutationId: String """ - The iid of the merge request to mutate + The IID of the merge request to mutate """ iid: String! @@ -13126,7 +13987,7 @@ input MergeRequestSetMilestoneInput { clientMutationId: String """ - The iid of the merge request to mutate + The IID of the merge request to mutate """ iid: String! @@ -13171,7 +14032,7 @@ input MergeRequestSetSubscriptionInput { clientMutationId: String """ - The iid of the merge request to mutate + The IID of the merge request to mutate """ iid: String! @@ -13216,7 +14077,7 @@ input MergeRequestSetWipInput { clientMutationId: String """ - The iid of the merge request to mutate + The IID of the merge request to mutate """ iid: String! @@ -13318,22 +14179,22 @@ enum MergeRequestSort { """ Created at ascending order """ - created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5") + created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5.") """ Created at descending order """ - created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5") + created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5.") """ Updated at ascending order """ - updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5") + updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5.") """ Updated at descending order """ - updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5") + updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5.") } """ @@ -13362,7 +14223,7 @@ input MergeRequestUpdateInput { description: String """ - The iid of the merge request to mutate + The IID of the merge request to mutate """ iid: String! @@ -13414,6 +14275,36 @@ type Metadata { version: String! } +""" +Represents a metric image upload +""" +type MetricImage { + """ + File name of the metric image + """ + fileName: String + + """ + File path of the metric image + """ + filePath: String + + """ + ID of the metric upload + """ + id: ID! + + """ + Internal ID of the metric upload + """ + iid: ID! + + """ + URL of the metric source + """ + url: String! +} + type MetricsDashboard { """ Annotations added to the dashboard @@ -13679,7 +14570,7 @@ enum MoveType { } type Mutation { - addAwardEmoji(input: AddAwardEmojiInput!): AddAwardEmojiPayload @deprecated(reason: "Use awardEmojiAdd. Deprecated in 13.2") + addAwardEmoji(input: AddAwardEmojiInput!): AddAwardEmojiPayload @deprecated(reason: "Use awardEmojiAdd. Deprecated in 13.2.") addProjectToSecurityDashboard(input: AddProjectToSecurityDashboardInput!): AddProjectToSecurityDashboardPayload adminSidekiqQueuesDeleteJobs(input: AdminSidekiqQueuesDeleteJobsInput!): AdminSidekiqQueuesDeleteJobsPayload alertSetAssignees(input: AlertSetAssigneesInput!): AlertSetAssigneesPayload @@ -13699,11 +14590,13 @@ type Mutation { createBoard(input: CreateBoardInput!): CreateBoardPayload createBranch(input: CreateBranchInput!): CreateBranchPayload createClusterAgent(input: CreateClusterAgentInput!): CreateClusterAgentPayload + createComplianceFramework(input: CreateComplianceFrameworkInput!): CreateComplianceFrameworkPayload """ - . Available only when feature flag `custom_emoji` is enabled + Available only when feature flag `custom_emoji` is enabled. """ createCustomEmoji(input: CreateCustomEmojiInput!): CreateCustomEmojiPayload + createDevopsAdoptionSegment(input: CreateDevopsAdoptionSegmentInput!): CreateDevopsAdoptionSegmentPayload createDiffNote(input: CreateDiffNoteInput!): CreateDiffNotePayload createEpic(input: CreateEpicInput!): CreateEpicPayload createImageDiffNote(input: CreateImageDiffNoteInput!): CreateImageDiffNotePayload @@ -13723,12 +14616,15 @@ type Mutation { dastSiteTokenCreate(input: DastSiteTokenCreateInput!): DastSiteTokenCreatePayload dastSiteValidationCreate(input: DastSiteValidationCreateInput!): DastSiteValidationCreatePayload deleteAnnotation(input: DeleteAnnotationInput!): DeleteAnnotationPayload + deleteDevopsAdoptionSegment(input: DeleteDevopsAdoptionSegmentInput!): DeleteDevopsAdoptionSegmentPayload designManagementDelete(input: DesignManagementDeleteInput!): DesignManagementDeletePayload designManagementMove(input: DesignManagementMoveInput!): DesignManagementMovePayload designManagementUpload(input: DesignManagementUploadInput!): DesignManagementUploadPayload destroyBoard(input: DestroyBoardInput!): DestroyBoardPayload destroyBoardList(input: DestroyBoardListInput!): DestroyBoardListPayload + destroyComplianceFramework(input: DestroyComplianceFrameworkInput!): DestroyComplianceFrameworkPayload destroyContainerRepository(input: DestroyContainerRepositoryInput!): DestroyContainerRepositoryPayload + destroyContainerRepositoryTags(input: DestroyContainerRepositoryTagsInput!): DestroyContainerRepositoryTagsPayload destroyNote(input: DestroyNoteInput!): DestroyNotePayload destroySnippet(input: DestroySnippetInput!): DestroySnippetPayload @@ -13736,7 +14632,7 @@ type Mutation { Toggles the resolved state of a discussion """ discussionToggleResolve(input: DiscussionToggleResolveInput!): DiscussionToggleResolvePayload - dismissVulnerability(input: DismissVulnerabilityInput!): DismissVulnerabilityPayload @deprecated(reason: "Use vulnerabilityDismiss. Deprecated in 13.5") + dismissVulnerability(input: DismissVulnerabilityInput!): DismissVulnerabilityPayload @deprecated(reason: "Use vulnerabilityDismiss. Deprecated in 13.5.") environmentsCanaryIngressUpdate(input: EnvironmentsCanaryIngressUpdateInput!): EnvironmentsCanaryIngressUpdatePayload epicAddIssue(input: EpicAddIssueInput!): EpicAddIssuePayload epicSetSubscription(input: EpicSetSubscriptionInput!): EpicSetSubscriptionPayload @@ -13773,6 +14669,9 @@ type Mutation { """ mergeRequestUpdate(input: MergeRequestUpdateInput!): MergeRequestUpdatePayload namespaceIncreaseStorageTemporarily(input: NamespaceIncreaseStorageTemporarilyInput!): NamespaceIncreaseStorageTemporarilyPayload + oncallScheduleCreate(input: OncallScheduleCreateInput!): OncallScheduleCreatePayload + oncallScheduleDestroy(input: OncallScheduleDestroyInput!): OncallScheduleDestroyPayload + oncallScheduleUpdate(input: OncallScheduleUpdateInput!): OncallScheduleUpdatePayload pipelineCancel(input: PipelineCancelInput!): PipelineCancelPayload pipelineDestroy(input: PipelineDestroyInput!): PipelineDestroyPayload pipelineRetry(input: PipelineRetryInput!): PipelineRetryPayload @@ -13781,15 +14680,17 @@ type Mutation { prometheusIntegrationUpdate(input: PrometheusIntegrationUpdateInput!): PrometheusIntegrationUpdatePayload promoteToEpic(input: PromoteToEpicInput!): PromoteToEpicPayload releaseCreate(input: ReleaseCreateInput!): ReleaseCreatePayload - removeAwardEmoji(input: RemoveAwardEmojiInput!): RemoveAwardEmojiPayload @deprecated(reason: "Use awardEmojiRemove. Deprecated in 13.2") + releaseDelete(input: ReleaseDeleteInput!): ReleaseDeletePayload + releaseUpdate(input: ReleaseUpdateInput!): ReleaseUpdatePayload + removeAwardEmoji(input: RemoveAwardEmojiInput!): RemoveAwardEmojiPayload @deprecated(reason: "Use awardEmojiRemove. Deprecated in 13.2.") removeProjectFromSecurityDashboard(input: RemoveProjectFromSecurityDashboardInput!): RemoveProjectFromSecurityDashboardPayload """ Repositions a DiffNote on an image (a `Note` where the `position.positionType` is `"image"`) """ repositionImageDiffNote(input: RepositionImageDiffNoteInput!): RepositionImageDiffNotePayload - revertVulnerabilityToDetected(input: RevertVulnerabilityToDetectedInput!): RevertVulnerabilityToDetectedPayload @deprecated(reason: "Use vulnerabilityRevertToDetected. Deprecated in 13.5") - runDastScan(input: RunDASTScanInput!): RunDASTScanPayload @deprecated(reason: "Use DastOnDemandScanCreate. Deprecated in 13.4") + revertVulnerabilityToDetected(input: RevertVulnerabilityToDetectedInput!): RevertVulnerabilityToDetectedPayload @deprecated(reason: "Use vulnerabilityRevertToDetected. Deprecated in 13.5.") + runDastScan(input: RunDASTScanInput!): RunDASTScanPayload @deprecated(reason: "Use DastOnDemandScanCreate. Deprecated in 13.4.") terraformStateDelete(input: TerraformStateDeleteInput!): TerraformStateDeletePayload terraformStateLock(input: TerraformStateLockInput!): TerraformStateLockPayload terraformStateUnlock(input: TerraformStateUnlockInput!): TerraformStateUnlockPayload @@ -13798,12 +14699,14 @@ type Mutation { todoRestore(input: TodoRestoreInput!): TodoRestorePayload todoRestoreMany(input: TodoRestoreManyInput!): TodoRestoreManyPayload todosMarkAllDone(input: TodosMarkAllDoneInput!): TodosMarkAllDonePayload - toggleAwardEmoji(input: ToggleAwardEmojiInput!): ToggleAwardEmojiPayload @deprecated(reason: "Use awardEmojiToggle. Deprecated in 13.2") + toggleAwardEmoji(input: ToggleAwardEmojiInput!): ToggleAwardEmojiPayload @deprecated(reason: "Use awardEmojiToggle. Deprecated in 13.2.") updateAlertStatus(input: UpdateAlertStatusInput!): UpdateAlertStatusPayload updateBoard(input: UpdateBoardInput!): UpdateBoardPayload updateBoardEpicUserPreferences(input: UpdateBoardEpicUserPreferencesInput!): UpdateBoardEpicUserPreferencesPayload updateBoardList(input: UpdateBoardListInput!): UpdateBoardListPayload + updateComplianceFramework(input: UpdateComplianceFrameworkInput!): UpdateComplianceFrameworkPayload updateContainerExpirationPolicy(input: UpdateContainerExpirationPolicyInput!): UpdateContainerExpirationPolicyPayload + updateDevopsAdoptionSegment(input: UpdateDevopsAdoptionSegmentInput!): UpdateDevopsAdoptionSegmentPayload updateEpic(input: UpdateEpicInput!): UpdateEpicPayload """ @@ -13824,6 +14727,8 @@ type Mutation { updateSnippet(input: UpdateSnippetInput!): UpdateSnippetPayload vulnerabilityConfirm(input: VulnerabilityConfirmInput!): VulnerabilityConfirmPayload vulnerabilityDismiss(input: VulnerabilityDismissInput!): VulnerabilityDismissPayload + vulnerabilityExternalIssueLinkCreate(input: VulnerabilityExternalIssueLinkCreateInput!): VulnerabilityExternalIssueLinkCreatePayload + vulnerabilityExternalIssueLinkDestroy(input: VulnerabilityExternalIssueLinkDestroyInput!): VulnerabilityExternalIssueLinkDestroyPayload vulnerabilityResolve(input: VulnerabilityResolveInput!): VulnerabilityResolvePayload vulnerabilityRevertToDetected(input: VulnerabilityRevertToDetectedInput!): VulnerabilityRevertToDetectedPayload } @@ -13860,6 +14765,32 @@ type Namespace { additionalPurchasedStorageSize: Float """ + Compliance frameworks available to projects in this namespace Available only + when feature flag `ff_custom_compliance_frameworks` is enabled. + """ + complianceFrameworks( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ComplianceFrameworkConnection + + """ Includes at least one project where the repository size exceeds the limit """ containsLockedProjects: Boolean! @@ -14045,7 +14976,7 @@ input NamespaceIncreaseStorageTemporarilyInput { clientMutationId: String """ - The global id of the namespace to mutate + The global ID of the namespace to mutate """ id: NamespaceID! } @@ -14349,6 +15280,151 @@ Identifier of Noteable scalar NoteableID """ +Autogenerated input type of OncallScheduleCreate +""" +input OncallScheduleCreateInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The description of the on-call schedule + """ + description: String + + """ + The name of the on-call schedule + """ + name: String! + + """ + The project to create the on-call schedule in + """ + projectPath: ID! + + """ + The timezone of the on-call schedule + """ + timezone: String! +} + +""" +Autogenerated return type of OncallScheduleCreate +""" +type OncallScheduleCreatePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The on-call schedule + """ + oncallSchedule: IncidentManagementOncallSchedule +} + +""" +Autogenerated input type of OncallScheduleDestroy +""" +input OncallScheduleDestroyInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The on-call schedule internal ID to remove + """ + iid: String! + + """ + The project to remove the on-call schedule from + """ + projectPath: ID! +} + +""" +Autogenerated return type of OncallScheduleDestroy +""" +type OncallScheduleDestroyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The on-call schedule + """ + oncallSchedule: IncidentManagementOncallSchedule +} + +""" +Autogenerated input type of OncallScheduleUpdate +""" +input OncallScheduleUpdateInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The description of the on-call schedule + """ + description: String + + """ + The on-call schedule internal ID to update + """ + iid: String! + + """ + The name of the on-call schedule + """ + name: String + + """ + The project to update the on-call schedule in + """ + projectPath: ID! + + """ + The timezone of the on-call schedule + """ + timezone: String +} + +""" +Autogenerated return type of OncallScheduleUpdate +""" +type OncallScheduleUpdatePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The on-call schedule + """ + oncallSchedule: IncidentManagementOncallSchedule +} + +""" Represents a package """ type Package { @@ -14572,6 +15648,11 @@ type PageInfo { type Pipeline { """ + Indicates if the pipeline is active + """ + active: Boolean! + + """ Base SHA of the source branch """ beforeSha: String @@ -14770,6 +15851,63 @@ type Pipeline { userPermissions: PipelinePermissions! } +type PipelineAnalytics { + """ + Labels for the monthly pipeline count + """ + monthPipelinesLabels: [String!] + + """ + Total monthly successful pipeline count + """ + monthPipelinesSuccessful: [Int!] + + """ + Total monthly pipeline count + """ + monthPipelinesTotals: [Int!] + + """ + Pipeline times labels + """ + pipelineTimesLabels: [String!] + + """ + Pipeline times + """ + pipelineTimesValues: [Int!] + + """ + Labels for the weekly pipeline count + """ + weekPipelinesLabels: [String!] + + """ + Total weekly successful pipeline count + """ + weekPipelinesSuccessful: [Int!] + + """ + Total weekly pipeline count + """ + weekPipelinesTotals: [Int!] + + """ + Labels for the yearly pipeline count + """ + yearPipelinesLabels: [String!] + + """ + Total yearly successful pipeline count + """ + yearPipelinesSuccessful: [Int!] + + """ + Total yearly pipeline count + """ + yearPipelinesTotals: [Int!] +} + """ Autogenerated input type of PipelineCancel """ @@ -14780,7 +15918,7 @@ input PipelineCancelInput { clientMutationId: String """ - The id of the pipeline to mutate + The ID of the pipeline to mutate """ id: CiPipelineID! } @@ -14846,7 +15984,7 @@ input PipelineDestroyInput { clientMutationId: String """ - The id of the pipeline to mutate + The ID of the pipeline to mutate """ id: CiPipelineID! } @@ -14908,7 +16046,7 @@ input PipelineRetryInput { clientMutationId: String """ - The id of the pipeline to mutate + The ID of the pipeline to mutate """ id: CiPipelineID! } @@ -14963,6 +16101,11 @@ type Project { assigneeUsername: String """ + Filter query for given domain + """ + domain: AlertManagementDomainFilter! = operations + + """ IID of the alert. For example, "1" """ iid: String @@ -15018,6 +16161,11 @@ type Project { before: String """ + Filter query for given domain + """ + domain: AlertManagementDomainFilter! = operations + + """ Returns the first _n_ elements from the list. """ first: Int @@ -15135,6 +16283,11 @@ type Project { ): BoardConnection """ + CI/CD settings for the project + """ + ciCdSettings: ProjectCiCdSetting + + """ Find a single cluster agent by name """ clusterAgent( @@ -15240,6 +16393,11 @@ type Project { ): ContainerRepositoryConnection """ + Number of container repositories in the project + """ + containerRepositoriesCount: Int! + + """ Timestamp of the project creation """ createdAt: Time @@ -15305,16 +16463,53 @@ type Project { ): DastSiteProfileConnection """ - DAST Site Validation associated with the project + DAST Site Validation associated with the project. Will always return `null` if + `security_on_demand_scans_site_validation` is disabled """ dastSiteValidation( """ - target URL of the DAST Site Validation + Normalized URL of the target to be scanned + """ + normalizedTargetUrls: [String!] + + """ + URL of the target to be scanned """ targetUrl: String! ): DastSiteValidation """ + DAST Site Validations associated with the project. Will always return no nodes + if `security_on_demand_scans_site_validation` is disabled + """ + dastSiteValidations( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Normalized URL of the target to be scanned + """ + normalizedTargetUrls: [String!] + ): DastSiteValidationConnection + + """ Short description of the project """ description: String @@ -15420,6 +16615,31 @@ type Project { importStatus: String """ + Incident Management On-call schedules of the project + """ + incidentManagementOncallSchedules( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): IncidentManagementOncallScheduleConnection + + """ A single issue of the project """ issue( @@ -15755,7 +16975,7 @@ type Project { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -15765,17 +16985,17 @@ type Project { first: Int """ - The ID of the Iteration to look up + Global ID of the Iteration to look up. """ id: ID """ - The internal ID of the Iteration to look up + Internal ID of the Iteration to look up. """ iid: ID """ - Whether to include ancestor iterations. Defaults to true + Whether to include ancestor iterations. Defaults to true. """ includeAncestors: Boolean @@ -15786,13 +17006,13 @@ type Project { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time """ - Filter iterations by state + Filter iterations by state. """ state: IterationState @@ -15802,7 +17022,7 @@ type Project { timeframe: Timeframe """ - Fuzzy search by title + Fuzzy search by title. """ title: String ): IterationConnection @@ -15962,6 +17182,11 @@ type Project { milestoneTitle: String """ + Username of the reviewer + """ + reviewerUsername: String + + """ Sort merge requests by this criteria """ sort: MergeRequestSort = created_desc @@ -16015,7 +17240,7 @@ type Project { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use timeframe.end + date is provided, both must be present) Deprecated in 13.5: Use timeframe.end. """ endDate: Time @@ -16046,8 +17271,8 @@ type Project { """ List items overlapping a time frame defined by startDate..endDate (if one - date is provided, both must be present). Deprecated in 13.5: Use - timeframe.start + date is provided, both must be present) Deprecated in 13.5: Use + timeframe.start. """ startDate: Time @@ -16138,6 +17363,11 @@ type Project { ): Pipeline """ + Pipeline analytics + """ + pipelineAnalytics: PipelineAnalytics + + """ Build pipelines of the project """ pipelines( @@ -16208,6 +17438,11 @@ type Project { last: Int """ + Filter members by the given member relations + """ + relations: [ProjectMemberRelation!] = [DIRECT, INHERITED] + + """ Search query """ search: String @@ -16494,6 +17729,11 @@ type Project { snippetsEnabled: Boolean """ + Indicates if squash readonly is enabled + """ + squashReadOnly: Boolean! + + """ URL to connect to the project via SSH """ sshUrlToRepo: String @@ -16544,6 +17784,11 @@ type Project { ): TerraformStateConnection """ + Total pipeline duration for all of the pipelines in a project + """ + totalPipelineDuration: Int + + """ Permissions for the current user on the resource """ userPermissions: ProjectPermissions! @@ -16719,6 +17964,23 @@ type Project { wikiEnabled: Boolean } +type ProjectCiCdSetting { + """ + Whether merge pipelines are enabled. + """ + mergePipelinesEnabled: Boolean + + """ + Whether merge trains are enabled. + """ + mergeTrainsEnabled: Boolean + + """ + Project the CI/CD settings belong to. + """ + project: Project +} + """ The connection type for Project. """ @@ -16844,6 +18106,31 @@ type ProjectMemberEdge { node: ProjectMember } +""" +Project member relation +""" +enum ProjectMemberRelation { + """ + Descendants members + """ + DESCENDANTS + + """ + Direct members + """ + DIRECT + + """ + Inherited members + """ + INHERITED + + """ + Invited Groups members + """ + INVITED_GROUPS +} + type ProjectPermissions { """ Indicates the user can perform `admin_operations` on this resource @@ -17173,7 +18460,7 @@ input PrometheusIntegrationResetTokenInput { clientMutationId: String """ - The id of the integration to mutate + The ID of the integration to mutate """ id: PrometheusServiceID! } @@ -17218,7 +18505,7 @@ input PrometheusIntegrationUpdateInput { clientMutationId: String """ - The id of the integration to mutate + The ID of the integration to mutate """ id: PrometheusServiceID! } @@ -17300,6 +18587,16 @@ type PromoteToEpicPayload { type Query { """ + Get linted and processed contents of a CI config. Should not be requested more than once per request. + """ + ciConfig( + """ + Contents of .gitlab-ci.yml + """ + content: String! + ): CiConfig + + """ Find a container repository """ containerRepository( @@ -17791,8 +19088,8 @@ type Query { """ Number of vulnerabilities per severity level, per day, for the projects on the - current user's instance security dashboard. Deprecated in 13.3: Use - `vulnerabilitiesCountByDay` + current user's instance security dashboard Deprecated in 13.3: Use + `vulnerabilitiesCountByDay`. """ vulnerabilitiesCountByDayAndSeverity( """ @@ -17824,7 +19121,7 @@ type Query { First day for which to fetch vulnerability history """ startDate: ISO8601Date! - ): VulnerabilitiesCountByDayAndSeverityConnection @deprecated(reason: "Use `vulnerabilitiesCountByDay`. Deprecated in 13.3") + ): VulnerabilitiesCountByDayAndSeverityConnection @deprecated(reason: "Use `vulnerabilitiesCountByDay`. Deprecated in 13.3.") """ Find a vulnerability @@ -18263,6 +19560,46 @@ type ReleaseCreatePayload { } """ +Autogenerated input type of ReleaseDelete +""" +input ReleaseDeleteInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Full path of the project the release is associated with + """ + projectPath: ID! + + """ + Name of the tag associated with the release to delete. + """ + tagName: String! +} + +""" +Autogenerated return type of ReleaseDelete +""" +type ReleaseDeletePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The deleted release. + """ + release: Release +} + +""" An edge in a connection. """ type ReleaseEdge { @@ -18450,11 +19787,71 @@ type ReleaseSourceEdge { } """ +Autogenerated input type of ReleaseUpdate +""" +input ReleaseUpdateInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Description (release notes) of the release + """ + description: String + + """ + The title of each milestone the release is associated with. GitLab Premium customers can specify group milestones. + """ + milestones: [String!] + + """ + Name of the release + """ + name: String + + """ + Full path of the project the release is associated with + """ + projectPath: ID! + + """ + The release date + """ + releasedAt: Time + + """ + Name of the tag associated with the release + """ + tagName: String! +} + +""" +Autogenerated return type of ReleaseUpdate +""" +type ReleaseUpdatePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The release after mutation. + """ + release: Release +} + +""" Autogenerated input type of RemoveAwardEmoji """ input RemoveAwardEmojiInput { """ - The global id of the awardable resource + The global ID of the awardable resource """ awardableId: AwardableID! @@ -18529,7 +19926,7 @@ input RepositionImageDiffNoteInput { clientMutationId: String """ - The global id of the DiffNote to update + The global ID of the DiffNote to update """ id: DiffNoteID! @@ -20172,6 +21569,7 @@ enum ServiceType { CAMPFIRE_SERVICE CONFLUENCE_SERVICE CUSTOM_ISSUE_TRACKER_SERVICE + DATADOG_SERVICE DISCORD_SERVICE DRONE_CI_SERVICE EMAILS_ON_PUSH_SERVICE @@ -20211,9 +21609,9 @@ type Snippet implements Noteable { author: User """ - Snippet blob. Deprecated in 13.3: Use `blobs` + Snippet blob Deprecated in 13.3: Use `blobs`. """ - blob: SnippetBlob! @deprecated(reason: "Use `blobs`. Deprecated in 13.3") + blob: SnippetBlob! @deprecated(reason: "Use `blobs`. Deprecated in 13.3.") """ Snippet blobs @@ -20720,22 +22118,22 @@ enum Sort { """ Created at ascending order """ - created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5") + created_asc @deprecated(reason: "Use CREATED_ASC. Deprecated in 13.5.") """ Created at descending order """ - created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5") + created_desc @deprecated(reason: "Use CREATED_DESC. Deprecated in 13.5.") """ Updated at ascending order """ - updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5") + updated_asc @deprecated(reason: "Use UPDATED_ASC. Deprecated in 13.5.") """ Updated at descending order """ - updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5") + updated_desc @deprecated(reason: "Use UPDATED_DESC. Deprecated in 13.5.") } type StatusAction { @@ -21041,6 +22439,11 @@ type TerraformStateVersion { createdByUser: User """ + URL for downloading the version's JSON file + """ + downloadPath: String + + """ ID of the Terraform state version """ id: ID! @@ -21051,6 +22454,11 @@ type TerraformStateVersion { job: CiJob """ + Serial number of the version + """ + serial: Int + + """ Timestamp the version was updated """ updatedAt: Time! @@ -21488,7 +22896,7 @@ input TodoMarkDoneInput { clientMutationId: String """ - The global id of the todo to mark as done + The global ID of the todo to mark as done """ id: TodoID! } @@ -21523,7 +22931,7 @@ input TodoRestoreInput { clientMutationId: String """ - The global id of the todo to restore + The global ID of the todo to restore """ id: TodoID! } @@ -21538,7 +22946,7 @@ input TodoRestoreManyInput { clientMutationId: String """ - The global ids of the todos to restore (a maximum of 50 is supported at once) + The global IDs of the todos to restore (a maximum of 50 is supported at once) """ ids: [TodoID!]! } @@ -21563,9 +22971,9 @@ type TodoRestoreManyPayload { todos: [Todo!]! """ - The ids of the updated todo items. Deprecated in 13.2: Use todos + The IDs of the updated todo items Deprecated in 13.2: Use todos. """ - updatedIds: [TodoID!]! @deprecated(reason: "Use todos. Deprecated in 13.2") + updatedIds: [TodoID!]! @deprecated(reason: "Use todos. Deprecated in 13.2.") } """ @@ -21660,9 +23068,9 @@ type TodosMarkAllDonePayload { todos: [Todo!]! """ - Ids of the updated todos. Deprecated in 13.2: Use todos + Ids of the updated todos Deprecated in 13.2: Use todos. """ - updatedIds: [TodoID!]! @deprecated(reason: "Use todos. Deprecated in 13.2") + updatedIds: [TodoID!]! @deprecated(reason: "Use todos. Deprecated in 13.2.") } """ @@ -21670,7 +23078,7 @@ Autogenerated input type of ToggleAwardEmoji """ input ToggleAwardEmojiInput { """ - The global id of the awardable resource + The global ID of the awardable resource """ awardableId: AwardableID! @@ -21892,7 +23300,7 @@ input UpdateAlertStatusInput { clientMutationId: String """ - The iid of the alert to mutate + The IID of the alert to mutate """ iid: String! @@ -21987,54 +23395,29 @@ Autogenerated input type of UpdateBoard """ input UpdateBoardInput { """ - The id of user to be assigned to the board. - """ - assigneeId: UserID - - """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - Whether or not backlog list is hidden. + Whether or not backlog list is hidden """ hideBacklogList: Boolean """ - Whether or not closed list is hidden. + Whether or not closed list is hidden """ hideClosedList: Boolean """ - The board global id. + The board global ID. """ id: BoardID! """ - The IDs of labels to be added to the board. - """ - labelIds: [LabelID!] - - """ - Labels of the issue - """ - labels: [String!] - - """ - The id of milestone to be assigned to the board. - """ - milestoneId: MilestoneID - - """ - Name of the board + The board name. """ name: String - - """ - The weight value to be assigned to the board. - """ - weight: Int } """ @@ -22103,6 +23486,56 @@ type UpdateBoardPayload { } """ +Autogenerated input type of UpdateComplianceFramework +""" +input UpdateComplianceFrameworkInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + New color representation of the compliance framework in hex format. e.g. #FCA121 + """ + color: String + + """ + New description for the compliance framework + """ + description: String + + """ + The global ID of the compliance framework to update + """ + id: ComplianceManagementFrameworkID! + + """ + New name for the compliance framework + """ + name: String +} + +""" +Autogenerated return type of UpdateComplianceFramework +""" +type UpdateComplianceFrameworkPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The compliance framework after mutation + """ + complianceFramework: ComplianceFramework + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! +} + +""" Autogenerated input type of UpdateContainerExpirationPolicy """ input UpdateContainerExpirationPolicyInput { @@ -22167,6 +23600,51 @@ type UpdateContainerExpirationPolicyPayload { errors: [String!]! } +""" +Autogenerated input type of UpdateDevopsAdoptionSegment +""" +input UpdateDevopsAdoptionSegmentInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The array of group IDs to set for the segment + """ + groupIds: [GroupID!] + + """ + ID of the segment + """ + id: AnalyticsDevopsAdoptionSegmentID! + + """ + Name of the segment + """ + name: String! +} + +""" +Autogenerated return type of UpdateDevopsAdoptionSegment +""" +type UpdateDevopsAdoptionSegmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The segment after mutation + """ + segment: DevopsAdoptionSegment +} + input UpdateDiffImagePositionInput { """ Total height of the image @@ -22229,7 +23707,7 @@ input UpdateEpicInput { groupPath: ID! """ - The iid of the epic to mutate + The IID of the epic to mutate """ iid: ID! @@ -22294,7 +23772,7 @@ input UpdateImageDiffNoteInput { clientMutationId: String """ - The global id of the note to update + The global ID of the note to update """ id: NoteID! @@ -22434,32 +23912,32 @@ input UpdateIterationInput { clientMutationId: String """ - The description of the iteration + Description of the iteration. """ description: String """ - The end date of the iteration + End date of the iteration. """ dueDate: String """ - The group of the iteration + Group of the iteration. """ groupPath: ID! """ - The id of the iteration + Global ID of the iteration. """ id: ID! """ - The start date of the iteration + Start date of the iteration. """ startDate: String """ - The title of the iteration + Title of the iteration. """ title: String } @@ -22479,7 +23957,7 @@ type UpdateIterationPayload { errors: [String!]! """ - The updated iteration + Updated iteration. """ iteration: Iteration } @@ -22504,7 +23982,7 @@ input UpdateNoteInput { confidential: Boolean """ - The global id of the note to update + The global ID of the note to update """ id: NoteID! } @@ -22544,7 +24022,7 @@ input UpdateRequirementInput { description: String """ - The iid of the requirement to update + The IID of the requirement to update """ iid: String! @@ -22609,7 +24087,7 @@ input UpdateSnippetInput { description: String """ - The global id of the snippet to update + The global ID of the snippet to update """ id: SnippetID! @@ -22717,6 +24195,11 @@ type User { projectPath: String """ + Username of the reviewer + """ + reviewerUsername: String + + """ Sort merge requests by this criteria """ sort: MergeRequestSort = created_desc @@ -22802,6 +24285,11 @@ type User { projectPath: String """ + Username of the reviewer + """ + reviewerUsername: String + + """ Sort merge requests by this criteria """ sort: MergeRequestSort = created_desc @@ -22828,12 +24316,12 @@ type User { avatarUrl: String """ - User email + User email Deprecated in 13.7: Use public_email. """ - email: String + email: String @deprecated(reason: "Use public_email. Deprecated in 13.7.") """ - Group count for the user. Available only when feature flag `user_group_counts` is enabled + Group count for the user Available only when feature flag `user_group_counts` is enabled. """ groupCount: Int @@ -22868,6 +24356,11 @@ type User { id: ID! """ + The location of the user. + """ + location: String + + """ Human-readable name of the user """ name: String! @@ -22898,6 +24391,101 @@ type User { ): ProjectMemberConnection """ + User's public email + """ + publicEmail: String + + """ + Merge Requests assigned to the user for review + """ + reviewRequestedMergeRequests( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Username of the assignee + """ + assigneeUsername: String + + """ + Username of the author + """ + authorUsername: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Array of IIDs of merge requests, for example `[1, 2]` + """ + iids: [String!] + + """ + Array of label names. All resolved merge requests will have all of these labels. + """ + labels: [String!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Merge requests merged after this date + """ + mergedAfter: Time + + """ + Merge requests merged before this date + """ + mergedBefore: Time + + """ + Title of the milestone + """ + milestoneTitle: String + + """ + The global ID of the project the authored merge requests should be in. Incompatible with projectPath. + """ + projectId: ProjectID + + """ + The full-path of the project the authored merge requests should be in. Incompatible with projectId. + """ + projectPath: String + + """ + Sort merge requests by this criteria + """ + sort: MergeRequestSort = created_desc + + """ + Array of source branch names. All resolved merge requests will have one of these branches as their source. + """ + sourceBranches: [String!] + + """ + A merge request state. If provided, all resolved merge requests will have this state. + """ + state: MergeRequestState + + """ + Array of target branch names. All resolved merge requests will have one of these branches as their target. + """ + targetBranches: [String!] + ): MergeRequestConnection + + """ Snippets authored by the user """ snippets( @@ -23290,10 +24878,20 @@ type VulnerabilitiesCountByDayEdge { } """ +Identifier of Vulnerabilities::ExternalIssueLink +""" +scalar VulnerabilitiesExternalIssueLinkID + +""" Represents a vulnerability """ type Vulnerability implements Noteable { """ + Timestamp of when the vulnerability state was changed to confirmed + """ + confirmedAt: Time + + """ Description of the vulnerability """ description: String @@ -23329,6 +24927,41 @@ type Vulnerability implements Noteable { ): DiscussionConnection! """ + Timestamp of when the vulnerability state was changed to dismissed + """ + dismissedAt: Time + + """ + List of external issue links related to the vulnerability + """ + externalIssueLinks( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): VulnerabilityExternalIssueLinkConnection! + + """ + Indicates whether there is a solution available for this vulnerability. + """ + hasSolutions: Boolean + + """ GraphQL ID of the vulnerability """ id: ID! @@ -23374,6 +25007,11 @@ type Vulnerability implements Noteable { location: VulnerabilityLocation """ + Merge request that fixes the vulnerability. + """ + mergeRequest: MergeRequest + + """ All notes on this noteable """ notes( @@ -23416,6 +25054,11 @@ type Vulnerability implements Noteable { reportType: VulnerabilityReportType """ + Timestamp of when the vulnerability state was changed to resolved + """ + resolvedAt: Time + + """ Indicates whether the vulnerability is fixed on the default branch or not """ resolvedOnDefaultBranch: Boolean! @@ -23567,6 +25210,156 @@ type VulnerabilityEdge { } """ +Represents an external issue link of a vulnerability +""" +type VulnerabilityExternalIssueLink { + """ + The external issue attached to the issue link + """ + externalIssue: ExternalIssue + + """ + GraphQL ID of the external issue link + """ + id: VulnerabilitiesExternalIssueLinkID! + + """ + Type of the external issue link + """ + linkType: VulnerabilityExternalIssueLinkType! +} + +""" +The connection type for VulnerabilityExternalIssueLink. +""" +type VulnerabilityExternalIssueLinkConnection { + """ + A list of edges. + """ + edges: [VulnerabilityExternalIssueLinkEdge] + + """ + A list of nodes. + """ + nodes: [VulnerabilityExternalIssueLink] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! +} + +""" +Autogenerated input type of VulnerabilityExternalIssueLinkCreate +""" +input VulnerabilityExternalIssueLinkCreateInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + External tracker type of the external issue link. + """ + externalTracker: VulnerabilityExternalIssueLinkExternalTracker! + + """ + ID of the vulnerability. + """ + id: VulnerabilityID! + + """ + Type of the external issue link. + """ + linkType: VulnerabilityExternalIssueLinkType! +} + +""" +Autogenerated return type of VulnerabilityExternalIssueLinkCreate +""" +type VulnerabilityExternalIssueLinkCreatePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! + + """ + The created external issue link. + """ + externalIssueLink: VulnerabilityExternalIssueLink +} + +""" +Autogenerated input type of VulnerabilityExternalIssueLinkDestroy +""" +input VulnerabilityExternalIssueLinkDestroyInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The global ID of the vulnerability external issue link. + """ + id: VulnerabilitiesExternalIssueLinkID! +} + +""" +Autogenerated return type of VulnerabilityExternalIssueLinkDestroy +""" +type VulnerabilityExternalIssueLinkDestroyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Errors encountered during execution of the mutation. + """ + errors: [String!]! +} + +""" +An edge in a connection. +""" +type VulnerabilityExternalIssueLinkEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: VulnerabilityExternalIssueLink +} + +""" +The external tracker of the external issue link related to a vulnerability +""" +enum VulnerabilityExternalIssueLinkExternalTracker { + """ + Jira external tracker + """ + JIRA +} + +""" +The type of the external issue link related to a vulnerability +""" +enum VulnerabilityExternalIssueLinkType { + """ + Created link type + """ + CREATED +} + +""" The grade of the vulnerable project """ enum VulnerabilityGrade { @@ -23835,6 +25628,11 @@ type VulnerabilityPermissions { adminVulnerability: Boolean! """ + Indicates the user can perform `admin_vulnerability_external_issue_link` on this resource + """ + adminVulnerabilityExternalIssueLink: Boolean! + + """ Indicates the user can perform `admin_vulnerability_issue_link` on this resource """ adminVulnerabilityIssueLink: Boolean! |