summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 21:08:51 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 21:08:51 +0000
commit13bcb8221306526671a61df589f7c05505c9934c (patch)
treebaa61780ec5f526ea180c209af8f4d75a5cb4425 /doc/api
parent206b03aeae3a368983ac3d6ad5e5828030bbaacd (diff)
downloadgitlab-ce-13bcb8221306526671a61df589f7c05505c9934c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/graphql/reference/gitlab_schema.graphql191
-rw-r--r--doc/api/graphql/reference/gitlab_schema.json578
-rw-r--r--doc/api/graphql/reference/index.md34
3 files changed, 797 insertions, 6 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql
index e214ed7f028..1c57851fe9d 100644
--- a/doc/api/graphql/reference/gitlab_schema.graphql
+++ b/doc/api/graphql/reference/gitlab_schema.graphql
@@ -3345,6 +3345,86 @@ type ContainerRepositoryConnection {
}
"""
+Details of a container repository
+"""
+type ContainerRepositoryDetails {
+ """
+ Can the current user delete the container repository.
+ """
+ canDelete: Boolean!
+
+ """
+ Timestamp when the container repository was created.
+ """
+ createdAt: Time!
+
+ """
+ Timestamp when the cleanup done by the expiration policy was started on the container repository.
+ """
+ expirationPolicyStartedAt: Time
+
+ """
+ ID of the container repository.
+ """
+ id: ID!
+
+ """
+ URL of the container repository.
+ """
+ location: String!
+
+ """
+ Name of the container repository.
+ """
+ name: String!
+
+ """
+ Path of the container repository.
+ """
+ path: String!
+
+ """
+ Status of the container repository.
+ """
+ status: ContainerRepositoryStatus
+
+ """
+ Tags of the container repository
+ """
+ tags(
+ """
+ Returns the elements in the list that come after the specified cursor.
+ """
+ after: String
+
+ """
+ Returns the elements in the list that come before the specified cursor.
+ """
+ before: String
+
+ """
+ Returns the first _n_ elements from the list.
+ """
+ first: Int
+
+ """
+ Returns the last _n_ elements from the list.
+ """
+ last: Int
+ ): ContainerRepositoryTagConnection
+
+ """
+ Number of tags associated with this image.
+ """
+ tagsCount: Int!
+
+ """
+ Timestamp when the container repository was updated.
+ """
+ updatedAt: Time!
+}
+
+"""
An edge in a connection.
"""
type ContainerRepositoryEdge {
@@ -3360,6 +3440,11 @@ type ContainerRepositoryEdge {
}
"""
+Identifier of ContainerRepository
+"""
+scalar ContainerRepositoryID
+
+"""
Status of a container repository
"""
enum ContainerRepositoryStatus {
@@ -3375,6 +3460,91 @@ enum ContainerRepositoryStatus {
}
"""
+A tag from a container repository
+"""
+type ContainerRepositoryTag {
+ """
+ Can the current user delete this tag.
+ """
+ canDelete: Boolean!
+
+ """
+ Timestamp when the tag was created.
+ """
+ createdAt: Time!
+
+ """
+ Digest of the tag.
+ """
+ digest: String!
+
+ """
+ URL of the tag.
+ """
+ location: String!
+
+ """
+ Name of the tag.
+ """
+ name: String!
+
+ """
+ Path of the tag.
+ """
+ path: String!
+
+ """
+ Revision of the tag.
+ """
+ revision: String!
+
+ """
+ Short revision of the tag.
+ """
+ shortRevision: String!
+
+ """
+ The size of the tag.
+ """
+ totalSize: Int!
+}
+
+"""
+The connection type for ContainerRepositoryTag.
+"""
+type ContainerRepositoryTagConnection {
+ """
+ A list of edges.
+ """
+ edges: [ContainerRepositoryTagEdge]
+
+ """
+ A list of nodes.
+ """
+ nodes: [ContainerRepositoryTag]
+
+ """
+ Information to aid in pagination.
+ """
+ pageInfo: PageInfo!
+}
+
+"""
+An edge in a connection.
+"""
+type ContainerRepositoryTagEdge {
+ """
+ A cursor for use in pagination.
+ """
+ cursor: String!
+
+ """
+ The item at the end of the edge.
+ """
+ node: ContainerRepositoryTag
+}
+
+"""
Autogenerated input type of CreateAlertIssue
"""
input CreateAlertIssueInput {
@@ -8097,6 +8267,11 @@ type GeoNode {
verificationMaxCapacity: Int
}
+"""
+Identifier of Gitlab::ErrorTracking::DetailedError
+"""
+scalar GitlabErrorTrackingDetailedErrorID
+
type GrafanaIntegration {
"""
Timestamp of the issue's creation
@@ -15911,7 +16086,7 @@ type Project {
"""
ID of the Sentry issue
"""
- id: ID!
+ id: GitlabErrorTrackingDetailedErrorID!
): SentryDetailedError
"""
@@ -16811,6 +16986,16 @@ type PromoteToEpicPayload {
type Query {
"""
+ Find a container repository
+ """
+ containerRepository(
+ """
+ The global ID of the container repository
+ """
+ id: ContainerRepositoryID!
+ ): ContainerRepositoryDetails
+
+ """
Get information about current user
"""
currentUser: User
@@ -19300,7 +19485,7 @@ type SentryErrorCollection {
"""
ID of the Sentry issue
"""
- id: ID!
+ id: GitlabErrorTrackingDetailedErrorID!
): SentryDetailedError
"""
@@ -19310,7 +19495,7 @@ type SentryErrorCollection {
"""
ID of the Sentry issue
"""
- id: ID!
+ id: GitlabErrorTrackingDetailedErrorID!
): SentryErrorStackTrace
"""
diff --git a/doc/api/graphql/reference/gitlab_schema.json b/doc/api/graphql/reference/gitlab_schema.json
index 1b5f3b7f1f9..4f44328f827 100644
--- a/doc/api/graphql/reference/gitlab_schema.json
+++ b/doc/api/graphql/reference/gitlab_schema.json
@@ -9076,6 +9076,244 @@
},
{
"kind": "OBJECT",
+ "name": "ContainerRepositoryDetails",
+ "description": "Details of a container repository",
+ "fields": [
+ {
+ "name": "canDelete",
+ "description": "Can the current user delete the container repository.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "createdAt",
+ "description": "Timestamp when the container repository was created.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Time",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "expirationPolicyStartedAt",
+ "description": "Timestamp when the cleanup done by the expiration policy was started on the container repository.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "SCALAR",
+ "name": "Time",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "id",
+ "description": "ID of the container repository.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "ID",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "location",
+ "description": "URL of the container repository.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "name",
+ "description": "Name of the container repository.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "path",
+ "description": "Path of the container repository.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "status",
+ "description": "Status of the container repository.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "ENUM",
+ "name": "ContainerRepositoryStatus",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "tags",
+ "description": "Tags of the container repository",
+ "args": [
+ {
+ "name": "after",
+ "description": "Returns the elements in the list that come after the specified cursor.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "before",
+ "description": "Returns the elements in the list that come before the specified cursor.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "first",
+ "description": "Returns the first _n_ elements from the list.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "Int",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "last",
+ "description": "Returns the last _n_ elements from the list.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "Int",
+ "ofType": null
+ },
+ "defaultValue": null
+ }
+ ],
+ "type": {
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryTagConnection",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "tagsCount",
+ "description": "Number of tags associated with this image.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Int",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "updatedAt",
+ "description": "Timestamp when the container repository was updated.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Time",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [
+
+ ],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
"name": "ContainerRepositoryEdge",
"description": "An edge in a connection.",
"fields": [
@@ -9120,6 +9358,16 @@
"possibleTypes": null
},
{
+ "kind": "SCALAR",
+ "name": "ContainerRepositoryID",
+ "description": "Identifier of ContainerRepository",
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
"kind": "ENUM",
"name": "ContainerRepositoryStatus",
"description": "Status of a container repository",
@@ -9143,6 +9391,293 @@
"possibleTypes": null
},
{
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryTag",
+ "description": "A tag from a container repository",
+ "fields": [
+ {
+ "name": "canDelete",
+ "description": "Can the current user delete this tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "createdAt",
+ "description": "Timestamp when the tag was created.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Time",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "digest",
+ "description": "Digest of the tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "location",
+ "description": "URL of the tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "name",
+ "description": "Name of the tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "path",
+ "description": "Path of the tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "revision",
+ "description": "Revision of the tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "shortRevision",
+ "description": "Short revision of the tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "totalSize",
+ "description": "The size of the tag.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Int",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [
+
+ ],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryTagConnection",
+ "description": "The connection type for ContainerRepositoryTag.",
+ "fields": [
+ {
+ "name": "edges",
+ "description": "A list of edges.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryTagEdge",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "nodes",
+ "description": "A list of nodes.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryTag",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "pageInfo",
+ "description": "Information to aid in pagination.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "PageInfo",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [
+
+ ],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryTagEdge",
+ "description": "An edge in a connection.",
+ "fields": [
+ {
+ "name": "cursor",
+ "description": "A cursor for use in pagination.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "node",
+ "description": "The item at the end of the edge.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryTag",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [
+
+ ],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
"kind": "INPUT_OBJECT",
"name": "CreateAlertIssueInput",
"description": "Autogenerated input type of CreateAlertIssue",
@@ -22357,6 +22892,16 @@
"possibleTypes": null
},
{
+ "kind": "SCALAR",
+ "name": "GitlabErrorTrackingDetailedErrorID",
+ "description": "Identifier of Gitlab::ErrorTracking::DetailedError",
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
"kind": "OBJECT",
"name": "GrafanaIntegration",
"description": null,
@@ -46175,7 +46720,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "GitlabErrorTrackingDetailedErrorID",
"ofType": null
}
},
@@ -48885,6 +49430,33 @@
"description": null,
"fields": [
{
+ "name": "containerRepository",
+ "description": "Find a container repository",
+ "args": [
+ {
+ "name": "id",
+ "description": "The global ID of the container repository",
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "ContainerRepositoryID",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
+ "type": {
+ "kind": "OBJECT",
+ "name": "ContainerRepositoryDetails",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
"name": "currentUser",
"description": "Get information about current user",
"args": [
@@ -55814,7 +56386,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "GitlabErrorTrackingDetailedErrorID",
"ofType": null
}
},
@@ -55841,7 +56413,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "GitlabErrorTrackingDetailedErrorID",
"ofType": null
}
},
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md
index 914f7ae2edd..2225e15af0f 100644
--- a/doc/api/graphql/reference/index.md
+++ b/doc/api/graphql/reference/index.md
@@ -541,6 +541,40 @@ A container repository.
| `tagsCount` | Int! | Number of tags associated with this image. |
| `updatedAt` | Time! | Timestamp when the container repository was updated. |
+### ContainerRepositoryDetails
+
+Details of a container repository.
+
+| Field | Type | Description |
+| ----- | ---- | ----------- |
+| `canDelete` | Boolean! | Can the current user delete the container repository. |
+| `createdAt` | Time! | Timestamp when the container repository was created. |
+| `expirationPolicyStartedAt` | Time | Timestamp when the cleanup done by the expiration policy was started on the container repository. |
+| `id` | ID! | ID of the container repository. |
+| `location` | String! | URL of the container repository. |
+| `name` | String! | Name of the container repository. |
+| `path` | String! | Path of the container repository. |
+| `status` | ContainerRepositoryStatus | Status of the container repository. |
+| `tags` | ContainerRepositoryTagConnection | Tags of the container repository |
+| `tagsCount` | Int! | Number of tags associated with this image. |
+| `updatedAt` | Time! | Timestamp when the container repository was updated. |
+
+### ContainerRepositoryTag
+
+A tag from a container repository.
+
+| Field | Type | Description |
+| ----- | ---- | ----------- |
+| `canDelete` | Boolean! | Can the current user delete this tag. |
+| `createdAt` | Time! | Timestamp when the tag was created. |
+| `digest` | String! | Digest of the tag. |
+| `location` | String! | URL of the tag. |
+| `name` | String! | Name of the tag. |
+| `path` | String! | Path of the tag. |
+| `revision` | String! | Revision of the tag. |
+| `shortRevision` | String! | Short revision of the tag. |
+| `totalSize` | Int! | The size of the tag. |
+
### CreateAlertIssuePayload
Autogenerated return type of CreateAlertIssue.