Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c15364de
Commit
c15364de
authored
Apr 21, 2020
by
Mike Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autogenerate GraphQL schema and docs
parent
decd2c8f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
501 additions
and
0 deletions
+501
-0
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+135
-0
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+351
-0
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+15
-0
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
c15364de
...
...
@@ -3405,6 +3405,36 @@ type GeoNode {
"""
name
:
String
"""
Package
file
registries
of
the
GeoNode
.
Available
only
when
feature
flag
`
geo_self_service_framework
`
is
enabled
"""
packageFileRegistries
(
"""
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
"""
Filters
registries
by
their
ID
"""
ids
:
[
ID
!]
"""
Returns
the
last
_n_
elements
from
the
list
.
"""
last
:
Int
):
PackageFileRegistryConnection
"""
Indicates
whether
this
Geo
node
is
the
primary
"""
...
...
@@ -6273,6 +6303,86 @@ interface Noteable {
):
NoteConnection
!
}
"""
Represents the sync and verification state of a package file
"""
type
PackageFileRegistry
{
"""
Timestamp
when
the
PackageFileRegistry
was
created
"""
createdAt
:
Time
"""
ID
of
the
PackageFileRegistry
"""
id
:
ID
!
"""
Error
message
during
sync
of
the
PackageFileRegistry
"""
lastSyncFailure
:
String
"""
Timestamp
of
the
most
recent
successful
sync
of
the
PackageFileRegistry
"""
lastSyncedAt
:
Time
"""
ID
of
the
PackageFile
"""
packageFileId
:
ID
!
"""
Timestamp
after
which
the
PackageFileRegistry
should
be
resynced
"""
retryAt
:
Time
"""
Number
of
consecutive
failed
sync
attempts
of
the
PackageFileRegistry
"""
retryCount
:
Int
"""
Sync
state
of
the
PackageFileRegistry
"""
state
:
RegistryState
}
"""
The connection type for PackageFileRegistry.
"""
type
PackageFileRegistryConnection
{
"""
A
list
of
edges
.
"""
edges
:
[
PackageFileRegistryEdge
]
"""
A
list
of
nodes
.
"""
nodes
:
[
PackageFileRegistry
]
"""
Information
to
aid
in
pagination
.
"""
pageInfo
:
PageInfo
!
}
"""
An edge in a connection.
"""
type
PackageFileRegistryEdge
{
"""
A
cursor
for
use
in
pagination
.
"""
cursor
:
String
!
"""
The
item
at
the
end
of
the
edge
.
"""
node
:
PackageFileRegistry
}
"""
Information about pagination in a connection.
"""
...
...
@@ -7749,6 +7859,31 @@ type Query {
):
VulnerabilityConnection
}
"""
State of a Geo registry.
"""
enum
RegistryState
{
"""
Registry
that
failed
to
sync
"""
FAILED
"""
Registry
waiting
to
be
synced
"""
PENDING
"""
Registry
currently
syncing
"""
STARTED
"""
Registry
that
is
synced
"""
SYNCED
}
"""
Autogenerated input type of RemoveAwardEmoji
"""
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
c15364de
This diff is collapsed.
Click to expand it.
doc/api/graphql/reference/index.md
View file @
c15364de
...
...
@@ -950,6 +950,21 @@ Represents a milestone.
|
`readNote`
| Boolean! | Indicates the user can perform
`read_note`
on this resource |
|
`resolveNote`
| Boolean! | Indicates the user can perform
`resolve_note`
on this resource |
## PackageFileRegistry
Represents the sync and verification state of a package file
| Name | Type | Description |
| --- | ---- | ---------- |
|
`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 |
## PageInfo
Information about pagination in a connection.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment