debian-mirror-gitlab/doc/api/graphql/reference/index.md

3574 lines
143 KiB
Markdown
Raw Normal View History

2019-09-30 21:07:59 +05:30
<!---
This documentation is auto generated by a script.
Please do not edit this file directly, check compile_docs task on lib/tasks/gitlab/graphql.rake.
--->
# GraphQL API Resources
This documentation is self-generated based on GitLab current GraphQL schema.
The API can be explored interactively using the [GraphiQL IDE](../index.md#graphiql).
2020-03-13 15:44:24 +05:30
Each table below documents a GraphQL type. Types match loosely to models, but not all
fields and methods on a model are available via GraphQL.
2019-09-30 21:07:59 +05:30
2020-04-08 14:13:33 +05:30
CAUTION: **Caution:**
Fields that are deprecated are marked with **{warning-solid}**.
2020-11-24 15:15:51 +05:30
## Object types
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Object types represent the resources that GitLab's GraphQL API can return.
They contain _fields_. Each field has its own type, which will either be one of the
basic GraphQL [scalar types](https://graphql.org/learn/schema/#scalar-types)
(e.g.: `String` or `Boolean`) or other object types.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
For more information, see
[Object Types and Fields](https://graphql.org/learn/schema/#object-types-and-fields)
on `graphql.org`.
### AccessLevel
Represents the access level of a relationship between a User and object that it is related to.
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `integerValue` | Int | Integer representation of access level |
| `stringValue` | AccessLevelEnum | String representation of access level |
2020-11-24 15:15:51 +05:30
### AddAwardEmojiPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AddAwardEmoji.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `awardEmoji` | AwardEmoji | The award emoji after mutation |
2019-09-30 21:07:59 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### AddProjectToSecurityDashboardPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AddProjectToSecurityDashboard.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `project` | Project | Project that was added to the Instance Security Dashboard |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### AdminSidekiqQueuesDeleteJobsPayload
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AdminSidekiqQueuesDeleteJobs.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-04-08 14:13:33 +05:30
| `result` | DeleteJobsResponse | Information about the status of the deletion request |
2020-11-24 15:15:51 +05:30
### AlertManagementAlert
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Describes an alert from the project's Alert Management.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `createdAt` | Time | Timestamp the alert was created |
| `description` | String | Description of the alert |
| `details` | JSON | Alert details |
2020-10-24 23:57:45 +05:30
| `detailsUrl` | String! | The URL of the alert detail page |
2020-05-24 23:13:21 +05:30
| `endedAt` | Time | Timestamp the alert ended |
| `eventCount` | Int | Number of events of this alert |
| `hosts` | String! => Array | List of hosts the alert came from |
| `iid` | ID! | Internal ID of the alert |
| `issueIid` | ID | Internal ID of the GitLab issue attached to the alert |
2020-07-28 23:09:34 +05:30
| `metricsDashboardUrl` | String | URL for metrics embed for the alert |
2020-05-24 23:13:21 +05:30
| `monitoringTool` | String | Monitoring tool the alert came from |
2020-10-24 23:57:45 +05:30
| `prometheusAlert` | PrometheusAlert | The alert condition for Prometheus |
| `runbook` | String | Runbook for the alert as defined in alert details |
2020-05-24 23:13:21 +05:30
| `service` | String | Service the alert came from |
| `severity` | AlertManagementSeverity | Severity of the alert |
| `startedAt` | Time | Timestamp the alert was raised |
| `status` | AlertManagementStatus | Status of the alert |
| `title` | String | Title of the alert |
| `updatedAt` | Time | Timestamp the alert was last updated |
2020-11-24 15:15:51 +05:30
### AlertManagementAlertStatusCountsType
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents total number of alerts for the represented categories.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `acknowledged` | Int | Number of alerts with status ACKNOWLEDGED for the project |
| `all` | Int | Total number of alerts for the project |
| `ignored` | Int | Number of alerts with status IGNORED for the project |
| `open` | Int | Number of alerts with status TRIGGERED or ACKNOWLEDGED for the project |
| `resolved` | Int | Number of alerts with status RESOLVED for the project |
| `triggered` | Int | Number of alerts with status TRIGGERED for the project |
2020-11-24 15:15:51 +05:30
### AlertSetAssigneesPayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AlertSetAssignees.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `alert` | AlertManagementAlert | The alert after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue created after mutation |
2020-07-28 23:09:34 +05:30
| `todo` | Todo | The todo after mutation |
2020-11-24 15:15:51 +05:30
### AlertTodoCreatePayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AlertTodoCreate.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `alert` | AlertManagementAlert | The alert after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue created after mutation |
| `todo` | Todo | The todo after mutation |
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
### AwardEmoji
2020-03-13 15:44:24 +05:30
An emoji awarded by a user.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-09-30 21:07:59 +05:30
| `description` | String! | The emoji description |
| `emoji` | String! | The emoji as an icon |
2020-03-13 15:44:24 +05:30
| `name` | String! | The emoji name |
| `unicode` | String! | The emoji in unicode |
2019-09-30 21:07:59 +05:30
| `unicodeVersion` | String! | The unicode version for this emoji |
| `user` | User! | The user who awarded the emoji |
2020-11-24 15:15:51 +05:30
### AwardEmojiAddPayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AwardEmojiAdd.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `awardEmoji` | AwardEmoji | The award emoji after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### AwardEmojiRemovePayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AwardEmojiRemove.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `awardEmoji` | AwardEmoji | The award emoji after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### AwardEmojiTogglePayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of AwardEmojiToggle.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `awardEmoji` | AwardEmoji | The award emoji after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `toggledOn` | Boolean! | Indicates the status of the emoji. True if the toggle awarded the emoji, and false if the toggle removed the emoji. |
2020-11-24 15:15:51 +05:30
### BaseService
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `active` | Boolean | Indicates if the service is active |
| `type` | String | Class name of the service |
2020-11-24 15:15:51 +05:30
### Blob
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `flatPath` | String! | Flat path of the entry |
| `id` | ID! | ID of the entry |
| `lfsOid` | String | LFS ID of the blob |
2020-07-28 23:09:34 +05:30
| `mode` | String | Blob mode in numeric format |
2020-03-13 15:44:24 +05:30
| `name` | String! | Name of the entry |
| `path` | String! | Path of the entry |
| `sha` | String! | Last commit sha for the entry |
| `type` | EntryType! | Type of tree entry |
2020-10-24 23:57:45 +05:30
| `webPath` | String | Web path of the blob |
2020-03-13 15:44:24 +05:30
| `webUrl` | String | Web URL of the blob |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### Board
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Represents a project or group board.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `assignee` | User | The board assignee. |
| `hideBacklogList` | Boolean | Whether or not backlog list is hidden. |
| `hideClosedList` | Boolean | Whether or not closed list is hidden. |
2020-04-08 14:13:33 +05:30
| `id` | ID! | ID (global ID) of the board |
2020-10-24 23:57:45 +05:30
| `milestone` | Milestone | The board milestone. |
2020-04-08 14:13:33 +05:30
| `name` | String | Name of the board |
2020-10-24 23:57:45 +05:30
| `weight` | Int | Weight of the board. |
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
### BoardList
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents a list for an issue board.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `assignee` | User | Assignee in the list |
| `collapsed` | Boolean | Indicates if list is collapsed for this user |
| `id` | ID! | ID (global ID) of the list |
2020-10-24 23:57:45 +05:30
| `issuesCount` | Int | Count of issues in the list |
2020-05-24 23:13:21 +05:30
| `label` | Label | Label of the list |
| `limitMetric` | ListLimitMetric | The current limit metric for the list |
| `listType` | String! | Type of the list |
| `maxIssueCount` | Int | Maximum number of issues in the list |
| `maxIssueWeight` | Int | Maximum weight of issues in the list |
| `milestone` | Milestone | Milestone of the list |
| `position` | Int | Position of list within the board |
| `title` | String! | Title of the list |
2020-10-24 23:57:45 +05:30
| `totalWeight` | Int | Total weight of all issues in the list |
2020-11-24 15:15:51 +05:30
### BoardListCreatePayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of BoardListCreate.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `list` | BoardList | List of the issue board |
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
### BoardListUpdateLimitMetricsPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of BoardListUpdateLimitMetrics.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `list` | BoardList | The updated list |
2020-11-24 15:15:51 +05:30
### Branch
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `commit` | Commit | Commit for the branch |
| `name` | String! | Name of the branch |
2020-11-24 15:15:51 +05:30
### BurnupChartDailyTotals
Represents the total number of issues and their weights for a particular day.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `completedCount` | Int! | Number of closed issues as of this day |
| `completedWeight` | Int! | Total weight of closed issues as of this day |
| `date` | ISO8601Date! | Date for burnup totals |
| `scopeCount` | Int! | Number of issues as of this day |
| `scopeWeight` | Int! | Total weight of issues as of this day |
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
### CiGroup
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `name` | String | Name of the job group |
| `size` | Int | Size of the group |
2020-11-24 15:15:51 +05:30
### CiJob
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `name` | String | Name of the job |
2020-11-24 15:15:51 +05:30
### CiStage
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `name` | String | Name of the stage |
2020-11-24 15:15:51 +05:30
### ClusterAgent
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `createdAt` | Time | Timestamp the cluster agent was created |
| `id` | ID! | ID of the cluster agent |
| `name` | String | Name of the cluster agent |
| `project` | Project | The project this cluster agent is associated with |
| `updatedAt` | Time | Timestamp the cluster agent was updated |
2020-11-24 15:15:51 +05:30
### ClusterAgentDeletePayload
Autogenerated return type of ClusterAgentDelete.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
### ClusterAgentToken
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clusterAgent` | ClusterAgent | Cluster agent this token is associated with |
| `createdAt` | Time | Timestamp the token was created |
| `id` | ClustersAgentTokenID! | Global ID of the token |
### ClusterAgentTokenCreatePayload
Autogenerated return type of ClusterAgentTokenCreate.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `secret` | String | Token secret value. Make sure you save it - you won't be able to access it again |
| `token` | ClusterAgentToken | Token created after mutation |
### ClusterAgentTokenDeletePayload
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of ClusterAgentTokenDelete.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
### Commit
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `author` | User | Author of the commit |
| `authorGravatar` | String | Commit authors gravatar |
| `authorName` | String | Commit authors name |
| `authoredDate` | Time | Timestamp of when the commit was authored |
| `description` | String | Description of the commit message |
2020-10-24 23:57:45 +05:30
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2019-12-26 22:10:19 +05:30
| `id` | ID! | ID (global ID) of the commit |
2020-04-22 19:07:51 +05:30
| `latestPipeline` **{warning-solid}** | Pipeline | **Deprecated:** Use `pipelines`. Deprecated in 12.5 |
2020-03-13 15:44:24 +05:30
| `message` | String | Raw commit message |
2019-12-26 22:10:19 +05:30
| `sha` | String! | SHA1 ID of the commit |
2020-03-13 15:44:24 +05:30
| `signatureHtml` | String | Rendered HTML of the commit signature |
2019-12-26 22:10:19 +05:30
| `title` | String | Title of the commit message |
2020-05-24 23:13:21 +05:30
| `titleHtml` | String | The GitLab Flavored Markdown rendering of `title` |
2020-10-24 23:57:45 +05:30
| `webPath` | String! | Web path of the commit |
2019-12-26 22:10:19 +05:30
| `webUrl` | String! | Web URL of the commit |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### CommitCreatePayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CommitCreate.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `commit` | Commit | The commit after mutation |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### ComplianceFramework
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Represents a ComplianceFramework associated with a Project.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `name` | ProjectSettingEnum! | Name of the compliance framework |
2020-11-24 15:15:51 +05:30
### ConfigureSastPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of ConfigureSast.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
| `status` | String! | Status of creating the commit for the supplied SAST CI configuration |
| `successPath` | String | Redirect path to use when the response is successful |
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
### ContainerExpirationPolicy
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
A tag expiration policy designed to keep only the images that matter most.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `cadence` | ContainerExpirationPolicyCadenceEnum! | This container expiration policy schedule |
| `createdAt` | Time! | Timestamp of when the container expiration policy was created |
| `enabled` | Boolean! | Indicates whether this container expiration policy is enabled |
| `keepN` | ContainerExpirationPolicyKeepEnum | Number of tags to retain |
2020-07-28 23:09:34 +05:30
| `nameRegex` | UntrustedRegexp | Tags with names matching this regex pattern will expire |
| `nameRegexKeep` | UntrustedRegexp | Tags with names matching this regex pattern will be preserved |
2020-06-23 00:09:42 +05:30
| `nextRunAt` | Time | Next time that this container expiration policy will get executed |
| `olderThan` | ContainerExpirationPolicyOlderThanEnum | Tags older that this will expire |
| `updatedAt` | Time! | Timestamp of when the container expiration policy was updated |
2020-11-24 15:15:51 +05:30
### CreateAlertIssuePayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateAlertIssue.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `alert` | AlertManagementAlert | The alert after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue created after mutation |
2020-07-28 23:09:34 +05:30
| `todo` | Todo | The todo after mutation |
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
### CreateAnnotationPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateAnnotation.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `annotation` | MetricsDashboardAnnotation | The created annotation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### CreateBranchPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateBranch.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `branch` | Branch | Branch after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### CreateClusterAgentPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateClusterAgent.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `clusterAgent` | ClusterAgent | Cluster agent created after mutation |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### CreateDiffNotePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateDiffNote.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
| `note` | Note | The note after mutation |
2020-11-24 15:15:51 +05:30
### CreateEpicPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateEpic.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `epic` | Epic | The created epic |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
### CreateImageDiffNotePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateImageDiffNote.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
| `note` | Note | The note after mutation |
2020-11-24 15:15:51 +05:30
### CreateIterationPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateIteration.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `iteration` | Iteration | The created iteration |
2020-11-24 15:15:51 +05:30
### CreateNotePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateNote.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
| `note` | Note | The note after mutation |
2020-11-24 15:15:51 +05:30
### CreateRequirementPayload
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateRequirement.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-04-08 14:13:33 +05:30
| `requirement` | Requirement | The requirement after mutation |
2020-11-24 15:15:51 +05:30
### CreateSnippetPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of CreateSnippet.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `snippet` | Snippet | The snippet after mutation |
2020-11-24 15:15:51 +05:30
### CreateTestCasePayload
Autogenerated return type of CreateTestCase.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `testCase` | Issue | The test case created |
### DastOnDemandScanCreatePayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DastOnDemandScanCreate.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `pipelineUrl` | String | URL of the pipeline that was created. |
2020-11-24 15:15:51 +05:30
### DastScannerProfile
2020-10-24 23:57:45 +05:30
Represents a DAST scanner profile.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `editPath` | String | Relative web path to the edit page of a scanner profile |
| `globalId` | DastScannerProfileID! | ID of the DAST scanner profile |
| `id` **{warning-solid}** | ID! | **Deprecated:** Use `global_id`. Deprecated in 13.4 |
2020-10-24 23:57:45 +05:30
| `profileName` | String | Name of the DAST scanner profile |
2020-11-24 15:15:51 +05:30
| `spiderTimeout` | Int | The maximum number of minutes allowed for the spider to traverse the site |
2020-10-24 23:57:45 +05:30
| `targetTimeout` | Int | The maximum number of seconds allowed for the site under test to respond to a request |
2020-11-24 15:15:51 +05:30
### DastScannerProfileCreatePayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DastScannerProfileCreate.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
| `globalId` | DastScannerProfileID | ID of the scanner profile. |
| `id` **{warning-solid}** | ID | **Deprecated:** Use `global_id`. Deprecated in 13.4 |
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
### DastScannerProfileDeletePayload
Autogenerated return type of DastScannerProfileDelete.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
### DastScannerProfileUpdatePayload
Autogenerated return type of DastScannerProfileUpdate.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `id` | DastScannerProfileID | ID of the scanner profile. |
### DastSiteProfile
2020-10-24 23:57:45 +05:30
Represents a DAST Site Profile.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `editPath` | String | Relative web path to the edit page of a site profile |
| `id` | DastSiteProfileID! | ID of the site profile |
| `profileName` | String | The name of the site profile |
| `targetUrl` | String | The URL of the target to be scanned |
| `userPermissions` | DastSiteProfilePermissions! | Permissions for the current user on the resource |
| `validationStatus` | DastSiteProfileValidationStatusEnum | The current validation status of the site profile |
2020-11-24 15:15:51 +05:30
### DastSiteProfileCreatePayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DastSiteProfileCreate.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-10-24 23:57:45 +05:30
| `id` | DastSiteProfileID | ID of the site profile. |
2020-11-24 15:15:51 +05:30
### DastSiteProfileDeletePayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DastSiteProfileDelete.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### DastSiteProfilePermissions
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Check permissions for the current user on site profile.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `createOnDemandDastScan` | Boolean! | Indicates the user can perform `create_on_demand_dast_scan` on this resource |
2020-11-24 15:15:51 +05:30
### DastSiteProfileUpdatePayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DastSiteProfileUpdate.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `id` | DastSiteProfileID | ID of the site profile. |
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
### DeleteAnnotationPayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DeleteAnnotation.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### DeleteJobsResponse
2020-04-08 14:13:33 +05:30
The response from the AdminSidekiqQueuesDeleteJobs mutation.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `completed` | Boolean | Whether or not the entire queue was processed in time; if not, retrying the same request is safe |
| `deletedJobs` | Int | The number of matching jobs deleted |
| `queueSize` | Int | The queue size after processing |
2020-11-24 15:15:51 +05:30
### Design
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
A single design.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `diffRefs` | DiffRefs! | The diff refs for this design |
| `event` | DesignVersionEvent! | How this design was changed in the current version |
| `filename` | String! | The filename of the design |
| `fullPath` | String! | The full path to the design file |
| `id` | ID! | The ID of this design |
2020-04-22 19:07:51 +05:30
| `image` | String! | The URL of the full-sized image |
| `imageV432x230` | String | The URL of the design resized to fit within the bounds of 432x230. This will be `null` if the image has not been generated |
2020-03-13 15:44:24 +05:30
| `issue` | Issue! | The issue the design belongs to |
| `notesCount` | Int! | The total count of user-created notes for this design |
| `project` | Project! | The project the design belongs to |
2020-11-24 15:15:51 +05:30
### DesignAtVersion
2020-03-13 15:44:24 +05:30
A design pinned to a specific version. The image field reflects the design as of the associated version.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `design` | Design! | The underlying design |
2020-03-13 15:44:24 +05:30
| `diffRefs` | DiffRefs! | The diff refs for this design |
| `event` | DesignVersionEvent! | How this design was changed in the current version |
| `filename` | String! | The filename of the design |
| `fullPath` | String! | The full path to the design file |
| `id` | ID! | The ID of this design |
2020-04-22 19:07:51 +05:30
| `image` | String! | The URL of the full-sized image |
| `imageV432x230` | String | The URL of the design resized to fit within the bounds of 432x230. This will be `null` if the image has not been generated |
2020-03-13 15:44:24 +05:30
| `issue` | Issue! | The issue the design belongs to |
2019-12-21 20:55:43 +05:30
| `notesCount` | Int! | The total count of user-created notes for this design |
2020-03-13 15:44:24 +05:30
| `project` | Project! | The project the design belongs to |
| `version` | DesignVersion! | The version this design-at-versions is pinned to |
2020-11-24 15:15:51 +05:30
### DesignCollection
2020-03-13 15:44:24 +05:30
A collection of designs.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `design` | Design | Find a specific design |
| `designAtVersion` | DesignAtVersion | Find a design as of a version |
| `issue` | Issue! | Issue associated with the design collection |
| `project` | Project! | Project associated with the design collection |
| `version` | DesignVersion | A specific version |
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
### DesignManagement
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `designAtVersion` | DesignAtVersion | Find a design as of a version |
| `version` | DesignVersion | Find a version |
2020-11-24 15:15:51 +05:30
### DesignManagementDeletePayload
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DesignManagementDelete.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
| `version` | DesignVersion | The new version in which the designs are deleted |
2020-11-24 15:15:51 +05:30
### DesignManagementMovePayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DesignManagementMove.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `designCollection` | DesignCollection | The current state of the collection |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### DesignManagementUploadPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DesignManagementUpload.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `designs` | Design! => Array | The designs that were uploaded by the mutation |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
| `skippedDesigns` | Design! => Array | Any designs that were skipped from the upload due to there being no change to their content since their last version |
2020-11-24 15:15:51 +05:30
### DesignVersion
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
A specific version in which designs were added, modified or deleted.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `designAtVersion` | DesignAtVersion! | A particular design as of this version, provided it is visible at this version |
| `id` | ID! | ID of the design version |
| `sha` | ID! | SHA of the design version |
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
### DestroyBoardPayload
Autogenerated return type of DestroyBoard.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `board` | Board | The board after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
### DestroyNotePayload
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DestroyNote.
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
| `note` | Note | The note after mutation |
2020-11-24 15:15:51 +05:30
### DestroySnippetPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DestroySnippet.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `snippet` | Snippet | The snippet after mutation |
2020-11-24 15:15:51 +05:30
### DetailedStatus
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `detailsPath` | String! | Path of the details for the pipeline status |
| `favicon` | String! | Favicon of the pipeline status |
| `group` | String! | Group of the pipeline status |
| `hasDetails` | Boolean! | Indicates if the pipeline status has further details |
| `icon` | String! | Icon of the pipeline status |
| `label` | String! | Label of the pipeline status |
| `text` | String! | Text of the pipeline status |
| `tooltip` | String! | Tooltip associated with the pipeline status |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### DiffPosition
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `diffRefs` | DiffRefs! | Information about the branch, HEAD, and base at the time of commenting |
| `filePath` | String! | Path of the file that was changed |
2020-03-13 15:44:24 +05:30
| `height` | Int | Total height of the image |
| `newLine` | Int | Line on HEAD SHA that was changed |
2020-01-01 13:55:28 +05:30
| `newPath` | String | Path of the file on the HEAD SHA |
| `oldLine` | Int | Line on start SHA that was changed |
2020-03-13 15:44:24 +05:30
| `oldPath` | String | Path of the file on the start SHA |
| `positionType` | DiffPositionType! | Type of file the position refers to |
2020-01-01 13:55:28 +05:30
| `width` | Int | Total width of the image |
2020-03-13 15:44:24 +05:30
| `x` | Int | X position of the note |
| `y` | Int | Y position of the note |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### DiffRefs
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-07 23:17:34 +05:30
| `baseSha` | String | Merge base of the branch the comment was made on |
2020-03-13 15:44:24 +05:30
| `headSha` | String! | SHA of the HEAD at the time the comment was made |
2020-01-01 13:55:28 +05:30
| `startSha` | String! | SHA of the branch being compared against |
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
### DiffStats
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Changes to a single file.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `additions` | Int! | Number of lines added to this file |
| `deletions` | Int! | Number of lines deleted from this file |
| `path` | String! | File path, relative to repository root |
2020-11-24 15:15:51 +05:30
### DiffStatsSummary
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Aggregated summary of changes.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `additions` | Int! | Number of lines added |
| `changes` | Int! | Number of lines changed |
| `deletions` | Int! | Number of lines deleted |
| `fileCount` | Int! | Number of files changed |
2020-11-24 15:15:51 +05:30
### Discussion
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time! | Timestamp of the discussion's creation |
2020-01-01 13:55:28 +05:30
| `id` | ID! | ID of this discussion |
| `replyId` | ID! | ID used to reply to this discussion |
2020-06-23 00:09:42 +05:30
| `resolvable` | Boolean! | Indicates if the object can be resolved |
| `resolved` | Boolean! | Indicates if the object is resolved |
| `resolvedAt` | Time | Timestamp of when the object was resolved |
| `resolvedBy` | User | User who resolved the object |
2020-11-24 15:15:51 +05:30
### DiscussionToggleResolvePayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DiscussionToggleResolve.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `discussion` | Discussion | The discussion after mutation |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### DismissVulnerabilityPayload
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of DismissVulnerability.
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-04-22 19:07:51 +05:30
| `vulnerability` | Vulnerability | The vulnerability after dismissal |
2020-11-24 15:15:51 +05:30
### Environment
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Describes where code is deployed for a project.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `id` | ID! | ID of the environment |
2020-10-24 23:57:45 +05:30
| `latestOpenedMostSevereAlert` | AlertManagementAlert | The most severe open alert for the environment. If multiple alerts have equal severity, the most recent is returned. |
2020-04-22 19:07:51 +05:30
| `metricsDashboard` | MetricsDashboard | Metrics dashboard schema for the environment |
2020-03-13 15:44:24 +05:30
| `name` | String! | Human-readable name of the environment |
2020-04-22 19:07:51 +05:30
| `state` | String! | State of the environment, for example: available/stopped |
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
### Epic
2020-03-13 15:44:24 +05:30
Represents an epic.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `author` | User! | Author of the epic |
2020-03-13 15:44:24 +05:30
| `closedAt` | Time | Timestamp of the epic's closure |
2020-04-22 19:07:51 +05:30
| `confidential` | Boolean | Indicates if the epic is confidential |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time | Timestamp of the epic's creation |
| `descendantCounts` | EpicDescendantCount | Number of open and closed descendant epics and issues |
2020-04-08 14:13:33 +05:30
| `descendantWeightSum` | EpicDescendantWeights | Total weight of open and closed issues in the epic and its descendants |
2020-03-13 15:44:24 +05:30
| `description` | String | Description of the epic |
| `downvotes` | Int! | Number of downvotes the epic has received |
2020-01-01 13:55:28 +05:30
| `dueDate` | Time | Due date of the epic |
| `dueDateFixed` | Time | Fixed due date of the epic |
| `dueDateFromMilestones` | Time | Inherited due date of the epic from milestones |
2020-03-13 15:44:24 +05:30
| `dueDateIsFixed` | Boolean | Indicates if the due date has been manually set |
| `group` | Group! | Group to which the epic belongs |
2020-01-01 13:55:28 +05:30
| `hasChildren` | Boolean! | Indicates if the epic has children |
| `hasIssues` | Boolean! | Indicates if the epic has direct issues |
2020-04-22 19:07:51 +05:30
| `hasParent` | Boolean! | Indicates if the epic has a parent epic |
2020-04-08 14:13:33 +05:30
| `healthStatus` | EpicHealthStatus | Current health status of the epic |
2020-03-13 15:44:24 +05:30
| `id` | ID! | ID of the epic |
| `iid` | ID! | Internal ID of the epic |
| `parent` | Epic | Parent epic of the epic |
| `reference` | String! | Internal reference of the epic. Returned in shortened format by default |
| `relationPath` | String | URI path of the epic-issue relationship |
2020-01-01 13:55:28 +05:30
| `relativePosition` | Int | The relative position of the epic in the epic tree |
2020-03-13 15:44:24 +05:30
| `startDate` | Time | Start date of the epic |
| `startDateFixed` | Time | Fixed start date of the epic |
| `startDateFromMilestones` | Time | Inherited start date of the epic from milestones |
| `startDateIsFixed` | Boolean | Indicates if the start date has been manually set |
| `state` | EpicState! | State of the epic |
| `subscribed` | Boolean! | Indicates the currently logged in user is subscribed to the epic |
| `title` | String | Title of the epic |
| `updatedAt` | Time | Timestamp of the epic's last activity |
| `upvotes` | Int! | Number of upvotes the epic has received |
| `userPermissions` | EpicPermissions! | Permissions for the current user on the resource |
| `webPath` | String! | Web path of the epic |
| `webUrl` | String! | Web URL of the epic |
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
### EpicAddIssuePayload
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of EpicAddIssue.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `epic` | Epic | The epic after mutation |
| `epicIssue` | EpicIssue | The epic-issue relation |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
### EpicDescendantCount
2020-03-13 15:44:24 +05:30
Counts of descendent epics.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `closedEpics` | Int | Number of closed child epics |
2019-12-26 22:10:19 +05:30
| `closedIssues` | Int | Number of closed epic issues |
2020-10-24 23:57:45 +05:30
| `openedEpics` | Int | Number of opened child epics |
2020-03-13 15:44:24 +05:30
| `openedIssues` | Int | Number of opened epic issues |
2020-11-24 15:15:51 +05:30
### EpicDescendantWeights
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Total weight of open and closed descendant issues.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `closedIssues` | Int | Total weight of completed (closed) issues in this epic, including epic descendants |
| `openedIssues` | Int | Total weight of opened issues in this epic, including epic descendants |
2020-11-24 15:15:51 +05:30
### EpicHealthStatus
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Health status of child issues.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `issuesAtRisk` | Int | Number of issues at risk |
| `issuesNeedingAttention` | Int | Number of issues that need attention |
| `issuesOnTrack` | Int | Number of issues on track |
2020-11-24 15:15:51 +05:30
### EpicIssue
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
Relationship between an epic and an issue.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `alertManagementAlert` | AlertManagementAlert | Alert associated to this issue |
2019-12-26 22:10:19 +05:30
| `author` | User! | User that created the issue |
2020-10-24 23:57:45 +05:30
| `blocked` | Boolean! | Indicates the issue is blocked |
2020-03-13 15:44:24 +05:30
| `closedAt` | Time | Timestamp of when the issue was closed |
2019-12-26 22:10:19 +05:30
| `confidential` | Boolean! | Indicates the issue is confidential |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time! | Timestamp of when the issue was created |
| `description` | String | Description of the issue |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `designCollection` | DesignCollection | Collection of design images associated with this issue |
2020-04-22 19:07:51 +05:30
| `designs` **{warning-solid}** | DesignCollection | **Deprecated:** Use `designCollection`. Deprecated in 12.2 |
2019-12-26 22:10:19 +05:30
| `discussionLocked` | Boolean! | Indicates discussion is locked on the issue |
| `downvotes` | Int! | Number of downvotes the issue has received |
2020-03-13 15:44:24 +05:30
| `dueDate` | Time | Due date of the issue |
| `epic` | Epic | Epic to which this issue belongs |
| `epicIssueId` | ID! | ID of the epic-issue relation |
2020-04-22 19:07:51 +05:30
| `healthStatus` | HealthStatus | Current health status. Returns null if `save_issuable_health_status` feature flag is disabled. |
2020-03-13 15:44:24 +05:30
| `id` | ID | Global ID of the epic-issue relation |
| `iid` | ID! | Internal ID of the issue |
2020-05-24 23:13:21 +05:30
| `iteration` | Iteration | Iteration of the issue |
2020-03-13 15:44:24 +05:30
| `milestone` | Milestone | Milestone of the issue |
| `reference` | String! | Internal reference of the issue. Returned in shortened format by default |
| `relationPath` | String | URI path of the epic-issue relation |
2019-12-26 22:10:19 +05:30
| `relativePosition` | Int | Relative position of the issue (used for positioning in epic tree and issue boards) |
2020-11-24 15:15:51 +05:30
| `severity` | IssuableSeverity | Severity level of the incident |
2020-03-13 15:44:24 +05:30
| `state` | IssueState! | State of the issue |
2020-10-24 23:57:45 +05:30
| `statusPagePublishedIncident` | Boolean | Indicates whether an issue is published to the status page |
2020-03-13 15:44:24 +05:30
| `subscribed` | Boolean! | Indicates the currently logged in user is subscribed to the issue |
| `taskCompletionStatus` | TaskCompletionStatus! | Task completion status of the issue |
2019-12-26 22:10:19 +05:30
| `timeEstimate` | Int! | Time estimate of the issue |
2020-03-13 15:44:24 +05:30
| `title` | String! | Title of the issue |
| `titleHtml` | String | The GitLab Flavored Markdown rendering of `title` |
2019-12-21 20:55:43 +05:30
| `totalTimeSpent` | Int! | Total time reported as spent on the issue |
2020-10-24 23:57:45 +05:30
| `type` | IssueType | Type of the issue |
2019-12-26 22:10:19 +05:30
| `updatedAt` | Time! | Timestamp of when the issue was last updated |
2020-03-13 15:44:24 +05:30
| `upvotes` | Int! | Number of upvotes the issue has received |
| `userNotesCount` | Int! | Number of user notes of the issue |
| `userPermissions` | IssuePermissions! | Permissions for the current user on the resource |
| `webPath` | String! | Web path of the issue |
| `webUrl` | String! | Web URL of the issue |
2020-01-01 13:55:28 +05:30
| `weight` | Int | Weight of the issue |
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
### EpicPermissions
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Check permissions for the current user on an epic.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `adminEpic` | Boolean! | Indicates the user can perform `admin_epic` on this resource |
| `awardEmoji` | Boolean! | Indicates the user can perform `award_emoji` on this resource |
| `createEpic` | Boolean! | Indicates the user can perform `create_epic` on this resource |
| `createNote` | Boolean! | Indicates the user can perform `create_note` on this resource |
| `destroyEpic` | Boolean! | Indicates the user can perform `destroy_epic` on this resource |
| `readEpic` | Boolean! | Indicates the user can perform `read_epic` on this resource |
| `readEpicIid` | Boolean! | Indicates the user can perform `read_epic_iid` on this resource |
| `updateEpic` | Boolean! | Indicates the user can perform `update_epic` on this resource |
2020-11-24 15:15:51 +05:30
### EpicSetSubscriptionPayload
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of EpicSetSubscription.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2019-12-26 22:10:19 +05:30
| `epic` | Epic | The epic after mutation |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
### EpicTreeReorderPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of EpicTreeReorder.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
### GeoNode
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `containerRepositoriesMaxCapacity` | Int | The maximum concurrency of container repository sync for this secondary node |
| `enabled` | Boolean | Indicates whether this Geo node is enabled |
| `filesMaxCapacity` | Int | The maximum concurrency of LFS/attachment backfill for this secondary node |
| `id` | ID! | ID of this GeoNode |
| `internalUrl` | String | The URL defined on the primary node that secondary nodes should use to contact it |
| `minimumReverificationInterval` | Int | The interval (in days) in which the repository verification is valid. Once expired, it will be reverified |
| `name` | String | The unique identifier for this Geo node |
| `primary` | Boolean | Indicates whether this Geo node is the primary |
| `reposMaxCapacity` | Int | The maximum concurrency of repository backfill for this secondary node |
| `selectiveSyncShards` | String! => Array | The repository storages whose projects should be synced, if `selective_sync_type` == `shards` |
| `selectiveSyncType` | String | Indicates if syncing is limited to only specific groups, or shards |
| `syncObjectStorage` | Boolean | Indicates if this secondary node will replicate blobs in Object Storage |
| `url` | String | The user-facing URL for this Geo node |
| `verificationMaxCapacity` | Int | The maximum concurrency of repository verification for this secondary node |
2020-11-24 15:15:51 +05:30
### GrafanaIntegration
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time! | Timestamp of the issue's creation |
| `enabled` | Boolean! | Indicates whether Grafana integration is enabled |
2020-05-24 23:13:21 +05:30
| `grafanaUrl` | String! | URL for the Grafana host for the Grafana integration |
2020-03-13 15:44:24 +05:30
| `id` | ID! | Internal ID of the Grafana integration |
2020-04-22 19:07:51 +05:30
| `token` **{warning-solid}** | String! | **Deprecated:** Plain text token has been masked for security reasons. Deprecated in 12.7 |
2020-03-13 15:44:24 +05:30
| `updatedAt` | Time! | Timestamp of the issue's last activity |
2020-11-24 15:15:51 +05:30
### Group
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `autoDevopsEnabled` | Boolean | Indicates whether Auto DevOps is enabled for all projects within this group |
| `avatarUrl` | String | Avatar URL of the group |
2020-04-08 14:13:33 +05:30
| `board` | Board | A single board of the group |
2019-12-26 22:10:19 +05:30
| `description` | String | Description of the namespace |
2019-09-30 21:07:59 +05:30
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2020-03-13 15:44:24 +05:30
| `emailsDisabled` | Boolean | Indicates if a group has email notifications disabled |
| `epic` | Epic | Find a single epic |
| `epicsEnabled` | Boolean | Indicates if Epics are enabled for namespace |
| `fullName` | String! | Full name of the namespace |
| `fullPath` | ID! | Full path of the namespace |
| `groupTimelogsEnabled` | Boolean | Indicates if Group timelogs are enabled for namespace |
| `id` | ID! | ID of the namespace |
2020-10-24 23:57:45 +05:30
| `isTemporaryStorageIncreaseEnabled` | Boolean! | Status of the temporary storage increase |
2020-06-23 00:09:42 +05:30
| `label` | Label | A label available on this group |
2019-12-26 22:10:19 +05:30
| `lfsEnabled` | Boolean | Indicates if Large File Storage (LFS) is enabled for namespace |
2020-03-13 15:44:24 +05:30
| `mentionsDisabled` | Boolean | Indicates if a group is disabled from getting mentioned |
| `name` | String! | Name of the namespace |
| `parent` | Group | Parent group |
| `path` | String! | Path of the namespace |
| `projectCreationLevel` | String | The permission level required to create projects in the group |
2019-12-26 22:10:19 +05:30
| `requestAccessEnabled` | Boolean | Indicates if users can request access to namespace |
2020-03-13 15:44:24 +05:30
| `requireTwoFactorAuthentication` | Boolean | Indicates if all users in this group are required to set up two-factor authentication |
2019-12-26 22:10:19 +05:30
| `rootStorageStatistics` | RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces |
2020-03-13 15:44:24 +05:30
| `shareWithGroupLock` | Boolean | Indicates if sharing a project with another group within this group is prevented |
2020-07-28 23:09:34 +05:30
| `storageSizeLimit` | Float | Total storage limit of the root namespace in bytes |
2020-03-13 15:44:24 +05:30
| `subgroupCreationLevel` | String | The permission level required to create subgroups within the group |
2020-07-28 23:09:34 +05:30
| `temporaryStorageIncreaseEndsOn` | Time | Date until the temporary storage increase is active |
2020-03-13 15:44:24 +05:30
| `twoFactorGracePeriod` | Int | Time before two-factor authentication is enforced |
2019-09-30 21:07:59 +05:30
| `userPermissions` | GroupPermissions! | Permissions for the current user on the resource |
2020-03-13 15:44:24 +05:30
| `visibility` | String | Visibility of the namespace |
2020-10-24 23:57:45 +05:30
| `vulnerabilityGrades` | VulnerableProjectsByGrade! => Array | Represents vulnerable project counts for each grade |
2020-11-24 15:15:51 +05:30
| `vulnerabilitySeveritiesCount` | VulnerabilitySeveritiesCount | Counts for each vulnerability severity in the group and its subgroups |
2019-12-26 22:10:19 +05:30
| `webUrl` | String! | Web URL of the group |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### GroupMember
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Represents a Group Membership.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `accessLevel` | AccessLevel | GitLab::Access level |
| `createdAt` | Time | Date and time the membership was created |
| `createdBy` | User | User that authorized membership |
| `expiresAt` | Time | Date and time the membership expires |
| `group` | Group | Group that a User is a member of |
2020-11-24 15:15:51 +05:30
| `id` | ID! | ID of the member |
2020-06-23 00:09:42 +05:30
| `updatedAt` | Time | Date and time the membership was last updated |
2020-11-24 15:15:51 +05:30
| `user` | User! | User that is associated with the member object |
2020-06-23 00:09:42 +05:30
| `userPermissions` | GroupPermissions! | Permissions for the current user on the resource |
2020-11-24 15:15:51 +05:30
### GroupPermissions
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `readGroup` | Boolean! | Indicates the user can perform `read_group` on this resource |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### InstanceSecurityDashboard
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `vulnerabilityGrades` | VulnerableProjectsByGrade! => Array | Represents vulnerable project counts for each grade |
2020-11-24 15:15:51 +05:30
| `vulnerabilitySeveritiesCount` | VulnerabilitySeveritiesCount | Counts for each vulnerability severity from projects selected in Instance Security Dashboard |
### InstanceStatisticsMeasurement
Represents a recorded measurement (object count) for the Admins.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `count` | Int! | Object count |
| `identifier` | MeasurementIdentifier! | The type of objects being measured |
| `recordedAt` | Time | The time the measurement was recorded |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### Issue
| Field | Type | Description |
| ----- | ---- | ----------- |
| `alertManagementAlert` | AlertManagementAlert | Alert associated to this issue |
2019-12-26 22:10:19 +05:30
| `author` | User! | User that created the issue |
2020-10-24 23:57:45 +05:30
| `blocked` | Boolean! | Indicates the issue is blocked |
2020-03-13 15:44:24 +05:30
| `closedAt` | Time | Timestamp of when the issue was closed |
2019-12-26 22:10:19 +05:30
| `confidential` | Boolean! | Indicates the issue is confidential |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time! | Timestamp of when the issue was created |
| `description` | String | Description of the issue |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `designCollection` | DesignCollection | Collection of design images associated with this issue |
2020-04-22 19:07:51 +05:30
| `designs` **{warning-solid}** | DesignCollection | **Deprecated:** Use `designCollection`. Deprecated in 12.2 |
2019-12-26 22:10:19 +05:30
| `discussionLocked` | Boolean! | Indicates discussion is locked on the issue |
| `downvotes` | Int! | Number of downvotes the issue has received |
2020-03-13 15:44:24 +05:30
| `dueDate` | Time | Due date of the issue |
| `epic` | Epic | Epic to which this issue belongs |
2020-04-22 19:07:51 +05:30
| `healthStatus` | HealthStatus | Current health status. Returns null if `save_issuable_health_status` feature flag is disabled. |
2020-07-28 23:09:34 +05:30
| `id` | ID! | ID of the issue |
2020-03-13 15:44:24 +05:30
| `iid` | ID! | Internal ID of the issue |
2020-05-24 23:13:21 +05:30
| `iteration` | Iteration | Iteration of the issue |
2020-03-13 15:44:24 +05:30
| `milestone` | Milestone | Milestone of the issue |
| `reference` | String! | Internal reference of the issue. Returned in shortened format by default |
2019-12-26 22:10:19 +05:30
| `relativePosition` | Int | Relative position of the issue (used for positioning in epic tree and issue boards) |
2020-11-24 15:15:51 +05:30
| `severity` | IssuableSeverity | Severity level of the incident |
2020-03-13 15:44:24 +05:30
| `state` | IssueState! | State of the issue |
2020-10-24 23:57:45 +05:30
| `statusPagePublishedIncident` | Boolean | Indicates whether an issue is published to the status page |
2020-03-13 15:44:24 +05:30
| `subscribed` | Boolean! | Indicates the currently logged in user is subscribed to the issue |
| `taskCompletionStatus` | TaskCompletionStatus! | Task completion status of the issue |
2019-12-26 22:10:19 +05:30
| `timeEstimate` | Int! | Time estimate of the issue |
2020-03-13 15:44:24 +05:30
| `title` | String! | Title of the issue |
| `titleHtml` | String | The GitLab Flavored Markdown rendering of `title` |
2019-12-21 20:55:43 +05:30
| `totalTimeSpent` | Int! | Total time reported as spent on the issue |
2020-10-24 23:57:45 +05:30
| `type` | IssueType | Type of the issue |
2019-12-26 22:10:19 +05:30
| `updatedAt` | Time! | Timestamp of when the issue was last updated |
2020-03-13 15:44:24 +05:30
| `upvotes` | Int! | Number of upvotes the issue has received |
| `userNotesCount` | Int! | Number of user notes of the issue |
| `userPermissions` | IssuePermissions! | Permissions for the current user on the resource |
| `webPath` | String! | Web path of the issue |
| `webUrl` | String! | Web URL of the issue |
2020-01-01 13:55:28 +05:30
| `weight` | Int | Weight of the issue |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### IssueMoveListPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueMoveList.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssuePermissions
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Check permissions for the current user on a issue.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `adminIssue` | Boolean! | Indicates the user can perform `admin_issue` on this resource |
| `createDesign` | Boolean! | Indicates the user can perform `create_design` on this resource |
| `createNote` | Boolean! | Indicates the user can perform `create_note` on this resource |
| `destroyDesign` | Boolean! | Indicates the user can perform `destroy_design` on this resource |
| `readDesign` | Boolean! | Indicates the user can perform `read_design` on this resource |
| `readIssue` | Boolean! | Indicates the user can perform `read_issue` on this resource |
| `reopenIssue` | Boolean! | Indicates the user can perform `reopen_issue` on this resource |
| `updateIssue` | Boolean! | Indicates the user can perform `update_issue` on this resource |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### IssueSetAssigneesPayload
Autogenerated return type of IssueSetAssignees.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue after mutation |
### IssueSetConfidentialPayload
Autogenerated return type of IssueSetConfidential.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueSetDueDatePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueSetDueDate.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueSetEpicPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueSetEpic.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueSetIterationPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueSetIteration.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueSetLockedPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueSetLocked.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueSetSeverityPayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueSetSeverity.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueSetSubscriptionPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueSetSubscription.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueSetWeightPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of IssueSetWeight.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### IssueStatusCountsType
2020-10-24 23:57:45 +05:30
Represents total number of issues for the represented statuses.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `all` | Int | Number of issues with status ALL for the project |
| `closed` | Int | Number of issues with status CLOSED for the project |
| `opened` | Int | Number of issues with status OPENED for the project |
2020-11-24 15:15:51 +05:30
### Iteration
2020-05-24 23:13:21 +05:30
Represents an iteration object.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `burnupTimeSeries` | BurnupChartDailyTotals! => Array | Daily scope and completed totals for burnup charts |
2020-05-24 23:13:21 +05:30
| `createdAt` | Time! | Timestamp of iteration creation |
| `description` | String | Description of the iteration |
2020-10-24 23:57:45 +05:30
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2020-05-24 23:13:21 +05:30
| `dueDate` | Time | Timestamp of the iteration due date |
| `id` | ID! | ID of the iteration |
2020-07-28 23:09:34 +05:30
| `iid` | ID! | Internal ID of the iteration |
2020-10-24 23:57:45 +05:30
| `scopedPath` | String | Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts |
| `scopedUrl` | String | Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts |
2020-05-24 23:13:21 +05:30
| `startDate` | Time | Timestamp of the iteration start date |
| `state` | IterationState! | State of the iteration |
| `title` | String! | Title of the iteration |
| `updatedAt` | Time! | Timestamp of last iteration update |
| `webPath` | String! | Web path of the iteration |
| `webUrl` | String! | Web URL of the iteration |
2020-11-24 15:15:51 +05:30
### JiraImport
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `createdAt` | Time | Timestamp of when the Jira import was created |
2020-06-23 00:09:42 +05:30
| `failedToImportCount` | Int! | Count of issues that failed to import |
| `importedIssuesCount` | Int! | Count of issues that were successfully imported |
2020-04-22 19:07:51 +05:30
| `jiraProjectKey` | String! | Project key for the imported Jira project |
2020-05-24 23:13:21 +05:30
| `scheduledAt` | Time | Timestamp of when the Jira import was scheduled |
2020-04-22 19:07:51 +05:30
| `scheduledBy` | User | User that started the Jira import |
2020-06-23 00:09:42 +05:30
| `totalIssueCount` | Int! | Total count of issues that were attempted to import |
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
### JiraImportStartPayload
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of JiraImportStart.
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-04-22 19:07:51 +05:30
| `jiraImport` | JiraImport | The Jira import data after mutation |
2020-11-24 15:15:51 +05:30
### JiraImportUsersPayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of JiraImportUsers.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `jiraUsers` | JiraUser! => Array | Users returned from Jira, matched by email and name if possible. |
2020-11-24 15:15:51 +05:30
### JiraProject
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `key` | String! | Key of the Jira project |
| `name` | String | Name of the Jira project |
| `projectId` | Int! | ID of the Jira project |
2020-11-24 15:15:51 +05:30
### JiraService
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `active` | Boolean | Indicates if the service is active |
| `type` | String | Class name of the service |
2020-11-24 15:15:51 +05:30
### JiraUser
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `gitlabId` | Int | ID of the matched GitLab user |
| `gitlabName` | String | Name of the matched GitLab user |
| `gitlabUsername` | String | Username of the matched GitLab user |
2020-11-24 15:15:51 +05:30
| `jiraAccountId` | String! | Account ID of the Jira user |
2020-06-23 00:09:42 +05:30
| `jiraDisplayName` | String! | Display name of the Jira user |
| `jiraEmail` | String | Email of the Jira user, returned only for users with public emails |
2020-11-24 15:15:51 +05:30
### Label
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `color` | String! | Background color of the label |
2020-01-01 13:55:28 +05:30
| `description` | String | Description of the label (Markdown rendered as HTML for caching) |
2019-09-30 21:07:59 +05:30
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2020-03-13 15:44:24 +05:30
| `id` | ID! | Label ID |
2019-12-26 22:10:19 +05:30
| `textColor` | String! | Text color of the label |
2020-03-13 15:44:24 +05:30
| `title` | String! | Content of the label |
2020-11-24 15:15:51 +05:30
### MarkAsSpamSnippetPayload
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MarkAsSpamSnippet.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `snippet` | Snippet | The snippet after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequest
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `allowCollaboration` | Boolean | Indicates if members of the target project can push to the fork |
2020-11-24 15:15:51 +05:30
| `approvalsLeft` | Int | Number of approvals left |
| `approvalsRequired` | Int | Number of approvals required |
| `approved` | Boolean! | Indicates if the merge request has all the required approvals. Returns true if no required approvals are configured. |
2020-06-23 00:09:42 +05:30
| `author` | User | User who created this merge request |
2020-11-24 15:15:51 +05:30
| `autoMergeEnabled` | Boolean! | Indicates if auto merge is enabled for the merge request |
2020-10-24 23:57:45 +05:30
| `commitCount` | Int | Number of commits in the merge request |
2020-11-24 15:15:51 +05:30
| `conflicts` | Boolean! | Indicates if the merge request has conflicts |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time! | Timestamp of when the merge request was created |
| `defaultMergeCommitMessage` | String | Default merge commit message of the merge request |
2020-01-01 13:55:28 +05:30
| `description` | String | Description of the merge request (Markdown rendered as HTML for caching) |
2019-09-30 21:07:59 +05:30
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2019-12-26 22:10:19 +05:30
| `diffHeadSha` | String | Diff head SHA of the merge request |
2020-03-13 15:44:24 +05:30
| `diffRefs` | DiffRefs | References of the base SHA, the head SHA, and the start SHA for this merge request |
2020-07-28 23:09:34 +05:30
| `diffStats` | DiffStats! => Array | Details about which files were changed in this merge request |
| `diffStatsSummary` | DiffStatsSummary | Summary of which files were changed in this merge request |
2020-03-13 15:44:24 +05:30
| `discussionLocked` | Boolean! | Indicates if comments on the merge request are locked to members only |
| `downvotes` | Int! | Number of downvotes for the merge request |
2019-12-26 22:10:19 +05:30
| `forceRemoveSourceBranch` | Boolean | Indicates if the project settings will lead to source branch deletion after merge |
2020-03-13 15:44:24 +05:30
| `headPipeline` | Pipeline | The pipeline running on the branch HEAD of the merge request |
| `id` | ID! | ID of the merge request |
| `iid` | String! | Internal ID of the merge request |
2019-12-26 22:10:19 +05:30
| `inProgressMergeCommitSha` | String | Commit SHA of the merge request if merge is in progress |
2020-04-22 19:07:51 +05:30
| `mergeCommitMessage` **{warning-solid}** | String | **Deprecated:** Use `defaultMergeCommitMessage`. Deprecated in 11.8 |
2020-03-13 15:44:24 +05:30
| `mergeCommitSha` | String | SHA of the merge request commit (set once merged) |
| `mergeError` | String | Error message due to a merge error |
2019-12-26 22:10:19 +05:30
| `mergeOngoing` | Boolean! | Indicates if a merge is currently occurring |
2020-03-13 15:44:24 +05:30
| `mergeStatus` | String | Status of the merge request |
| `mergeWhenPipelineSucceeds` | Boolean | Indicates if the merge has been set to be merged when its pipeline succeeds (MWPS) |
2019-12-26 22:10:19 +05:30
| `mergeableDiscussionsState` | Boolean | Indicates if all discussions in the merge request have been resolved, allowing the merge request to be merged |
2020-06-23 00:09:42 +05:30
| `mergedAt` | Time | Timestamp of when the merge request was merged, null if not merged |
2019-12-26 22:10:19 +05:30
| `milestone` | Milestone | The milestone of the merge request |
2020-03-13 15:44:24 +05:30
| `project` | Project! | Alias for target_project |
| `projectId` | Int! | ID of the merge request project |
| `rebaseCommitSha` | String | Rebase commit SHA of the merge request |
| `rebaseInProgress` | Boolean! | Indicates if there is a rebase currently in progress for the merge request |
| `reference` | String! | Internal reference of the merge request. Returned in shortened format by default |
| `shouldBeRebased` | Boolean! | Indicates if the merge request will be rebased |
| `shouldRemoveSourceBranch` | Boolean | Indicates if the source branch of the merge request will be deleted after merge |
| `sourceBranch` | String! | Source branch of the merge request |
| `sourceBranchExists` | Boolean! | Indicates if the source branch of the merge request exists |
| `sourceProject` | Project | Source project of the merge request |
| `sourceProjectId` | Int | ID of the merge request source project |
| `state` | MergeRequestState! | State of the merge request |
2019-12-26 22:10:19 +05:30
| `subscribed` | Boolean! | Indicates if the currently logged in user is subscribed to this merge request |
2020-03-13 15:44:24 +05:30
| `targetBranch` | String! | Target branch of the merge request |
2020-06-23 00:09:42 +05:30
| `targetBranchExists` | Boolean! | Indicates if the target branch of the merge request exists |
2020-03-13 15:44:24 +05:30
| `targetProject` | Project! | Target project of the merge request |
| `targetProjectId` | Int! | ID of the merge request target project |
| `taskCompletionStatus` | TaskCompletionStatus! | Completion status of tasks |
2019-12-26 22:10:19 +05:30
| `timeEstimate` | Int! | Time estimate of the merge request |
2020-03-13 15:44:24 +05:30
| `title` | String! | Title of the merge request |
| `titleHtml` | String | The GitLab Flavored Markdown rendering of `title` |
2019-12-21 20:55:43 +05:30
| `totalTimeSpent` | Int! | Total time reported as spent on the merge request |
2020-03-13 15:44:24 +05:30
| `updatedAt` | Time! | Timestamp of when the merge request was last updated |
| `upvotes` | Int! | Number of upvotes for the merge request |
| `userNotesCount` | Int | User notes count of the merge request |
| `userPermissions` | MergeRequestPermissions! | Permissions for the current user on the resource |
| `webUrl` | String | Web URL of the merge request |
| `workInProgress` | Boolean! | Indicates if the merge request is a work in progress (WIP) |
2020-11-24 15:15:51 +05:30
### MergeRequestCreatePayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestCreate.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequestPermissions
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
Check permissions for the current user on a merge request.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `adminMergeRequest` | Boolean! | Indicates the user can perform `admin_merge_request` on this resource |
2020-11-24 15:15:51 +05:30
| `canMerge` | Boolean! | Indicates the user can perform `can_merge` on this resource |
2020-03-13 15:44:24 +05:30
| `cherryPickOnCurrentMergeRequest` | Boolean! | Indicates the user can perform `cherry_pick_on_current_merge_request` on this resource |
| `createNote` | Boolean! | Indicates the user can perform `create_note` on this resource |
| `pushToSourceBranch` | Boolean! | Indicates the user can perform `push_to_source_branch` on this resource |
| `readMergeRequest` | Boolean! | Indicates the user can perform `read_merge_request` on this resource |
| `removeSourceBranch` | Boolean! | Indicates the user can perform `remove_source_branch` on this resource |
| `revertOnCurrentMergeRequest` | Boolean! | Indicates the user can perform `revert_on_current_merge_request` on this resource |
| `updateMergeRequest` | Boolean! | Indicates the user can perform `update_merge_request` on this resource |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### MergeRequestSetAssigneesPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestSetAssignees.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-26 22:10:19 +05:30
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequestSetLabelsPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestSetLabels.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-26 22:10:19 +05:30
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequestSetLockedPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestSetLocked.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-26 22:10:19 +05:30
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequestSetMilestonePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestSetMilestone.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-26 22:10:19 +05:30
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequestSetSubscriptionPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestSetSubscription.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-26 22:10:19 +05:30
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequestSetWipPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestSetWip.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-09-30 21:07:59 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-09-30 21:07:59 +05:30
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### MergeRequestUpdatePayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of MergeRequestUpdate.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `mergeRequest` | MergeRequest | The merge request after mutation |
2020-11-24 15:15:51 +05:30
### Metadata
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `revision` | String! | Revision |
2020-03-13 15:44:24 +05:30
| `version` | String! | Version |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### MetricsDashboard
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `path` | String | Path to a file with the dashboard definition |
2020-06-23 00:09:42 +05:30
| `schemaValidationWarnings` | String! => Array | Dashboard schema validation warnings |
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
### MetricsDashboardAnnotation
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `description` | String | Description of the annotation |
2020-05-24 23:13:21 +05:30
| `endingAt` | Time | Timestamp marking end of annotated time span |
2020-04-22 19:07:51 +05:30
| `id` | ID! | ID of the annotation |
| `panelId` | String | ID of a dashboard panel to which the annotation should be scoped |
2020-05-24 23:13:21 +05:30
| `startingAt` | Time | Timestamp marking start of annotated time span |
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
### Milestone
2020-03-13 15:44:24 +05:30
Represents a milestone.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `burnupTimeSeries` | BurnupChartDailyTotals! => Array | Daily scope and completed totals for burnup charts |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time! | Timestamp of milestone creation |
2019-12-26 22:10:19 +05:30
| `description` | String | Description of the milestone |
| `dueDate` | Time | Timestamp of the milestone due date |
2020-06-23 00:09:42 +05:30
| `groupMilestone` | Boolean! | Indicates if milestone is at group level |
2020-03-13 15:44:24 +05:30
| `id` | ID! | ID of the milestone |
2020-06-23 00:09:42 +05:30
| `projectMilestone` | Boolean! | Indicates if milestone is at project level |
2019-12-26 22:10:19 +05:30
| `startDate` | Time | Timestamp of the milestone start date |
2020-03-13 15:44:24 +05:30
| `state` | MilestoneStateEnum! | State of the milestone |
2020-07-28 23:09:34 +05:30
| `stats` | MilestoneStats | Milestone statistics |
2020-06-23 00:09:42 +05:30
| `subgroupMilestone` | Boolean! | Indicates if milestone is at subgroup level |
2020-03-13 15:44:24 +05:30
| `title` | String! | Title of the milestone |
2019-12-26 22:10:19 +05:30
| `updatedAt` | Time! | Timestamp of last milestone update |
2020-03-13 15:44:24 +05:30
| `webPath` | String! | Web path of the milestone |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### MilestoneStats
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Contains statistics about a milestone.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `closedIssuesCount` | Int | Number of closed issues associated with the milestone |
| `totalIssuesCount` | Int | Total number of issues associated with the milestone |
2020-11-24 15:15:51 +05:30
### Namespace
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `description` | String | Description of the namespace |
2019-09-30 21:07:59 +05:30
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2020-03-13 15:44:24 +05:30
| `fullName` | String! | Full name of the namespace |
| `fullPath` | ID! | Full path of the namespace |
| `id` | ID! | ID of the namespace |
2020-10-24 23:57:45 +05:30
| `isTemporaryStorageIncreaseEnabled` | Boolean! | Status of the temporary storage increase |
2019-12-26 22:10:19 +05:30
| `lfsEnabled` | Boolean | Indicates if Large File Storage (LFS) is enabled for namespace |
2020-03-13 15:44:24 +05:30
| `name` | String! | Name of the namespace |
| `path` | String! | Path of the namespace |
2019-12-26 22:10:19 +05:30
| `requestAccessEnabled` | Boolean | Indicates if users can request access to namespace |
| `rootStorageStatistics` | RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces |
2020-07-28 23:09:34 +05:30
| `storageSizeLimit` | Float | Total storage limit of the root namespace in bytes |
| `temporaryStorageIncreaseEndsOn` | Time | Date until the temporary storage increase is active |
2020-03-13 15:44:24 +05:30
| `visibility` | String | Visibility of the namespace |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### NamespaceIncreaseStorageTemporarilyPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of NamespaceIncreaseStorageTemporarily.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `namespace` | Namespace | The namespace after mutation |
2020-11-24 15:15:51 +05:30
### Note
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `author` | User! | User who wrote this note |
| `body` | String! | Content of the note |
2019-09-30 21:07:59 +05:30
| `bodyHtml` | String | The GitLab Flavored Markdown rendering of `note` |
2020-04-22 19:07:51 +05:30
| `confidential` | Boolean | Indicates if this note is confidential |
2020-01-01 13:55:28 +05:30
| `createdAt` | Time! | Timestamp of the note creation |
2019-09-30 21:07:59 +05:30
| `discussion` | Discussion | The discussion this note is a part of |
2020-03-13 15:44:24 +05:30
| `id` | ID! | ID of the note |
| `position` | DiffPosition | The position of this note on a diff |
| `project` | Project | Project associated with the note |
2020-06-23 00:09:42 +05:30
| `resolvable` | Boolean! | Indicates if the object can be resolved |
| `resolved` | Boolean! | Indicates if the object is resolved |
| `resolvedAt` | Time | Timestamp of when the object was resolved |
| `resolvedBy` | User | User who resolved the object |
2020-03-13 15:44:24 +05:30
| `system` | Boolean! | Indicates whether this note was created by the system or by a user |
2020-07-28 23:09:34 +05:30
| `systemNoteIconName` | String | Name of the icon corresponding to a system note |
2020-03-13 15:44:24 +05:30
| `updatedAt` | Time! | Timestamp of the note's last activity |
| `userPermissions` | NotePermissions! | Permissions for the current user on the resource |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### NotePermissions
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `adminNote` | Boolean! | Indicates the user can perform `admin_note` on this resource |
| `awardEmoji` | Boolean! | Indicates the user can perform `award_emoji` on this resource |
| `createNote` | Boolean! | Indicates the user can perform `create_note` on this resource |
| `readNote` | Boolean! | Indicates the user can perform `read_note` on this resource |
| `resolveNote` | Boolean! | Indicates the user can perform `resolve_note` on this resource |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### Package
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents a package.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `createdAt` | Time! | The created date |
| `id` | ID! | The ID of the package |
| `name` | String! | The name of the package |
| `packageType` | PackageTypeEnum! | The type of the package |
| `updatedAt` | Time! | The update date |
| `version` | String | The version of the package |
2020-11-24 15:15:51 +05:30
### PackageFileRegistry
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents the sync and verification state of a package file.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `createdAt` | Time | Timestamp when the PackageFileRegistry was created |
| `id` | ID! | ID of the PackageFileRegistry |
| `lastSyncFailure` | String | Error message during sync of the PackageFileRegistry |
| `lastSyncedAt` | Time | Timestamp of the most recent successful sync of the PackageFileRegistry |
| `packageFileId` | ID! | ID of the PackageFile |
| `retryAt` | Time | Timestamp after which the PackageFileRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the PackageFileRegistry |
| `state` | RegistryState | Sync state of the PackageFileRegistry |
2020-11-24 15:15:51 +05:30
### PageInfo
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Information about pagination in a connection..
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `endCursor` | String | When paginating forwards, the cursor to continue. |
2019-09-30 21:07:59 +05:30
| `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. |
2020-11-24 15:15:51 +05:30
### Pipeline
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `beforeSha` | String | Base SHA of the source branch |
2020-11-24 15:15:51 +05:30
| `cancelable` | Boolean! | Specifies if a pipeline can be canceled |
2020-03-13 15:44:24 +05:30
| `committedAt` | Time | Timestamp of the pipeline's commit |
2020-10-24 23:57:45 +05:30
| `configSource` | PipelineConfigSourceEnum | Config source of the pipeline (UNKNOWN_SOURCE, REPOSITORY_SOURCE, AUTO_DEVOPS_SOURCE, WEBIDE_SOURCE, REMOTE_SOURCE, EXTERNAL_PROJECT_SOURCE, BRIDGE_SOURCE, PARAMETER_SOURCE) |
2019-09-30 21:07:59 +05:30
| `coverage` | Float | Coverage percentage |
2020-03-13 15:44:24 +05:30
| `createdAt` | Time! | Timestamp of the pipeline's creation |
| `detailedStatus` | DetailedStatus! | Detailed status of the pipeline |
| `duration` | Int | Duration of the pipeline in seconds |
| `finishedAt` | Time | Timestamp of the pipeline's completion |
| `id` | ID! | ID of the pipeline |
| `iid` | String! | Internal ID of the pipeline |
2020-11-24 15:15:51 +05:30
| `retryable` | Boolean! | Specifies if a pipeline can be retried |
2020-06-23 00:09:42 +05:30
| `securityReportSummary` | SecurityReportSummary | Vulnerability and scanned resource counts for each security scanner of the pipeline |
2020-03-13 15:44:24 +05:30
| `sha` | String! | SHA of the pipeline's commit |
| `startedAt` | Time | Timestamp when the pipeline was started |
| `status` | PipelineStatusEnum! | Status of the pipeline (CREATED, WAITING_FOR_RESOURCE, PREPARING, PENDING, RUNNING, FAILED, SUCCESS, CANCELED, SKIPPED, MANUAL, SCHEDULED) |
| `updatedAt` | Time! | Timestamp of the pipeline's last activity |
2020-10-24 23:57:45 +05:30
| `user` | User | Pipeline user |
2020-03-13 15:44:24 +05:30
| `userPermissions` | PipelinePermissions! | Permissions for the current user on the resource |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### PipelineCancelPayload
Autogenerated return type of PipelineCancel.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
### PipelineDestroyPayload
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of PipelineDestroy.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
### PipelinePermissions
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `adminPipeline` | Boolean! | Indicates the user can perform `admin_pipeline` on this resource |
| `destroyPipeline` | Boolean! | Indicates the user can perform `destroy_pipeline` on this resource |
| `updatePipeline` | Boolean! | Indicates the user can perform `update_pipeline` on this resource |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### PipelineRetryPayload
Autogenerated return type of PipelineRetry.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `pipeline` | Pipeline | The pipeline after mutation |
### Project
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `alertManagementAlert` | AlertManagementAlert | A single Alert Management alert of the project |
| `alertManagementAlertStatusCounts` | AlertManagementAlertStatusCountsType | Counts of alerts by status for the project |
2020-06-23 00:09:42 +05:30
| `allowMergeOnSkippedPipeline` | Boolean | If `only_allow_merge_if_pipeline_succeeds` is true, indicates if merge requests of the project can also be merged with skipped jobs |
2020-03-13 15:44:24 +05:30
| `archived` | Boolean | Indicates the archived status of the project |
| `autocloseReferencedIssues` | Boolean | Indicates if issues referenced by merge requests and commits within the default branch are closed automatically |
| `avatarUrl` | String | URL to avatar image file of the project |
2020-04-08 14:13:33 +05:30
| `board` | Board | A single board of the project |
2020-11-24 15:15:51 +05:30
| `clusterAgent` | ClusterAgent | Find a single cluster agent by name |
2020-06-23 00:09:42 +05:30
| `containerExpirationPolicy` | ContainerExpirationPolicy | The container expiration policy of the project |
2020-03-13 15:44:24 +05:30
| `containerRegistryEnabled` | Boolean | Indicates if the project stores Docker container images in a container registry |
| `createdAt` | Time | Timestamp of the project creation |
2020-11-24 15:15:51 +05:30
| `dastSiteProfile` | DastSiteProfile | DAST Site Profile associated with the project |
2019-12-26 22:10:19 +05:30
| `description` | String | Short description of the project |
2019-09-30 21:07:59 +05:30
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2020-10-24 23:57:45 +05:30
| `environment` | Environment | A single environment of the project |
2019-12-26 22:10:19 +05:30
| `forksCount` | Int! | Number of times the project has been forked |
2020-03-13 15:44:24 +05:30
| `fullPath` | ID! | Full path of the project |
| `grafanaIntegration` | GrafanaIntegration | Grafana integration details for the project |
| `group` | Group | Group of the project |
| `httpUrlToRepo` | String | URL to connect to the project via HTTPS |
| `id` | ID! | ID of the project |
2020-04-22 19:07:51 +05:30
| `importStatus` | String | Status of import background job of the project |
2020-03-13 15:44:24 +05:30
| `issue` | Issue | A single issue of the project |
2020-10-24 23:57:45 +05:30
| `issueStatusCounts` | IssueStatusCountsType | Counts of issues by status for the project |
2020-04-22 19:07:51 +05:30
| `issuesEnabled` | Boolean | Indicates if Issues are enabled for the current user |
| `jiraImportStatus` | String | Status of Jira import background job of the project |
| `jobsEnabled` | Boolean | Indicates if CI/CD pipeline jobs are enabled for the current user |
2020-06-23 00:09:42 +05:30
| `label` | Label | A label available on this project |
2019-12-26 22:10:19 +05:30
| `lastActivityAt` | Time | Timestamp of the project last activity |
| `lfsEnabled` | Boolean | Indicates if the project has Large File Storage (LFS) enabled |
2020-03-13 15:44:24 +05:30
| `mergeRequest` | MergeRequest | A single merge request of the project |
2020-04-22 19:07:51 +05:30
| `mergeRequestsEnabled` | Boolean | Indicates if Merge Requests are enabled for the current user |
2020-03-13 15:44:24 +05:30
| `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. |
| `name` | String! | Name of the project (without namespace) |
| `nameWithNamespace` | String! | Full name of the project with its namespace |
| `namespace` | Namespace | Namespace of the project |
2019-12-26 22:10:19 +05:30
| `onlyAllowMergeIfAllDiscussionsAreResolved` | Boolean | Indicates if merge requests of the project can only be merged when all the discussions are resolved |
2020-03-13 15:44:24 +05:30
| `onlyAllowMergeIfPipelineSucceeds` | Boolean | Indicates if merge requests of the project can only be merged with successful jobs |
| `openIssuesCount` | Int | Number of open issues for the project |
| `path` | String! | Path of the project |
2020-06-23 00:09:42 +05:30
| `pipeline` | Pipeline | Build pipeline of the project |
2019-12-26 22:10:19 +05:30
| `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 |
2020-03-13 15:44:24 +05:30
| `publicJobs` | Boolean | Indicates if there is public access to pipelines and job details of the project, including output logs and artifacts |
2020-07-28 23:09:34 +05:30
| `release` | Release | A single release of the project |
2019-12-26 22:10:19 +05:30
| `removeSourceBranchAfterMerge` | Boolean | Indicates if `Delete source branch` option should be enabled by default for all new merge requests of the project |
| `repository` | Repository | Git repository of the project |
2020-03-13 15:44:24 +05:30
| `requestAccessEnabled` | Boolean | Indicates if users can request member access to the project |
2020-04-08 14:13:33 +05:30
| `requirement` | Requirement | Find a single requirement. Available only when feature flag `requirements_management` is enabled. |
2020-04-22 19:07:51 +05:30
| `requirementStatesCount` | RequirementStatesCount | Number of requirements for the project by their state |
2020-07-28 23:09:34 +05:30
| `sastCiConfiguration` | SastCiConfiguration | SAST CI configuration for the project |
2020-10-24 23:57:45 +05:30
| `securityDashboardPath` | String | Path to project's security dashboard |
2020-07-28 23:09:34 +05:30
| `securityScanners` | SecurityScanners | Information about security analyzers used in the project |
2020-01-01 13:55:28 +05:30
| `sentryDetailedError` | SentryDetailedError | Detailed version of a Sentry error on the project |
2020-03-13 15:44:24 +05:30
| `sentryErrors` | SentryErrorCollection | Paginated collection of Sentry errors on the project |
2020-01-01 13:55:28 +05:30
| `serviceDeskAddress` | String | E-mail address of the service desk. |
2020-03-13 15:44:24 +05:30
| `serviceDeskEnabled` | Boolean | Indicates if the project has service desk enabled. |
2020-11-24 15:15:51 +05:30
| `sharedRunnersEnabled` | Boolean | Indicates if shared runners are enabled for the project |
2020-04-22 19:07:51 +05:30
| `snippetsEnabled` | Boolean | Indicates if Snippets are enabled for the current user |
2020-03-13 15:44:24 +05:30
| `sshUrlToRepo` | String | URL to connect to the project via SSH |
| `starCount` | Int! | Number of times the project has been starred |
| `statistics` | ProjectStatistics | Statistics of the project |
| `suggestionCommitMessage` | String | The commit message used to apply merge request suggestions |
2020-04-22 19:07:51 +05:30
| `tagList` | String | List of project topics (not Git tags) |
2020-03-13 15:44:24 +05:30
| `userPermissions` | ProjectPermissions! | Permissions for the current user on the resource |
| `visibility` | String | Visibility of the project |
2020-11-24 15:15:51 +05:30
| `vulnerabilitySeveritiesCount` | VulnerabilitySeveritiesCount | Counts for each vulnerability severity in the project |
2020-03-13 15:44:24 +05:30
| `webUrl` | String | Web URL of the project |
2020-04-22 19:07:51 +05:30
| `wikiEnabled` | Boolean | Indicates if Wikis are enabled for the current user |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### ProjectMember
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Represents a Project Membership.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `accessLevel` | AccessLevel | GitLab::Access level |
| `createdAt` | Time | Date and time the membership was created |
| `createdBy` | User | User that authorized membership |
| `expiresAt` | Time | Date and time the membership expires |
| `id` | ID! | ID of the member |
| `project` | Project | Project that User is a member of |
| `updatedAt` | Time | Date and time the membership was last updated |
| `user` | User! | User that is associated with the member object |
| `userPermissions` | ProjectPermissions! | Permissions for the current user on the resource |
2020-11-24 15:15:51 +05:30
### ProjectPermissions
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `adminOperations` | Boolean! | Indicates the user can perform `admin_operations` on this resource |
| `adminProject` | Boolean! | Indicates the user can perform `admin_project` on this resource |
| `adminRemoteMirror` | Boolean! | Indicates the user can perform `admin_remote_mirror` on this resource |
| `adminWiki` | Boolean! | Indicates the user can perform `admin_wiki` on this resource |
| `archiveProject` | Boolean! | Indicates the user can perform `archive_project` on this resource |
| `changeNamespace` | Boolean! | Indicates the user can perform `change_namespace` on this resource |
| `changeVisibilityLevel` | Boolean! | Indicates the user can perform `change_visibility_level` on this resource |
| `createDeployment` | Boolean! | Indicates the user can perform `create_deployment` on this resource |
| `createDesign` | Boolean! | Indicates the user can perform `create_design` on this resource |
| `createIssue` | Boolean! | Indicates the user can perform `create_issue` on this resource |
| `createLabel` | Boolean! | Indicates the user can perform `create_label` on this resource |
| `createMergeRequestFrom` | Boolean! | Indicates the user can perform `create_merge_request_from` on this resource |
| `createMergeRequestIn` | Boolean! | Indicates the user can perform `create_merge_request_in` on this resource |
| `createPages` | Boolean! | Indicates the user can perform `create_pages` on this resource |
| `createPipeline` | Boolean! | Indicates the user can perform `create_pipeline` on this resource |
| `createPipelineSchedule` | Boolean! | Indicates the user can perform `create_pipeline_schedule` on this resource |
| `createSnippet` | Boolean! | Indicates the user can perform `create_snippet` on this resource |
| `createWiki` | Boolean! | Indicates the user can perform `create_wiki` on this resource |
| `destroyDesign` | Boolean! | Indicates the user can perform `destroy_design` on this resource |
| `destroyPages` | Boolean! | Indicates the user can perform `destroy_pages` on this resource |
| `destroyWiki` | Boolean! | Indicates the user can perform `destroy_wiki` on this resource |
| `downloadCode` | Boolean! | Indicates the user can perform `download_code` on this resource |
| `downloadWikiCode` | Boolean! | Indicates the user can perform `download_wiki_code` on this resource |
| `forkProject` | Boolean! | Indicates the user can perform `fork_project` on this resource |
| `pushCode` | Boolean! | Indicates the user can perform `push_code` on this resource |
| `pushToDeleteProtectedBranch` | Boolean! | Indicates the user can perform `push_to_delete_protected_branch` on this resource |
| `readCommitStatus` | Boolean! | Indicates the user can perform `read_commit_status` on this resource |
| `readCycleAnalytics` | Boolean! | Indicates the user can perform `read_cycle_analytics` on this resource |
| `readDesign` | Boolean! | Indicates the user can perform `read_design` on this resource |
| `readMergeRequest` | Boolean! | Indicates the user can perform `read_merge_request` on this resource |
| `readPagesContent` | Boolean! | Indicates the user can perform `read_pages_content` on this resource |
| `readProject` | Boolean! | Indicates the user can perform `read_project` on this resource |
| `readProjectMember` | Boolean! | Indicates the user can perform `read_project_member` on this resource |
| `readWiki` | Boolean! | Indicates the user can perform `read_wiki` on this resource |
| `removeForkProject` | Boolean! | Indicates the user can perform `remove_fork_project` on this resource |
| `removePages` | Boolean! | Indicates the user can perform `remove_pages` on this resource |
| `removeProject` | Boolean! | Indicates the user can perform `remove_project` on this resource |
| `renameProject` | Boolean! | Indicates the user can perform `rename_project` on this resource |
| `requestAccess` | Boolean! | Indicates the user can perform `request_access` on this resource |
| `updatePages` | Boolean! | Indicates the user can perform `update_pages` on this resource |
| `updateWiki` | Boolean! | Indicates the user can perform `update_wiki` on this resource |
| `uploadFile` | Boolean! | Indicates the user can perform `upload_file` on this resource |
2020-11-24 15:15:51 +05:30
### ProjectStatistics
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `buildArtifactsSize` | Float! | Build artifacts size of the project |
| `commitCount` | Float! | Commit count of the project |
| `lfsObjectsSize` | Float! | Large File Storage (LFS) object size of the project |
| `packagesSize` | Float! | Packages size of the project |
| `repositorySize` | Float! | Repository size of the project |
2020-07-28 23:09:34 +05:30
| `snippetsSize` | Float | Snippets size of the project |
2020-04-22 19:07:51 +05:30
| `storageSize` | Float! | Storage size of the project |
| `wikiSize` | Float | Wiki size of the project |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### PrometheusAlert
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
The alert condition for Prometheus.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `humanizedText` | String! | The human-readable text of the alert condition |
| `id` | ID! | ID of the alert condition |
2020-11-24 15:15:51 +05:30
### Release
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents a release.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `assets` | ReleaseAssets | Assets of the release |
2020-05-24 23:13:21 +05:30
| `author` | User | User that created the release |
| `commit` | Commit | The commit associated with the release |
| `createdAt` | Time | Timestamp of when the release was created |
| `description` | String | Description (also known as "release notes") of the release |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
2020-07-28 23:09:34 +05:30
| `links` | ReleaseLinks | Links of the release |
2020-05-24 23:13:21 +05:30
| `name` | String | Name of the release |
| `releasedAt` | Time | Timestamp of when the release was released |
2020-07-28 23:09:34 +05:30
| `tagName` | String | Name of the tag associated with the release |
2020-05-24 23:13:21 +05:30
| `tagPath` | String | Relative web path to the tag associated with the release |
2020-11-24 15:15:51 +05:30
| `upcomingRelease` | Boolean | Indicates the release is an upcoming release |
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
### ReleaseAssetLink
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Represents an asset link associated with a release.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `directAssetUrl` | String | Direct asset URL of the link |
2020-07-28 23:09:34 +05:30
| `external` | Boolean | Indicates the link points to an external resource |
| `id` | ID! | ID of the link |
| `linkType` | ReleaseAssetLinkType | Type of the link: `other`, `runbook`, `image`, `package`; defaults to `other` |
| `name` | String | Name of the link |
| `url` | String | URL of the link |
2020-11-24 15:15:51 +05:30
### ReleaseAssets
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
A container for all assets associated with a release.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `count` | Int | Number of assets of the release |
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
### ReleaseEvidence
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Evidence for a release.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `collectedAt` | Time | Timestamp when the evidence was collected |
| `filepath` | String | URL from where the evidence can be downloaded |
| `id` | ID! | ID of the evidence |
| `sha` | String | SHA1 ID of the evidence hash |
2020-11-24 15:15:51 +05:30
### ReleaseLinks
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `editUrl` | String | HTTP URL of the release's edit page |
| `issuesUrl` | String | HTTP URL of the issues page filtered by this release |
| `mergeRequestsUrl` | String | HTTP URL of the merge request page filtered by this release |
| `selfUrl` | String | HTTP URL of the release |
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
### ReleaseSource
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Represents the source code attached to a release in a particular format.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `format` | String | Format of the source |
| `url` | String | Download URL of the source |
2020-11-24 15:15:51 +05:30
### RemoveAwardEmojiPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of RemoveAwardEmoji.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `awardEmoji` | AwardEmoji | The award emoji after mutation |
2019-09-30 21:07:59 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### RemoveProjectFromSecurityDashboardPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of RemoveProjectFromSecurityDashboard.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### Repository
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `empty` | Boolean! | Indicates repository has no visible content |
| `exists` | Boolean! | Indicates a corresponding Git repository exists on disk |
2020-03-13 15:44:24 +05:30
| `rootRef` | String | Default branch of the repository |
2019-12-26 22:10:19 +05:30
| `tree` | Tree | Tree of the repository |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### Requirement
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Represents a requirement.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `author` | User! | Author of the requirement |
| `createdAt` | Time! | Timestamp of when the requirement was created |
| `id` | ID! | ID of the requirement |
| `iid` | ID! | Internal ID of the requirement |
2020-11-24 15:15:51 +05:30
| `lastTestReportState` | TestReportState | Latest requirement test report state |
2020-04-08 14:13:33 +05:30
| `project` | Project! | Project to which the requirement belongs |
| `state` | RequirementState! | State of the requirement |
| `title` | String | Title of the requirement |
| `updatedAt` | Time! | Timestamp of when the requirement was last updated |
| `userPermissions` | RequirementPermissions! | Permissions for the current user on the resource |
2020-11-24 15:15:51 +05:30
### RequirementPermissions
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
Check permissions for the current user on a requirement.
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `adminRequirement` | Boolean! | Indicates the user can perform `admin_requirement` on this resource |
| `createRequirement` | Boolean! | Indicates the user can perform `create_requirement` on this resource |
| `destroyRequirement` | Boolean! | Indicates the user can perform `destroy_requirement` on this resource |
| `readRequirement` | Boolean! | Indicates the user can perform `read_requirement` on this resource |
| `updateRequirement` | Boolean! | Indicates the user can perform `update_requirement` on this resource |
2020-11-24 15:15:51 +05:30
### RequirementStatesCount
2020-04-22 19:07:51 +05:30
Counts of requirements by their state.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `archived` | Int | Number of archived requirements |
| `opened` | Int | Number of opened requirements |
2020-11-24 15:15:51 +05:30
### RootStorageStatistics
2019-12-04 20:38:33 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `buildArtifactsSize` | Float! | The CI artifacts size in bytes |
| `lfsObjectsSize` | Float! | The LFS objects size in bytes |
| `packagesSize` | Float! | The packages size in bytes |
| `repositorySize` | Float! | The Git repository size in bytes |
2020-07-28 23:09:34 +05:30
| `snippetsSize` | Float! | The snippets size in bytes |
2020-04-22 19:07:51 +05:30
| `storageSize` | Float! | The total storage in bytes |
| `wikiSize` | Float! | The wiki size in bytes |
2019-12-04 20:38:33 +05:30
2020-11-24 15:15:51 +05:30
### RunDASTScanPayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of RunDASTScan.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `pipelineUrl` | String | URL of the pipeline that was created. |
2020-11-24 15:15:51 +05:30
### SastCiConfigurationAnalyzersEntity
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Represents an analyzer entity in SAST CI configuration.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
| `description` | String | Analyzer description that is displayed on the form |
| `enabled` | Boolean | Indicates whether an analyzer is enabled |
| `label` | String | Analyzer label used in the config UI |
| `name` | String | Name of the analyzer |
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
### SastCiConfigurationEntity
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Represents an entity in SAST CI configuration.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `defaultValue` | String | Default value that is used if value is empty. |
| `description` | String | Entity description that is displayed on the form. |
| `field` | String | CI keyword of entity. |
| `label` | String | Label for entity used in the form. |
2020-10-24 23:57:45 +05:30
| `size` | SastUiComponentSize | Size of the UI component. |
2020-07-28 23:09:34 +05:30
| `type` | String | Type of the field value. |
| `value` | String | Current value of the entity. |
2020-11-24 15:15:51 +05:30
### SastCiConfigurationOptionsEntity
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Represents an entity for options in SAST CI configuration.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `label` | String | Label of option entity. |
| `value` | String | Value of option entity. |
2020-11-24 15:15:51 +05:30
### ScannedResource
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Represents a resource scanned by a security scan.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `requestMethod` | String | The HTTP request method used to access the URL |
| `url` | String | The URL scanned by the scanner |
2020-11-24 15:15:51 +05:30
### SecurityReportSummary
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Represents summary of a security report.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `containerScanning` | SecurityReportSummarySection | Aggregated counts for the container_scanning scan |
2020-07-28 23:09:34 +05:30
| `coverageFuzzing` | SecurityReportSummarySection | Aggregated counts for the coverage_fuzzing scan |
2020-06-23 00:09:42 +05:30
| `dast` | SecurityReportSummarySection | Aggregated counts for the dast scan |
| `dependencyScanning` | SecurityReportSummarySection | Aggregated counts for the dependency_scanning scan |
| `sast` | SecurityReportSummarySection | Aggregated counts for the sast scan |
| `secretDetection` | SecurityReportSummarySection | Aggregated counts for the secret_detection scan |
2020-11-24 15:15:51 +05:30
### SecurityReportSummarySection
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Represents a section of a summary of a security report.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `scannedResourcesCount` | Int | Total number of scanned resources |
2020-07-28 23:09:34 +05:30
| `scannedResourcesCsvPath` | String | Path to download all the scanned resources in CSV format |
2020-06-23 00:09:42 +05:30
| `vulnerabilitiesCount` | Int | Total number of vulnerabilities |
2020-11-24 15:15:51 +05:30
### SecurityScanners
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Represents a list of security scanners.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `available` | SecurityScannerType! => Array | List of analyzers which are available for the project. |
| `enabled` | SecurityScannerType! => Array | List of analyzers which are enabled for the project. |
| `pipelineRun` | SecurityScannerType! => Array | List of analyzers which ran successfully in the latest pipeline. |
2020-11-24 15:15:51 +05:30
### SentryDetailedError
2020-03-13 15:44:24 +05:30
A Sentry error.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `count` | Int! | Count of occurrences |
| `culprit` | String! | Culprit of the error |
| `externalBaseUrl` | String! | External Base URL of the Sentry Instance |
| `externalUrl` | String! | External URL of the error |
| `firstReleaseLastCommit` | String | Commit the error was first seen |
2020-07-28 23:09:34 +05:30
| `firstReleaseShortVersion` | String | Release short version the error was first seen |
| `firstReleaseVersion` | String | Release version the error was first seen |
2020-03-13 15:44:24 +05:30
| `firstSeen` | Time! | Timestamp when the error was first seen |
| `frequency` | SentryErrorFrequency! => Array | Last 24hr stats of the error |
| `gitlabCommit` | String | GitLab commit SHA attributed to the Error based on the release version |
| `gitlabCommitPath` | String | Path to the GitLab page for the GitLab commit attributed to the error |
| `gitlabIssuePath` | String | URL of GitLab Issue |
2020-01-01 13:55:28 +05:30
| `id` | ID! | ID (global ID) of the error |
2020-03-13 15:44:24 +05:30
| `lastReleaseLastCommit` | String | Commit the error was last seen |
2020-07-28 23:09:34 +05:30
| `lastReleaseShortVersion` | String | Release short version the error was last seen |
| `lastReleaseVersion` | String | Release version the error was last seen |
2020-03-13 15:44:24 +05:30
| `lastSeen` | Time! | Timestamp when the error was last seen |
| `message` | String | Sentry metadata message of the error |
2020-01-01 13:55:28 +05:30
| `sentryId` | String! | ID (Sentry ID) of the error |
2020-03-13 15:44:24 +05:30
| `sentryProjectId` | ID! | ID of the project (Sentry project) |
| `sentryProjectName` | String! | Name of the project affected by the error |
| `sentryProjectSlug` | String! | Slug of the project affected by the error |
| `shortId` | String! | Short ID (Sentry ID) of the error |
| `status` | SentryErrorStatus! | Status of the error |
| `tags` | SentryErrorTags! | Tags associated with the Sentry Error |
2020-01-01 13:55:28 +05:30
| `title` | String! | Title of the error |
| `type` | String! | Type of the error |
| `userCount` | Int! | Count of users affected by the error |
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
### SentryError
2020-03-13 15:44:24 +05:30
A Sentry error. A simplified version of SentryDetailedError.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `count` | Int! | Count of occurrences |
2020-03-13 15:44:24 +05:30
| `culprit` | String! | Culprit of the error |
| `externalUrl` | String! | External URL of the error |
2020-01-01 13:55:28 +05:30
| `firstSeen` | Time! | Timestamp when the error was first seen |
2020-03-13 15:44:24 +05:30
| `frequency` | SentryErrorFrequency! => Array | Last 24hr stats of the error |
| `id` | ID! | ID (global ID) of the error |
2020-01-01 13:55:28 +05:30
| `lastSeen` | Time! | Timestamp when the error was last seen |
| `message` | String | Sentry metadata message of the error |
2020-03-13 15:44:24 +05:30
| `sentryId` | String! | ID (Sentry ID) of the error |
2020-01-01 13:55:28 +05:30
| `sentryProjectId` | ID! | ID of the project (Sentry project) |
| `sentryProjectName` | String! | Name of the project affected by the error |
| `sentryProjectSlug` | String! | Slug of the project affected by the error |
| `shortId` | String! | Short ID (Sentry ID) of the error |
| `status` | SentryErrorStatus! | Status of the error |
2020-03-13 15:44:24 +05:30
| `title` | String! | Title of the error |
| `type` | String! | Type of the error |
| `userCount` | Int! | Count of users affected by the error |
2020-11-24 15:15:51 +05:30
### SentryErrorCollection
2020-01-01 13:55:28 +05:30
2020-03-13 15:44:24 +05:30
An object containing a collection of Sentry errors, and a detailed error.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `detailedError` | SentryDetailedError | Detailed version of a Sentry error on the project |
| `errorStackTrace` | SentryErrorStackTrace | Stack Trace of Sentry Error |
| `errors` | SentryErrorConnection | Collection of Sentry Errors |
| `externalUrl` | String | External URL for Sentry |
2020-11-24 15:15:51 +05:30
### SentryErrorFrequency
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `count` | Int! | Count of errors received since the previously recorded time |
2020-03-13 15:44:24 +05:30
| `time` | Time! | Time the error frequency stats were recorded |
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
### SentryErrorStackTrace
2020-03-13 15:44:24 +05:30
An object containing a stack trace entry for a Sentry error.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `dateReceived` | String! | Time the stack trace was received by Sentry |
| `issueId` | String! | ID of the Sentry error |
| `stackTraceEntries` | SentryErrorStackTraceEntry! => Array | Stack trace entries for the Sentry error |
2020-11-24 15:15:51 +05:30
### SentryErrorStackTraceContext
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
An object context for a Sentry error stack trace.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `code` | String! | Code number of the context |
| `line` | Int! | Line number of the context |
2020-11-24 15:15:51 +05:30
### SentryErrorStackTraceEntry
2020-03-13 15:44:24 +05:30
An object containing a stack trace entry for a Sentry error.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `col` | String | Function in which the Sentry error occurred |
| `fileName` | String | File in which the Sentry error occurred |
| `function` | String | Function in which the Sentry error occurred |
| `line` | String | Function in which the Sentry error occurred |
| `traceContext` | SentryErrorStackTraceContext! => Array | Context of the Sentry error |
2020-11-24 15:15:51 +05:30
### SentryErrorTags
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
State of a Sentry error.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `level` | String | Severity level of the Sentry Error |
| `logger` | String | Logger of the Sentry Error |
2020-11-24 15:15:51 +05:30
### Snippet
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Represents a snippet entry.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `author` | User | The owner of the snippet |
2020-10-24 23:57:45 +05:30
| `blob` **{warning-solid}** | SnippetBlob! | **Deprecated:** Use `blobs`. Deprecated in 13.3 |
2020-06-23 00:09:42 +05:30
| `blobs` | SnippetBlob! => Array | Snippet blobs |
2020-01-01 13:55:28 +05:30
| `createdAt` | Time! | Timestamp this snippet was created |
2020-03-13 15:44:24 +05:30
| `description` | String | Description of the snippet |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `fileName` | String | File Name of the snippet |
2020-04-22 19:07:51 +05:30
| `httpUrlToRepo` | String | HTTP URL to the snippet repository |
2020-05-24 23:13:21 +05:30
| `id` | ID! | ID of the snippet |
2020-03-13 15:44:24 +05:30
| `project` | Project | The project the snippet is associated with |
| `rawUrl` | String! | Raw URL of the snippet |
2020-04-22 19:07:51 +05:30
| `sshUrlToRepo` | String | SSH URL to the snippet repository |
2020-03-13 15:44:24 +05:30
| `title` | String! | Title of the snippet |
2020-01-01 13:55:28 +05:30
| `updatedAt` | Time! | Timestamp this snippet was updated |
2020-03-13 15:44:24 +05:30
| `userPermissions` | SnippetPermissions! | Permissions for the current user on the resource |
| `visibilityLevel` | VisibilityLevelsEnum! | Visibility Level of the snippet |
2020-01-01 13:55:28 +05:30
| `webUrl` | String! | Web URL of the snippet |
2020-11-24 15:15:51 +05:30
### SnippetBlob
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Represents the snippet blob.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `binary` | Boolean! | Shows whether the blob is binary |
2020-05-24 23:13:21 +05:30
| `externalStorage` | String | Blob external storage |
2020-03-13 15:44:24 +05:30
| `mode` | String | Blob mode |
| `name` | String | Blob name |
| `path` | String | Blob path |
| `plainData` | String | Blob plain highlighted data |
| `rawPath` | String! | Blob raw content endpoint path |
2020-05-24 23:13:21 +05:30
| `renderedAsText` | Boolean! | Shows whether the blob is rendered as text |
2020-03-13 15:44:24 +05:30
| `richData` | String | Blob highlighted data |
| `richViewer` | SnippetBlobViewer | Blob content rich viewer |
| `simpleViewer` | SnippetBlobViewer! | Blob content simple viewer |
| `size` | Int! | Blob size |
2020-11-24 15:15:51 +05:30
### SnippetBlobViewer
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
Represents how the blob content should be displayed.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `collapsed` | Boolean! | Shows whether the blob should be displayed collapsed |
| `fileType` | String! | Content file type |
| `loadAsync` | Boolean! | Shows whether the blob content is loaded async |
| `loadingPartialName` | String! | Loading partial name |
| `renderError` | String | Error rendering the blob content |
| `tooLarge` | Boolean! | Shows whether the blob too large to be displayed |
| `type` | BlobViewersType! | Type of blob viewer |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### SnippetPermissions
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `adminSnippet` | Boolean! | Indicates the user can perform `admin_snippet` on this resource |
| `awardEmoji` | Boolean! | Indicates the user can perform `award_emoji` on this resource |
| `createNote` | Boolean! | Indicates the user can perform `create_note` on this resource |
| `readSnippet` | Boolean! | Indicates the user can perform `read_snippet` on this resource |
| `reportSnippet` | Boolean! | Indicates the user can perform `report_snippet` on this resource |
| `updateSnippet` | Boolean! | Indicates the user can perform `update_snippet` on this resource |
2020-11-24 15:15:51 +05:30
### Submodule
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `flatPath` | String! | Flat path of the entry |
| `id` | ID! | ID of the entry |
| `name` | String! | Name of the entry |
| `path` | String! | Path of the entry |
| `sha` | String! | Last commit sha for the entry |
| `treeUrl` | String | Tree URL for the sub-module |
| `type` | EntryType! | Type of tree entry |
| `webUrl` | String | Web URL for the sub-module |
2020-11-24 15:15:51 +05:30
### TaskCompletionStatus
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Completion status of tasks.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `completedCount` | Int! | Number of completed tasks |
2020-03-13 15:44:24 +05:30
| `count` | Int! | Number of total tasks |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### TerraformStateRegistry
Represents the sync and verification state of a terraform state.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `createdAt` | Time | Timestamp when the TerraformStateRegistry was created |
| `id` | ID! | ID of the TerraformStateRegistry |
| `lastSyncFailure` | String | Error message during sync of the TerraformStateRegistry |
| `lastSyncedAt` | Time | Timestamp of the most recent successful sync of the TerraformStateRegistry |
| `retryAt` | Time | Timestamp after which the TerraformStateRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the TerraformStateRegistry |
| `state` | RegistryState | Sync state of the TerraformStateRegistry |
| `terraformStateId` | ID! | ID of the TerraformState |
### TestReport
2020-06-23 00:09:42 +05:30
Represents a requirement test report.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `author` | User | Author of the test report |
| `createdAt` | Time! | Timestamp of when the test report was created |
| `id` | ID! | ID of the test report |
| `state` | TestReportState! | State of the test report |
2020-11-24 15:15:51 +05:30
### Timelog
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `date` **{warning-solid}** | Time! | **Deprecated:** Use `spentAt`. Deprecated in 12.10 |
2020-03-13 15:44:24 +05:30
| `issue` | Issue | The issue that logged time was added to |
2020-11-24 15:15:51 +05:30
| `note` | Note | The note where the quick action to add the logged time was executed |
2020-04-22 19:07:51 +05:30
| `spentAt` | Time | Timestamp of when the time tracked was spent at |
2020-01-01 13:55:28 +05:30
| `timeSpent` | Int! | The time spent displayed in seconds |
| `user` | User! | The user that logged the time |
2020-11-24 15:15:51 +05:30
### Todo
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Representing a todo entry.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `action` | TodoActionEnum! | Action of the todo |
2020-11-24 15:15:51 +05:30
| `author` | User! | The author of this todo |
2019-12-21 20:55:43 +05:30
| `body` | String! | Body of the todo |
| `createdAt` | Time! | Timestamp this todo was created |
2020-03-13 15:44:24 +05:30
| `group` | Group | Group this todo is associated with |
2020-05-24 23:13:21 +05:30
| `id` | ID! | ID of the todo |
2020-03-13 15:44:24 +05:30
| `project` | Project | The project this todo is associated with |
| `state` | TodoStateEnum! | State of the todo |
| `targetType` | TodoTargetEnum! | Target type of the todo |
2020-11-24 15:15:51 +05:30
### TodoMarkDonePayload
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of TodoMarkDone.
2019-12-26 22:10:19 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-26 22:10:19 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-26 22:10:19 +05:30
| `todo` | Todo! | The requested todo |
2020-11-24 15:15:51 +05:30
### TodoRestoreManyPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of TodoRestoreMany.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-07-28 23:09:34 +05:30
| `todos` | Todo! => Array | Updated todos |
| `updatedIds` **{warning-solid}** | ID! => Array | **Deprecated:** Use todos. Deprecated in 13.2 |
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
### TodoRestorePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of TodoRestore.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `todo` | Todo! | The requested todo |
2020-11-24 15:15:51 +05:30
### TodosMarkAllDonePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of TodosMarkAllDone.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-07-28 23:09:34 +05:30
| `todos` | Todo! => Array | Updated todos |
| `updatedIds` **{warning-solid}** | ID! => Array | **Deprecated:** Use todos. Deprecated in 13.2 |
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
### ToggleAwardEmojiPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of ToggleAwardEmoji.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `awardEmoji` | AwardEmoji | The award emoji after mutation |
2019-09-30 21:07:59 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-03-13 15:44:24 +05:30
| `toggledOn` | Boolean! | Indicates the status of the emoji. True if the toggle awarded the emoji, and false if the toggle removed the emoji. |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### Tree
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `lastCommit` | Commit | Last commit for the tree |
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
### TreeEntry
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Represents a directory.
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `flatPath` | String! | Flat path of the entry |
| `id` | ID! | ID of the entry |
| `name` | String! | Name of the entry |
| `path` | String! | Path of the entry |
| `sha` | String! | Last commit sha for the entry |
| `type` | EntryType! | Type of tree entry |
2020-10-24 23:57:45 +05:30
| `webPath` | String | Web path for the tree entry (directory) |
2020-03-13 15:44:24 +05:30
| `webUrl` | String | Web URL for the tree entry (directory) |
2020-11-24 15:15:51 +05:30
### UpdateAlertStatusPayload
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateAlertStatus.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `alert` | AlertManagementAlert | The alert after mutation |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `issue` | Issue | The issue created after mutation |
2020-07-28 23:09:34 +05:30
| `todo` | Todo | The todo after mutation |
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
### UpdateBoardListPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateBoardList.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `list` | BoardList | Mutated list |
2020-11-24 15:15:51 +05:30
### UpdateBoardPayload
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateBoard.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `board` | Board | The board after mutation. |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### UpdateContainerExpirationPolicyPayload
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateContainerExpirationPolicy.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `containerExpirationPolicy` | ContainerExpirationPolicy | The container expiration policy after mutation |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-11-24 15:15:51 +05:30
### UpdateEpicPayload
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateEpic.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `epic` | Epic | The epic after mutation |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
### UpdateImageDiffNotePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateImageDiffNote.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-03-13 15:44:24 +05:30
| `note` | Note | The note after mutation |
2020-11-24 15:15:51 +05:30
### UpdateIssuePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateIssue.
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-03-13 15:44:24 +05:30
| `issue` | Issue | The issue after mutation |
2020-11-24 15:15:51 +05:30
### UpdateIterationPayload
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateIteration.
2020-07-28 23:09:34 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `iteration` | Iteration | The updated iteration |
2020-11-24 15:15:51 +05:30
### UpdateNotePayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateNote.
2019-12-21 20:55:43 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2019-12-21 20:55:43 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2019-12-21 20:55:43 +05:30
| `note` | Note | The note after mutation |
2020-11-24 15:15:51 +05:30
### UpdateRequirementPayload
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateRequirement.
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-04-22 19:07:51 +05:30
| `requirement` | Requirement | The requirement after mutation |
2020-11-24 15:15:51 +05:30
### UpdateSnippetPayload
2020-03-13 15:44:24 +05:30
2020-11-24 15:15:51 +05:30
Autogenerated return type of UpdateSnippet.
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-01-01 13:55:28 +05:30
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
2020-05-24 23:13:21 +05:30
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
2020-01-01 13:55:28 +05:30
| `snippet` | Snippet | The snippet after mutation |
2020-11-24 15:15:51 +05:30
### User
2019-09-30 21:07:59 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `avatarUrl` | String | URL of the user's avatar |
2020-10-24 23:57:45 +05:30
| `email` | String | User email |
2020-05-24 23:13:21 +05:30
| `id` | ID! | ID of the user |
2019-12-26 22:10:19 +05:30
| `name` | String! | Human-readable name of the user |
2020-06-23 00:09:42 +05:30
| `state` | UserState! | State of the user |
2020-10-24 23:57:45 +05:30
| `status` | UserStatus | User status |
2020-03-13 15:44:24 +05:30
| `userPermissions` | UserPermissions! | Permissions for the current user on the resource |
2019-12-26 22:10:19 +05:30
| `username` | String! | Username of the user. Unique within this instance of GitLab |
2020-10-24 23:57:45 +05:30
| `webPath` | String! | Web path of the user |
2019-12-26 22:10:19 +05:30
| `webUrl` | String! | Web URL of the user |
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
### UserPermissions
2020-01-01 13:55:28 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-03-13 15:44:24 +05:30
| `createSnippet` | Boolean! | Indicates the user can perform `create_snippet` on this resource |
2020-04-08 14:13:33 +05:30
2020-11-24 15:15:51 +05:30
### UserStatus
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `emoji` | String | String representation of emoji |
| `message` | String | User status message |
| `messageHtml` | String | HTML of the user status message |
2020-11-24 15:15:51 +05:30
### VulnerabilitiesCountByDay
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Represents the count of vulnerabilities by severity on a particular day.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `critical` | Int! | Total number of vulnerabilities on a particular day with critical severity |
| `date` | ISO8601Date! | Date for the count |
| `high` | Int! | Total number of vulnerabilities on a particular day with high severity |
| `info` | Int! | Total number of vulnerabilities on a particular day with info severity |
| `low` | Int! | Total number of vulnerabilities on a particular day with low severity |
| `medium` | Int! | Total number of vulnerabilities on a particular day with medium severity |
| `total` | Int! | Total number of vulnerabilities on a particular day |
| `unknown` | Int! | Total number of vulnerabilities on a particular day with unknown severity |
2020-11-24 15:15:51 +05:30
### VulnerabilitiesCountByDayAndSeverity
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents the number of vulnerabilities for a particular severity on a particular day.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `count` | Int | Number of vulnerabilities |
| `day` | ISO8601Date | Date for the count |
| `severity` | VulnerabilitySeverity | Severity of the counted vulnerabilities |
2020-11-24 15:15:51 +05:30
### Vulnerability
2020-04-08 14:13:33 +05:30
Represents a vulnerability.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-08 14:13:33 +05:30
| `description` | String | Description of the vulnerability |
2020-11-24 15:15:51 +05:30
| `detectedAt` | Time! | Timestamp of when the vulnerability was first detected |
2020-04-08 14:13:33 +05:30
| `id` | ID! | GraphQL ID of the vulnerability |
2020-07-28 23:09:34 +05:30
| `identifiers` | VulnerabilityIdentifier! => Array | Identifiers of the vulnerability. |
2020-05-24 23:13:21 +05:30
| `location` | VulnerabilityLocation | Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability |
2020-07-28 23:09:34 +05:30
| `primaryIdentifier` | VulnerabilityIdentifier | Primary identifier of the vulnerability. |
2020-04-22 19:07:51 +05:30
| `project` | Project | The project on which the vulnerability was found |
2020-07-28 23:09:34 +05:30
| `reportType` | VulnerabilityReportType | Type of the security report that found the vulnerability (SAST, DEPENDENCY_SCANNING, CONTAINER_SCANNING, DAST, SECRET_DETECTION, COVERAGE_FUZZING) |
2020-10-24 23:57:45 +05:30
| `resolvedOnDefaultBranch` | Boolean! | Indicates whether the vulnerability is fixed on the default branch or not |
2020-07-28 23:09:34 +05:30
| `scanner` | VulnerabilityScanner | Scanner metadata for the vulnerability. |
2020-04-08 14:13:33 +05:30
| `severity` | VulnerabilitySeverity | Severity of the vulnerability (INFO, UNKNOWN, LOW, MEDIUM, HIGH, CRITICAL) |
| `state` | VulnerabilityState | State of the vulnerability (DETECTED, DISMISSED, RESOLVED, CONFIRMED) |
| `title` | String | Title of the vulnerability |
2020-06-23 00:09:42 +05:30
| `userNotesCount` | Int! | Number of user notes attached to the vulnerability |
2020-04-22 19:07:51 +05:30
| `userPermissions` | VulnerabilityPermissions! | Permissions for the current user on the resource |
2020-04-08 14:13:33 +05:30
| `vulnerabilityPath` | String | URL to the vulnerability's details page |
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
### VulnerabilityIdentifier
2020-07-28 23:09:34 +05:30
Represents a vulnerability identifier.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `externalId` | String | External ID of the vulnerability identifier |
| `externalType` | String | External type of the vulnerability identifier |
| `name` | String | Name of the vulnerability identifier |
| `url` | String | URL of the vulnerability identifier |
2020-11-24 15:15:51 +05:30
### VulnerabilityIssueLink
2020-06-23 00:09:42 +05:30
Represents an issue link of a vulnerability.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `id` | ID! | GraphQL ID of the vulnerability |
| `issue` | Issue! | The issue attached to issue link |
| `linkType` | VulnerabilityIssueLinkType! | Type of the issue link |
2020-11-24 15:15:51 +05:30
### VulnerabilityLocationContainerScanning
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents the location of a vulnerability found by a container security scan.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `dependency` | VulnerableDependency | Dependency containing the vulnerability |
| `image` | String | Name of the vulnerable container image |
| `operatingSystem` | String | Operating system that runs on the vulnerable container image |
2020-11-24 15:15:51 +05:30
### VulnerabilityLocationCoverageFuzzing
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Represents the location of a vulnerability found by a Coverage Fuzzing scan.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `endLine` | String | Number of the last relevant line in the vulnerable file |
| `file` | String | Path to the vulnerable file |
| `startLine` | String | Number of the first relevant line in the vulnerable file |
| `vulnerableClass` | String | Class containing the vulnerability |
| `vulnerableMethod` | String | Method containing the vulnerability |
2020-11-24 15:15:51 +05:30
### VulnerabilityLocationDast
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents the location of a vulnerability found by a DAST scan.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `hostname` | String | Domain name of the vulnerable request |
| `param` | String | Query parameter for the URL on which the vulnerability occurred |
| `path` | String | URL path and query string of the vulnerable request |
| `requestMethod` | String | HTTP method of the vulnerable request |
2020-11-24 15:15:51 +05:30
### VulnerabilityLocationDependencyScanning
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents the location of a vulnerability found by a dependency security scan.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `dependency` | VulnerableDependency | Dependency containing the vulnerability |
| `file` | String | Path to the vulnerable file |
2020-11-24 15:15:51 +05:30
### VulnerabilityLocationSast
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents the location of a vulnerability found by a SAST scan.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `endLine` | String | Number of the last relevant line in the vulnerable file |
| `file` | String | Path to the vulnerable file |
| `startLine` | String | Number of the first relevant line in the vulnerable file |
| `vulnerableClass` | String | Class containing the vulnerability |
| `vulnerableMethod` | String | Method containing the vulnerability |
2020-11-24 15:15:51 +05:30
### VulnerabilityLocationSecretDetection
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
Represents the location of a vulnerability found by a secret detection scan.
2020-06-23 00:09:42 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-06-23 00:09:42 +05:30
| `endLine` | String | Number of the last relevant line in the vulnerable file |
| `file` | String | Path to the vulnerable file |
| `startLine` | String | Number of the first relevant line in the vulnerable file |
| `vulnerableClass` | String | Class containing the vulnerability |
| `vulnerableMethod` | String | Method containing the vulnerability |
2020-11-24 15:15:51 +05:30
### VulnerabilityPermissions
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
Check permissions for the current user on a vulnerability.
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `adminVulnerability` | Boolean! | Indicates the user can perform `admin_vulnerability` on this resource |
| `adminVulnerabilityIssueLink` | Boolean! | Indicates the user can perform `admin_vulnerability_issue_link` on this resource |
| `createVulnerability` | Boolean! | Indicates the user can perform `create_vulnerability` on this resource |
| `createVulnerabilityExport` | Boolean! | Indicates the user can perform `create_vulnerability_export` on this resource |
| `createVulnerabilityFeedback` | Boolean! | Indicates the user can perform `create_vulnerability_feedback` on this resource |
| `destroyVulnerabilityFeedback` | Boolean! | Indicates the user can perform `destroy_vulnerability_feedback` on this resource |
| `readVulnerabilityFeedback` | Boolean! | Indicates the user can perform `read_vulnerability_feedback` on this resource |
| `updateVulnerabilityFeedback` | Boolean! | Indicates the user can perform `update_vulnerability_feedback` on this resource |
2020-11-24 15:15:51 +05:30
### VulnerabilityResolvePayload
Autogenerated return type of VulnerabilityResolve.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `vulnerability` | Vulnerability | The vulnerability after state change |
### VulnerabilityScanner
2020-07-28 23:09:34 +05:30
Represents a vulnerability scanner.
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-07-28 23:09:34 +05:30
| `externalId` | String | External ID of the vulnerability scanner |
| `name` | String | Name of the vulnerability scanner |
| `reportType` | VulnerabilityReportType | Type of the vulnerability report |
| `vendor` | String | Vendor of the vulnerability scanner |
2020-11-24 15:15:51 +05:30
### VulnerabilitySeveritiesCount
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
Represents vulnerability counts by severity.
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-04-22 19:07:51 +05:30
| `critical` | Int | Number of vulnerabilities of CRITICAL severity of the project |
| `high` | Int | Number of vulnerabilities of HIGH severity of the project |
| `info` | Int | Number of vulnerabilities of INFO severity of the project |
| `low` | Int | Number of vulnerabilities of LOW severity of the project |
| `medium` | Int | Number of vulnerabilities of MEDIUM severity of the project |
| `unknown` | Int | Number of vulnerabilities of UNKNOWN severity of the project |
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
### VulnerableDependency
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents a vulnerable dependency. Used in vulnerability location data.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `package` | VulnerablePackage | The package associated with the vulnerable dependency |
| `version` | String | The version of the vulnerable dependency |
2020-11-24 15:15:51 +05:30
### VulnerablePackage
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
Represents a vulnerable package. Used in vulnerability dependency data.
2020-05-24 23:13:21 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-05-24 23:13:21 +05:30
| `name` | String | The name of the vulnerable package |
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
### VulnerableProjectsByGrade
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
Represents vulnerability letter grades with associated projects.
2020-10-24 23:57:45 +05:30
2020-11-24 15:15:51 +05:30
| Field | Type | Description |
| ----- | ---- | ----------- |
2020-10-24 23:57:45 +05:30
| `count` | Int! | Number of projects within this grade |
| `grade` | VulnerabilityGrade! | Grade based on the highest severity vulnerability present |
2020-11-24 15:15:51 +05:30
## Enumeration types
Also called _Enums_, enumeration types are a special kind of scalar that
is restricted to a particular set of allowed values.
For more information, see
[Enumeration Types](https://graphql.org/learn/schema/#enumeration-types)
on `graphql.org`.
### AccessLevelEnum
Access level to a resource.
| Value | Description |
| ----- | ----------- |
| `DEVELOPER` | |
| `GUEST` | |
| `MAINTAINER` | |
| `NO_ACCESS` | |
| `OWNER` | |
| `REPORTER` | |
### AlertManagementAlertSort
Values for sorting alerts.
| Value | Description |
| ----- | ----------- |
| `CREATED_TIME_ASC` | Created time by ascending order |
| `CREATED_TIME_DESC` | Created time by descending order |
| `ENDED_AT_ASC` | End time by ascending order |
| `ENDED_AT_DESC` | End time by descending order |
| `EVENT_COUNT_ASC` | Events count by ascending order |
| `EVENT_COUNT_DESC` | Events count by descending order |
| `SEVERITY_ASC` | Severity from less critical to more critical |
| `SEVERITY_DESC` | Severity from more critical to less critical |
| `STARTED_AT_ASC` | Start time by ascending order |
| `STARTED_AT_DESC` | Start time by descending order |
| `STATUS_ASC` | Status by order: Ignored > Resolved > Acknowledged > Triggered |
| `STATUS_DESC` | Status by order: Triggered > Acknowledged > Resolved > Ignored |
| `UPDATED_TIME_ASC` | Created time by ascending order |
| `UPDATED_TIME_DESC` | Created time by descending order |
| `created_asc` | Created at ascending order |
| `created_desc` | Created at descending order |
| `updated_asc` | Updated at ascending order |
| `updated_desc` | Updated at descending order |
### AlertManagementSeverity
Alert severity values.
| Value | Description |
| ----- | ----------- |
| `CRITICAL` | Critical severity |
| `HIGH` | High severity |
| `INFO` | Info severity |
| `LOW` | Low severity |
| `MEDIUM` | Medium severity |
| `UNKNOWN` | Unknown severity |
### AlertManagementStatus
Alert status values.
| Value | Description |
| ----- | ----------- |
| `ACKNOWLEDGED` | Acknowledged status |
| `IGNORED` | Ignored status |
| `RESOLVED` | Resolved status |
| `TRIGGERED` | Triggered status |
### BlobViewersType
Types of blob viewers.
| Value | Description |
| ----- | ----------- |
| `auxiliary` | |
| `rich` | |
| `simple` | |
### CommitActionMode
Mode of a commit action.
| Value | Description |
| ----- | ----------- |
| `CHMOD` | Chmod command |
| `CREATE` | Create command |
| `DELETE` | Delete command |
| `MOVE` | Move command |
| `UPDATE` | Update command |
### CommitEncoding
| Value | Description |
| ----- | ----------- |
| `BASE64` | Base64 encoding |
| `TEXT` | Text encoding |
### ContainerExpirationPolicyCadenceEnum
| Value | Description |
| ----- | ----------- |
| `EVERY_DAY` | Every day |
| `EVERY_MONTH` | Every month |
| `EVERY_THREE_MONTHS` | Every three months |
| `EVERY_TWO_WEEKS` | Every two weeks |
| `EVERY_WEEK` | Every week |
### ContainerExpirationPolicyKeepEnum
| Value | Description |
| ----- | ----------- |
| `FIFTY_TAGS` | 50 tags per image name |
| `FIVE_TAGS` | 5 tags per image name |
| `ONE_HUNDRED_TAGS` | 100 tags per image name |
| `ONE_TAG` | 1 tag per image name |
| `TEN_TAGS` | 10 tags per image name |
| `TWENTY_FIVE_TAGS` | 25 tags per image name |
### ContainerExpirationPolicyOlderThanEnum
| Value | Description |
| ----- | ----------- |
| `FOURTEEN_DAYS` | 14 days until tags are automatically removed |
| `NINETY_DAYS` | 90 days until tags are automatically removed |
| `SEVEN_DAYS` | 7 days until tags are automatically removed |
| `THIRTY_DAYS` | 30 days until tags are automatically removed |
### DastScanTypeEnum
| Value | Description |
| ----- | ----------- |
| `PASSIVE` | Passive DAST scan. This scan will not make active attacks against the target site. |
### DastSiteProfileValidationStatusEnum
| Value | Description |
| ----- | ----------- |
| `FAILED_VALIDATION` | Site validation process finished but failed |
| `INPROGRESS_VALIDATION` | Site validation process is in progress |
| `PASSED_VALIDATION` | Site validation process finished successfully |
| `PENDING_VALIDATION` | Site validation process has not started |
### DesignVersionEvent
Mutation event of a design within a version.
| Value | Description |
| ----- | ----------- |
| `CREATION` | A creation event |
| `DELETION` | A deletion event |
| `MODIFICATION` | A modification event |
| `NONE` | No change |
### DiffPositionType
Type of file the position refers to.
| Value | Description |
| ----- | ----------- |
| `image` | |
| `text` | |
### EntryType
Type of a tree entry.
| Value | Description |
| ----- | ----------- |
| `blob` | |
| `commit` | |
| `tree` | |
### EpicSort
Roadmap sort values.
| Value | Description |
| ----- | ----------- |
| `end_date_asc` | End date at ascending order |
| `end_date_desc` | End date at descending order |
| `start_date_asc` | Start date at ascending order |
| `start_date_desc` | Start date at descending order |
### EpicState
State of an epic.
| Value | Description |
| ----- | ----------- |
| `all` | |
| `closed` | |
| `opened` | |
### EpicStateEvent
State event of an epic.
| Value | Description |
| ----- | ----------- |
| `CLOSE` | Close the epic |
| `REOPEN` | Reopen the epic |
### EpicWildcardId
Epic ID wildcard values.
| Value | Description |
| ----- | ----------- |
| `ANY` | Any epic is assigned |
| `NONE` | No epic is assigned |
### HealthStatus
Health status of an issue or epic.
| Value | Description |
| ----- | ----------- |
| `atRisk` | |
| `needsAttention` | |
| `onTrack` | |
### IssuableSeverity
Incident severity.
| Value | Description |
| ----- | ----------- |
| `CRITICAL` | Critical severity |
| `HIGH` | High severity |
| `LOW` | Low severity |
| `MEDIUM` | Medium severity |
| `UNKNOWN` | Unknown severity |
### IssuableState
State of a GitLab issue or merge request.
| Value | Description |
| ----- | ----------- |
| `all` | |
| `closed` | |
| `locked` | |
| `opened` | |
### IssueSort
Values for sorting issues.
| Value | Description |
| ----- | ----------- |
| `DUE_DATE_ASC` | Due date by ascending order |
| `DUE_DATE_DESC` | Due date by descending order |
| `LABEL_PRIORITY_ASC` | Label priority by ascending order |
| `LABEL_PRIORITY_DESC` | Label priority by descending order |
| `MILESTONE_DUE_ASC` | Milestone due date by ascending order |
| `MILESTONE_DUE_DESC` | Milestone due date by descending order |
| `PRIORITY_ASC` | Priority by ascending order |
| `PRIORITY_DESC` | Priority by descending order |
| `RELATIVE_POSITION_ASC` | Relative position by ascending order |
| `WEIGHT_ASC` | Weight by ascending order |
| `WEIGHT_DESC` | Weight by descending order |
| `created_asc` | Created at ascending order |
| `created_desc` | Created at descending order |
| `updated_asc` | Updated at ascending order |
| `updated_desc` | Updated at descending order |
### IssueState
State of a GitLab issue.
| Value | Description |
| ----- | ----------- |
| `all` | |
| `closed` | |
| `locked` | |
| `opened` | |
### IssueType
Issue type.
| Value | Description |
| ----- | ----------- |
| `INCIDENT` | Incident issue type |
| `ISSUE` | Issue issue type |
| `TEST_CASE` | Test Case issue type |
### IterationState
State of a GitLab iteration.
| Value | Description |
| ----- | ----------- |
| `all` | |
| `closed` | |
| `opened` | |
| `started` | |
| `upcoming` | |
### ListLimitMetric
List limit metric setting.
| Value | Description |
| ----- | ----------- |
| `all_metrics` | |
| `issue_count` | |
| `issue_weights` | |
### MeasurementIdentifier
Possible identifier types for a measurement.
| Value | Description |
| ----- | ----------- |
| `GROUPS` | Group count |
| `ISSUES` | Issue count |
| `MERGE_REQUESTS` | Merge request count |
| `PIPELINES` | Pipeline count |
| `PROJECTS` | Project count |
| `USERS` | User count |
### MergeRequestSort
Values for sorting merge requests.
| Value | Description |
| ----- | ----------- |
| `LABEL_PRIORITY_ASC` | Label priority by ascending order |
| `LABEL_PRIORITY_DESC` | Label priority by descending order |
| `MERGED_AT_ASC` | Merge time by ascending order |
| `MERGED_AT_DESC` | Merge time by descending order |
| `MILESTONE_DUE_ASC` | Milestone due date by ascending order |
| `MILESTONE_DUE_DESC` | Milestone due date by descending order |
| `PRIORITY_ASC` | Priority by ascending order |
| `PRIORITY_DESC` | Priority by descending order |
| `created_asc` | Created at ascending order |
| `created_desc` | Created at descending order |
| `updated_asc` | Updated at ascending order |
| `updated_desc` | Updated at descending order |
### MergeRequestState
State of a GitLab merge request.
| Value | Description |
| ----- | ----------- |
| `all` | |
| `closed` | |
| `locked` | |
| `merged` | |
| `opened` | |
### MilestoneStateEnum
| Value | Description |
| ----- | ----------- |
| `active` | |
| `closed` | |
### MoveType
The position to which the adjacent object should be moved.
| Value | Description |
| ----- | ----------- |
| `after` | The adjacent object will be moved after the object that is being moved |
| `before` | The adjacent object will be moved before the object that is being moved |
### MutationOperationMode
Different toggles for changing mutator behavior.
| Value | Description |
| ----- | ----------- |
| `APPEND` | Performs an append operation |
| `REMOVE` | Performs a removal operation |
| `REPLACE` | Performs a replace operation |
### NamespaceProjectSort
Values for sorting projects.
| Value | Description |
| ----- | ----------- |
| `SIMILARITY` | Most similar to the search query |
### PackageTypeEnum
| Value | Description |
| ----- | ----------- |
| `COMPOSER` | Packages from the composer package manager |
| `CONAN` | Packages from the conan package manager |
| `GENERIC` | Packages from the generic package manager |
| `MAVEN` | Packages from the maven package manager |
| `NPM` | Packages from the npm package manager |
| `NUGET` | Packages from the nuget package manager |
| `PYPI` | Packages from the pypi package manager |
### PipelineConfigSourceEnum
| Value | Description |
| ----- | ----------- |
| `AUTO_DEVOPS_SOURCE` | |
| `BRIDGE_SOURCE` | |
| `EXTERNAL_PROJECT_SOURCE` | |
| `PARAMETER_SOURCE` | |
| `REMOTE_SOURCE` | |
| `REPOSITORY_SOURCE` | |
| `UNKNOWN_SOURCE` | |
| `WEBIDE_SOURCE` | |
### PipelineStatusEnum
| Value | Description |
| ----- | ----------- |
| `CANCELED` | |
| `CREATED` | |
| `FAILED` | |
| `MANUAL` | |
| `PENDING` | |
| `PREPARING` | |
| `RUNNING` | |
| `SCHEDULED` | |
| `SKIPPED` | |
| `SUCCESS` | |
| `WAITING_FOR_RESOURCE` | |
### ProjectSettingEnum
Names of compliance frameworks that can be assigned to a Project.
| Value | Description |
| ----- | ----------- |
| `gdpr` | |
| `hipaa` | |
| `pci_dss` | |
| `soc_2` | |
| `sox` | |
### RegistryState
State of a Geo registry.
| Value | Description |
| ----- | ----------- |
| `FAILED` | Registry that failed to sync |
| `PENDING` | Registry waiting to be synced |
| `STARTED` | Registry currently syncing |
| `SYNCED` | Registry that is synced |
### ReleaseAssetLinkType
Type of the link: `other`, `runbook`, `image`, `package`; defaults to `other`.
| Value | Description |
| ----- | ----------- |
| `IMAGE` | Image link type |
| `OTHER` | Other link type |
| `PACKAGE` | Package link type |
| `RUNBOOK` | Runbook link type |
### RequirementState
State of a requirement.
| Value | Description |
| ----- | ----------- |
| `ARCHIVED` | |
| `OPENED` | |
### SastUiComponentSize
Size of UI component in SAST configuration page.
| Value | Description |
| ----- | ----------- |
| `LARGE` | |
| `MEDIUM` | |
| `SMALL` | |
### SecurityScannerType
The type of the security scanner.
| Value | Description |
| ----- | ----------- |
| `CONTAINER_SCANNING` | |
| `COVERAGE_FUZZING` | |
| `DAST` | |
| `DEPENDENCY_SCANNING` | |
| `SAST` | |
| `SECRET_DETECTION` | |
### SentryErrorStatus
State of a Sentry error.
| Value | Description |
| ----- | ----------- |
| `IGNORED` | Error has been ignored |
| `RESOLVED` | Error has been resolved |
| `RESOLVED_IN_NEXT_RELEASE` | Error has been ignored until next release |
| `UNRESOLVED` | Error is unresolved |
### ServiceType
| Value | Description |
| ----- | ----------- |
| `ALERTS_SERVICE` | |
| `ASANA_SERVICE` | |
| `ASSEMBLA_SERVICE` | |
| `BAMBOO_SERVICE` | |
| `BUGZILLA_SERVICE` | |
| `BUILDKITE_SERVICE` | |
| `CAMPFIRE_SERVICE` | |
| `CONFLUENCE_SERVICE` | |
| `CUSTOM_ISSUE_TRACKER_SERVICE` | |
| `DISCORD_SERVICE` | |
| `DRONE_CI_SERVICE` | |
| `EMAILS_ON_PUSH_SERVICE` | |
| `EWM_SERVICE` | |
| `EXTERNAL_WIKI_SERVICE` | |
| `FLOWDOCK_SERVICE` | |
| `GITHUB_SERVICE` | |
| `HANGOUTS_CHAT_SERVICE` | |
| `HIPCHAT_SERVICE` | |
| `IRKER_SERVICE` | |
| `JENKINS_SERVICE` | |
| `JIRA_SERVICE` | |
| `MATTERMOST_SERVICE` | |
| `MATTERMOST_SLASH_COMMANDS_SERVICE` | |
| `MICROSOFT_TEAMS_SERVICE` | |
| `PACKAGIST_SERVICE` | |
| `PIPELINES_EMAIL_SERVICE` | |
| `PIVOTALTRACKER_SERVICE` | |
| `PROMETHEUS_SERVICE` | |
| `PUSHOVER_SERVICE` | |
| `REDMINE_SERVICE` | |
| `SLACK_SERVICE` | |
| `SLACK_SLASH_COMMANDS_SERVICE` | |
| `TEAMCITY_SERVICE` | |
| `UNIFY_CIRCUIT_SERVICE` | |
| `WEBEX_TEAMS_SERVICE` | |
| `YOUTRACK_SERVICE` | |
### SnippetBlobActionEnum
Type of a snippet blob input action.
| Value | Description |
| ----- | ----------- |
| `create` | |
| `delete` | |
| `move` | |
| `update` | |
### Sort
Common sort values.
| Value | Description |
| ----- | ----------- |
| `created_asc` | Created at ascending order |
| `created_desc` | Created at descending order |
| `updated_asc` | Updated at ascending order |
| `updated_desc` | Updated at descending order |
### TestReportState
State of a test report.
| Value | Description |
| ----- | ----------- |
| `FAILED` | |
| `PASSED` | |
### TodoActionEnum
| Value | Description |
| ----- | ----------- |
| `approval_required` | |
| `assigned` | |
| `build_failed` | |
| `directly_addressed` | |
| `marked` | |
| `mentioned` | |
| `unmergeable` | |
### TodoStateEnum
| Value | Description |
| ----- | ----------- |
| `done` | |
| `pending` | |
### TodoTargetEnum
| Value | Description |
| ----- | ----------- |
| `ALERT` | An Alert |
| `COMMIT` | A Commit |
| `DESIGN` | A Design |
| `EPIC` | An Epic |
| `ISSUE` | An Issue |
| `MERGEREQUEST` | A MergeRequest |
### TypeEnum
| Value | Description |
| ----- | ----------- |
| `personal` | |
| `project` | |
### UserState
Possible states of a user.
| Value | Description |
| ----- | ----------- |
| `active` | The user is active and is able to use the system |
| `blocked` | The user has been blocked and is prevented from using the system |
| `deactivated` | The user is no longer active and is unable to use the system |
### VisibilityLevelsEnum
| Value | Description |
| ----- | ----------- |
| `internal` | |
| `private` | |
| `public` | |
### VisibilityScopesEnum
| Value | Description |
| ----- | ----------- |
| `internal` | |
| `private` | |
| `public` | |
### VulnerabilityGrade
The grade of the vulnerable project.
| Value | Description |
| ----- | ----------- |
| `A` | |
| `B` | |
| `C` | |
| `D` | |
| `F` | |
### VulnerabilityIssueLinkType
The type of the issue link related to a vulnerability.
| Value | Description |
| ----- | ----------- |
| `CREATED` | |
| `RELATED` | |
### VulnerabilityReportType
The type of the security scan that found the vulnerability.
| Value | Description |
| ----- | ----------- |
| `CONTAINER_SCANNING` | |
| `COVERAGE_FUZZING` | |
| `DAST` | |
| `DEPENDENCY_SCANNING` | |
| `SAST` | |
| `SECRET_DETECTION` | |
### VulnerabilitySeverity
The severity of the vulnerability.
| Value | Description |
| ----- | ----------- |
| `CRITICAL` | |
| `HIGH` | |
| `INFO` | |
| `LOW` | |
| `MEDIUM` | |
| `UNKNOWN` | |
### VulnerabilitySort
Vulnerability sort values.
| Value | Description |
| ----- | ----------- |
| `severity_asc` | Severity in ascending order |
| `severity_desc` | Severity in descending order |
### VulnerabilityState
The state of the vulnerability.
| Value | Description |
| ----- | ----------- |
| `CONFIRMED` | |
| `DETECTED` | |
| `DISMISSED` | |
| `RESOLVED` | |