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
051b354b
Commit
051b354b
authored
Dec 23, 2019
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backfill GraphQL descriptions
- Tree, blob, submodule types - Regenerate schema & docs
parent
6024c4be
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
206 additions
and
83 deletions
+206
-83
app/graphql/types/tree/blob_type.rb
app/graphql/types/tree/blob_type.rb
+7
-4
app/graphql/types/tree/entry_type.rb
app/graphql/types/tree/entry_type.rb
+12
-6
app/graphql/types/tree/submodule_type.rb
app/graphql/types/tree/submodule_type.rb
+4
-2
app/graphql/types/tree/tree_entry_type.rb
app/graphql/types/tree/tree_entry_type.rb
+2
-1
app/graphql/types/tree/tree_type.rb
app/graphql/types/tree/tree_type.rb
+15
-11
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+111
-4
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+32
-32
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+23
-23
No files found.
app/graphql/types/tree/blob_type.rb
View file @
051b354b
...
@@ -10,10 +10,13 @@ module Types
...
@@ -10,10 +10,13 @@ module Types
graphql_name
'Blob'
graphql_name
'Blob'
field
:web_url
,
GraphQL
::
STRING_TYPE
,
null:
true
# rubocop:disable Graphql/Descriptions
field
:web_url
,
GraphQL
::
STRING_TYPE
,
null:
true
,
field
:lfs_oid
,
GraphQL
::
STRING_TYPE
,
null:
true
,
resolve:
->
(
blob
,
args
,
ctx
)
do
# rubocop:disable Graphql/Descriptions
description:
'Web URL of the blob'
Gitlab
::
Graphql
::
Loaders
::
BatchLfsOidLoader
.
new
(
blob
.
repository
,
blob
.
id
).
find
field
:lfs_oid
,
GraphQL
::
STRING_TYPE
,
null:
true
,
end
description:
'LFS ID of the blob'
,
resolve:
->
(
blob
,
args
,
ctx
)
do
Gitlab
::
Graphql
::
Loaders
::
BatchLfsOidLoader
.
new
(
blob
.
repository
,
blob
.
id
).
find
end
# rubocop: enable Graphql/AuthorizeTypes
# rubocop: enable Graphql/AuthorizeTypes
end
end
end
end
...
...
app/graphql/types/tree/entry_type.rb
View file @
051b354b
...
@@ -4,12 +4,18 @@ module Types
...
@@ -4,12 +4,18 @@ module Types
module
EntryType
module
EntryType
include
Types
::
BaseInterface
include
Types
::
BaseInterface
field
:id
,
GraphQL
::
ID_TYPE
,
null:
false
# rubocop:disable Graphql/Descriptions
field
:id
,
GraphQL
::
ID_TYPE
,
null:
false
,
field
:sha
,
GraphQL
::
STRING_TYPE
,
null:
false
,
description:
"Last commit sha for entry"
,
method: :id
description:
'ID of the entry'
field
:name
,
GraphQL
::
STRING_TYPE
,
null:
false
# rubocop:disable Graphql/Descriptions
field
:sha
,
GraphQL
::
STRING_TYPE
,
null:
false
,
field
:type
,
Tree
::
TypeEnum
,
null:
false
# rubocop:disable Graphql/Descriptions
description:
'Last commit sha for the entry'
,
method: :id
field
:path
,
GraphQL
::
STRING_TYPE
,
null:
false
# rubocop:disable Graphql/Descriptions
field
:name
,
GraphQL
::
STRING_TYPE
,
null:
false
,
field
:flat_path
,
GraphQL
::
STRING_TYPE
,
null:
false
# rubocop:disable Graphql/Descriptions
description:
'Name of the entry'
field
:type
,
Tree
::
TypeEnum
,
null:
false
,
description:
'Type of tree entry'
field
:path
,
GraphQL
::
STRING_TYPE
,
null:
false
,
description:
'Path of the entry'
field
:flat_path
,
GraphQL
::
STRING_TYPE
,
null:
false
,
description:
'Flat path of the entry'
end
end
end
end
end
end
app/graphql/types/tree/submodule_type.rb
View file @
051b354b
...
@@ -8,8 +8,10 @@ module Types
...
@@ -8,8 +8,10 @@ module Types
graphql_name
'Submodule'
graphql_name
'Submodule'
field
:web_url
,
type:
GraphQL
::
STRING_TYPE
,
null:
true
# rubocop:disable Graphql/Descriptions
field
:web_url
,
type:
GraphQL
::
STRING_TYPE
,
null:
true
,
field
:tree_url
,
type:
GraphQL
::
STRING_TYPE
,
null:
true
# rubocop:disable Graphql/Descriptions
description:
'Web URL for the sub-module'
field
:tree_url
,
type:
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'Tree URL for the sub-module'
end
end
# rubocop: enable Graphql/AuthorizeTypes
# rubocop: enable Graphql/AuthorizeTypes
end
end
...
...
app/graphql/types/tree/tree_entry_type.rb
View file @
051b354b
...
@@ -11,7 +11,8 @@ module Types
...
@@ -11,7 +11,8 @@ module Types
graphql_name
'TreeEntry'
graphql_name
'TreeEntry'
description
'Represents a directory'
description
'Represents a directory'
field
:web_url
,
GraphQL
::
STRING_TYPE
,
null:
true
# rubocop:disable Graphql/Descriptions
field
:web_url
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'Web URL for the tree entry (directory)'
end
end
# rubocop: enable Graphql/AuthorizeTypes
# rubocop: enable Graphql/AuthorizeTypes
end
end
...
...
app/graphql/types/tree/tree_type.rb
View file @
051b354b
...
@@ -11,19 +11,23 @@ module Types
...
@@ -11,19 +11,23 @@ module Types
null:
true
,
complexity:
10
,
calls_gitaly:
true
,
resolver:
Resolvers
::
LastCommitResolver
,
null:
true
,
complexity:
10
,
calls_gitaly:
true
,
resolver:
Resolvers
::
LastCommitResolver
,
description:
'Last commit for the tree'
description:
'Last commit for the tree'
field
:trees
,
Types
::
Tree
::
TreeEntryType
.
connection_type
,
null:
false
,
resolve:
->
(
obj
,
args
,
ctx
)
do
# rubocop:disable Graphql/Descriptions
field
:trees
,
Types
::
Tree
::
TreeEntryType
.
connection_type
,
null:
false
,
Gitlab
::
Graphql
::
Representation
::
TreeEntry
.
decorate
(
obj
.
trees
,
obj
.
repository
)
description:
'Trees of the tree'
,
end
resolve:
->
(
obj
,
args
,
ctx
)
do
Gitlab
::
Graphql
::
Representation
::
TreeEntry
.
decorate
(
obj
.
trees
,
obj
.
repository
)
end
# rubocop:disable Graphql/Descriptions
field
:submodules
,
Types
::
Tree
::
SubmoduleType
.
connection_type
,
null:
false
,
field
:submodules
,
Types
::
Tree
::
SubmoduleType
.
connection_type
,
null:
false
,
calls_gitaly:
true
,
resolve:
->
(
obj
,
args
,
ctx
)
do
description:
'Sub-modules of the tree'
,
Gitlab
::
Graphql
::
Representation
::
SubmoduleTreeEntry
.
decorate
(
obj
.
submodules
,
obj
)
calls_gitaly:
true
,
resolve:
->
(
obj
,
args
,
ctx
)
do
end
Gitlab
::
Graphql
::
Representation
::
SubmoduleTreeEntry
.
decorate
(
obj
.
submodules
,
obj
)
# rubocop:enable Graphql/Descriptions
end
field
:blobs
,
Types
::
Tree
::
BlobType
.
connection_type
,
null:
false
,
calls_gitaly:
true
,
resolve:
->
(
obj
,
args
,
ctx
)
do
# rubocop:disable Graphql/Descriptions
field
:blobs
,
Types
::
Tree
::
BlobType
.
connection_type
,
null:
false
,
Gitlab
::
Graphql
::
Representation
::
TreeEntry
.
decorate
(
obj
.
blobs
,
obj
.
repository
)
description:
'Blobs of the tree'
,
end
calls_gitaly:
true
,
resolve:
->
(
obj
,
args
,
ctx
)
do
Gitlab
::
Graphql
::
Representation
::
TreeEntry
.
decorate
(
obj
.
blobs
,
obj
.
repository
)
end
# rubocop: enable Graphql/AuthorizeTypes
# rubocop: enable Graphql/AuthorizeTypes
end
end
end
end
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
051b354b
...
@@ -71,17 +71,44 @@ type AwardEmoji {
...
@@ -71,17 +71,44 @@ type AwardEmoji {
}
}
type
Blob
implements
Entry
{
type
Blob
implements
Entry
{
"""
Flat
path
of
the
entry
"""
flatPath
:
String
!
flatPath
:
String
!
"""
ID
of
the
entry
"""
id
:
ID
!
id
:
ID
!
"""
LFS
ID
of
the
blob
"""
lfsOid
:
String
lfsOid
:
String
"""
Name
of
the
entry
"""
name
:
String
!
name
:
String
!
"""
Path
of
the
entry
"""
path
:
String
!
path
:
String
!
"""
"""
Last
commit
sha
for
entry
Last
commit
sha
for
the
entry
"""
"""
sha
:
String
!
sha
:
String
!
"""
Type
of
tree
entry
"""
type
:
EntryType
!
type
:
EntryType
!
"""
Web
URL
of
the
blob
"""
webUrl
:
String
webUrl
:
String
}
}
...
@@ -1290,15 +1317,34 @@ type DiscussionEdge {
...
@@ -1290,15 +1317,34 @@ type DiscussionEdge {
}
}
interface
Entry
{
interface
Entry
{
"""
Flat
path
of
the
entry
"""
flatPath
:
String
!
flatPath
:
String
!
"""
ID
of
the
entry
"""
id
:
ID
!
id
:
ID
!
"""
Name
of
the
entry
"""
name
:
String
!
name
:
String
!
"""
Path
of
the
entry
"""
path
:
String
!
path
:
String
!
"""
"""
Last
commit
sha
for
entry
Last
commit
sha
for
the
entry
"""
"""
sha
:
String
!
sha
:
String
!
"""
Type
of
tree
entry
"""
type
:
EntryType
!
type
:
EntryType
!
}
}
...
@@ -5855,17 +5901,44 @@ type SnippetPermissions {
...
@@ -5855,17 +5901,44 @@ type SnippetPermissions {
}
}
type
Submodule
implements
Entry
{
type
Submodule
implements
Entry
{
"""
Flat
path
of
the
entry
"""
flatPath
:
String
!
flatPath
:
String
!
"""
ID
of
the
entry
"""
id
:
ID
!
id
:
ID
!
"""
Name
of
the
entry
"""
name
:
String
!
name
:
String
!
"""
Path
of
the
entry
"""
path
:
String
!
path
:
String
!
"""
"""
Last
commit
sha
for
entry
Last
commit
sha
for
the
entry
"""
"""
sha
:
String
!
sha
:
String
!
"""
Tree
URL
for
the
sub
-
module
"""
treeUrl
:
String
treeUrl
:
String
"""
Type
of
tree
entry
"""
type
:
EntryType
!
type
:
EntryType
!
"""
Web
URL
for
the
sub
-
module
"""
webUrl
:
String
webUrl
:
String
}
}
...
@@ -6254,6 +6327,9 @@ type ToggleAwardEmojiPayload {
...
@@ -6254,6 +6327,9 @@ type ToggleAwardEmojiPayload {
}
}
type
Tree
{
type
Tree
{
"""
Blobs
of
the
tree
"""
blobs
(
blobs
(
"""
"""
Returns
the
elements
in
the
list
that
come
after
the
specified
cursor
.
Returns
the
elements
in
the
list
that
come
after
the
specified
cursor
.
...
@@ -6280,6 +6356,10 @@ type Tree {
...
@@ -6280,6 +6356,10 @@ type Tree {
Last
commit
for
the
tree
Last
commit
for
the
tree
"""
"""
lastCommit
:
Commit
lastCommit
:
Commit
"""
Sub
-
modules
of
the
tree
"""
submodules
(
submodules
(
"""
"""
Returns
the
elements
in
the
list
that
come
after
the
specified
cursor
.
Returns
the
elements
in
the
list
that
come
after
the
specified
cursor
.
...
@@ -6301,6 +6381,10 @@ type Tree {
...
@@ -6301,6 +6381,10 @@ type Tree {
"""
"""
last
:
Int
last
:
Int
):
SubmoduleConnection
!
):
SubmoduleConnection
!
"""
Trees
of
the
tree
"""
trees
(
trees
(
"""
"""
Returns
the
elements
in
the
list
that
come
after
the
specified
cursor
.
Returns
the
elements
in
the
list
that
come
after
the
specified
cursor
.
...
@@ -6328,16 +6412,39 @@ type Tree {
...
@@ -6328,16 +6412,39 @@ type Tree {
Represents a directory
Represents a directory
"""
"""
type
TreeEntry
implements
Entry
{
type
TreeEntry
implements
Entry
{
"""
Flat
path
of
the
entry
"""
flatPath
:
String
!
flatPath
:
String
!
"""
ID
of
the
entry
"""
id
:
ID
!
id
:
ID
!
"""
Name
of
the
entry
"""
name
:
String
!
name
:
String
!
"""
Path
of
the
entry
"""
path
:
String
!
path
:
String
!
"""
"""
Last
commit
sha
for
entry
Last
commit
sha
for
the
entry
"""
"""
sha
:
String
!
sha
:
String
!
"""
Type
of
tree
entry
"""
type
:
EntryType
!
type
:
EntryType
!
"""
Web
URL
for
the
tree
entry
(
directory
)
"""
webUrl
:
String
webUrl
:
String
}
}
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
051b354b
...
@@ -11428,7 +11428,7 @@
...
@@ -11428,7 +11428,7 @@
"fields"
:
[
"fields"
:
[
{
{
"name"
:
"blobs"
,
"name"
:
"blobs"
,
"description"
:
null
,
"description"
:
"Blobs of the tree"
,
"args"
:
[
"args"
:
[
{
{
"name"
:
"after"
,
"name"
:
"after"
,
...
@@ -11499,7 +11499,7 @@
...
@@ -11499,7 +11499,7 @@
},
},
{
{
"name"
:
"submodules"
,
"name"
:
"submodules"
,
"description"
:
null
,
"description"
:
"Sub-modules of the tree"
,
"args"
:
[
"args"
:
[
{
{
"name"
:
"after"
,
"name"
:
"after"
,
...
@@ -11556,7 +11556,7 @@
...
@@ -11556,7 +11556,7 @@
},
},
{
{
"name"
:
"trees"
,
"name"
:
"trees"
,
"description"
:
null
,
"description"
:
"Trees of the tree"
,
"args"
:
[
"args"
:
[
{
{
"name"
:
"after"
,
"name"
:
"after"
,
...
@@ -12687,7 +12687,7 @@
...
@@ -12687,7 +12687,7 @@
"fields"
:
[
"fields"
:
[
{
{
"name"
:
"flatPath"
,
"name"
:
"flatPath"
,
"description"
:
null
,
"description"
:
"Flat path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12705,7 +12705,7 @@
...
@@ -12705,7 +12705,7 @@
},
},
{
{
"name"
:
"id"
,
"name"
:
"id"
,
"description"
:
null
,
"description"
:
"ID of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12723,7 +12723,7 @@
...
@@ -12723,7 +12723,7 @@
},
},
{
{
"name"
:
"name"
,
"name"
:
"name"
,
"description"
:
null
,
"description"
:
"Name of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12741,7 +12741,7 @@
...
@@ -12741,7 +12741,7 @@
},
},
{
{
"name"
:
"path"
,
"name"
:
"path"
,
"description"
:
null
,
"description"
:
"Path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12759,7 +12759,7 @@
...
@@ -12759,7 +12759,7 @@
},
},
{
{
"name"
:
"sha"
,
"name"
:
"sha"
,
"description"
:
"Last commit sha for entry"
,
"description"
:
"Last commit sha for
the
entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12777,7 +12777,7 @@
...
@@ -12777,7 +12777,7 @@
},
},
{
{
"name"
:
"type"
,
"name"
:
"type"
,
"description"
:
null
,
"description"
:
"Type of tree entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12795,7 +12795,7 @@
...
@@ -12795,7 +12795,7 @@
},
},
{
{
"name"
:
"webUrl"
,
"name"
:
"webUrl"
,
"description"
:
null
,
"description"
:
"Web URL for the tree entry (directory)"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12826,7 +12826,7 @@
...
@@ -12826,7 +12826,7 @@
"fields"
:
[
"fields"
:
[
{
{
"name"
:
"flatPath"
,
"name"
:
"flatPath"
,
"description"
:
null
,
"description"
:
"Flat path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12844,7 +12844,7 @@
...
@@ -12844,7 +12844,7 @@
},
},
{
{
"name"
:
"id"
,
"name"
:
"id"
,
"description"
:
null
,
"description"
:
"ID of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12862,7 +12862,7 @@
...
@@ -12862,7 +12862,7 @@
},
},
{
{
"name"
:
"name"
,
"name"
:
"name"
,
"description"
:
null
,
"description"
:
"Name of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12880,7 +12880,7 @@
...
@@ -12880,7 +12880,7 @@
},
},
{
{
"name"
:
"path"
,
"name"
:
"path"
,
"description"
:
null
,
"description"
:
"Path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12898,7 +12898,7 @@
...
@@ -12898,7 +12898,7 @@
},
},
{
{
"name"
:
"sha"
,
"name"
:
"sha"
,
"description"
:
"Last commit sha for entry"
,
"description"
:
"Last commit sha for
the
entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -12916,7 +12916,7 @@
...
@@ -12916,7 +12916,7 @@
},
},
{
{
"name"
:
"type"
,
"name"
:
"type"
,
"description"
:
null
,
"description"
:
"Type of tree entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13102,7 +13102,7 @@
...
@@ -13102,7 +13102,7 @@
"fields"
:
[
"fields"
:
[
{
{
"name"
:
"flatPath"
,
"name"
:
"flatPath"
,
"description"
:
null
,
"description"
:
"Flat path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13120,7 +13120,7 @@
...
@@ -13120,7 +13120,7 @@
},
},
{
{
"name"
:
"id"
,
"name"
:
"id"
,
"description"
:
null
,
"description"
:
"ID of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13138,7 +13138,7 @@
...
@@ -13138,7 +13138,7 @@
},
},
{
{
"name"
:
"name"
,
"name"
:
"name"
,
"description"
:
null
,
"description"
:
"Name of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13156,7 +13156,7 @@
...
@@ -13156,7 +13156,7 @@
},
},
{
{
"name"
:
"path"
,
"name"
:
"path"
,
"description"
:
null
,
"description"
:
"Path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13174,7 +13174,7 @@
...
@@ -13174,7 +13174,7 @@
},
},
{
{
"name"
:
"sha"
,
"name"
:
"sha"
,
"description"
:
"Last commit sha for entry"
,
"description"
:
"Last commit sha for
the
entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13192,7 +13192,7 @@
...
@@ -13192,7 +13192,7 @@
},
},
{
{
"name"
:
"treeUrl"
,
"name"
:
"treeUrl"
,
"description"
:
null
,
"description"
:
"Tree URL for the sub-module"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13206,7 +13206,7 @@
...
@@ -13206,7 +13206,7 @@
},
},
{
{
"name"
:
"type"
,
"name"
:
"type"
,
"description"
:
null
,
"description"
:
"Type of tree entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13224,7 +13224,7 @@
...
@@ -13224,7 +13224,7 @@
},
},
{
{
"name"
:
"webUrl"
,
"name"
:
"webUrl"
,
"description"
:
null
,
"description"
:
"Web URL for the sub-module"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13367,7 +13367,7 @@
...
@@ -13367,7 +13367,7 @@
"fields"
:
[
"fields"
:
[
{
{
"name"
:
"flatPath"
,
"name"
:
"flatPath"
,
"description"
:
null
,
"description"
:
"Flat path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13385,7 +13385,7 @@
...
@@ -13385,7 +13385,7 @@
},
},
{
{
"name"
:
"id"
,
"name"
:
"id"
,
"description"
:
null
,
"description"
:
"ID of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13403,7 +13403,7 @@
...
@@ -13403,7 +13403,7 @@
},
},
{
{
"name"
:
"lfsOid"
,
"name"
:
"lfsOid"
,
"description"
:
null
,
"description"
:
"LFS ID of the blob"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13417,7 +13417,7 @@
...
@@ -13417,7 +13417,7 @@
},
},
{
{
"name"
:
"name"
,
"name"
:
"name"
,
"description"
:
null
,
"description"
:
"Name of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13435,7 +13435,7 @@
...
@@ -13435,7 +13435,7 @@
},
},
{
{
"name"
:
"path"
,
"name"
:
"path"
,
"description"
:
null
,
"description"
:
"Path of the entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13453,7 +13453,7 @@
...
@@ -13453,7 +13453,7 @@
},
},
{
{
"name"
:
"sha"
,
"name"
:
"sha"
,
"description"
:
"Last commit sha for entry"
,
"description"
:
"Last commit sha for
the
entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13471,7 +13471,7 @@
...
@@ -13471,7 +13471,7 @@
},
},
{
{
"name"
:
"type"
,
"name"
:
"type"
,
"description"
:
null
,
"description"
:
"Type of tree entry"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -13489,7 +13489,7 @@
...
@@ -13489,7 +13489,7 @@
},
},
{
{
"name"
:
"webUrl"
,
"name"
:
"webUrl"
,
"description"
:
null
,
"description"
:
"Web URL of the blob"
,
"args"
:
[
"args"
:
[
],
],
...
...
doc/api/graphql/reference/index.md
View file @
051b354b
...
@@ -35,14 +35,14 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -35,14 +35,14 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
|
`id`
| ID! | |
|
`id`
| ID! |
ID of the entry
|
|
`sha`
| String! | Last commit sha for entry |
|
`sha`
| String! | Last commit sha for
the
entry |
|
`name`
| String! | |
|
`name`
| String! |
Name of the entry
|
|
`type`
| EntryType! | |
|
`type`
| EntryType! |
Type of tree entry
|
|
`path`
| String! | |
|
`path`
| String! |
Path of the entry
|
|
`flatPath`
| String! | |
|
`flatPath`
| String! |
Flat path of the entry
|
|
`webUrl`
| String | |
|
`webUrl`
| String |
Web URL of the blob
|
|
`lfsOid`
| String | |
|
`lfsOid`
| String |
LFS ID of the blob
|
### Commit
### Commit
...
@@ -856,14 +856,14 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -856,14 +856,14 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
|
`id`
| ID! | |
|
`id`
| ID! |
ID of the entry
|
|
`sha`
| String! | Last commit sha for entry |
|
`sha`
| String! | Last commit sha for
the
entry |
|
`name`
| String! | |
|
`name`
| String! |
Name of the entry
|
|
`type`
| EntryType! | |
|
`type`
| EntryType! |
Type of tree entry
|
|
`path`
| String! | |
|
`path`
| String! |
Path of the entry
|
|
`flatPath`
| String! | |
|
`flatPath`
| String! |
Flat path of the entry
|
|
`webUrl`
| String | |
|
`webUrl`
| String |
Web URL for the sub-module
|
|
`treeUrl`
| String | |
|
`treeUrl`
| String |
Tree URL for the sub-module
|
### TaskCompletionStatus
### TaskCompletionStatus
...
@@ -938,13 +938,13 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -938,13 +938,13 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
|
`id`
| ID! | |
|
`id`
| ID! |
ID of the entry
|
|
`sha`
| String! | Last commit sha for entry |
|
`sha`
| String! | Last commit sha for
the
entry |
|
`name`
| String! | |
|
`name`
| String! |
Name of the entry
|
|
`type`
| EntryType! | |
|
`type`
| EntryType! |
Type of tree entry
|
|
`path`
| String! | |
|
`path`
| String! |
Path of the entry
|
|
`flatPath`
| String! | |
|
`flatPath`
| String! |
Flat path of the entry
|
|
`webUrl`
| String | |
|
`webUrl`
| String |
Web URL for the tree entry (directory)
|
### UpdateEpicPayload
### UpdateEpicPayload
...
...
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