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
d6a464f7
Commit
d6a464f7
authored
Feb 23, 2021
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update graphqldocs after tweaks
parent
3aa2ace3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/graphql/resolvers/concerns/resolves_snippets.rb
app/graphql/resolvers/concerns/resolves_snippets.rb
+1
-1
app/graphql/types/query_type.rb
app/graphql/types/query_type.rb
+1
-1
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+2
-2
No files found.
app/graphql/resolvers/concerns/resolves_snippets.rb
View file @
d6a464f7
...
@@ -8,7 +8,7 @@ module ResolvesSnippets
...
@@ -8,7 +8,7 @@ module ResolvesSnippets
argument
:ids
,
[
::
Types
::
GlobalIDType
[
::
Snippet
]],
argument
:ids
,
[
::
Types
::
GlobalIDType
[
::
Snippet
]],
required:
false
,
required:
false
,
description:
'Array of global snippet
ids, e.g.
, `gid://gitlab/ProjectSnippet/1`.'
description:
'Array of global snippet
IDs. For example
, `gid://gitlab/ProjectSnippet/1`.'
argument
:visibility
,
Types
::
Snippets
::
VisibilityScopesEnum
,
argument
:visibility
,
Types
::
Snippets
::
VisibilityScopesEnum
,
required:
false
,
required:
false
,
...
...
app/graphql/types/query_type.rb
View file @
d6a464f7
...
@@ -85,7 +85,7 @@ module Types
...
@@ -85,7 +85,7 @@ module Types
field
:instance_statistics_measurements
,
Types
::
Admin
::
Analytics
::
UsageTrends
::
MeasurementType
.
connection_type
,
field
:instance_statistics_measurements
,
Types
::
Admin
::
Analytics
::
UsageTrends
::
MeasurementType
.
connection_type
,
null:
true
,
null:
true
,
description:
'Get statistics on the instance.'
,
description:
'Get statistics on the instance.'
,
deprecated:
{
reason:
'This field was renamed. Use the `usageTrendsMeasurements` field instead
.
'
,
milestone:
'13.10'
},
deprecated:
{
reason:
'This field was renamed. Use the `usageTrendsMeasurements` field instead'
,
milestone:
'13.10'
},
resolver:
Resolvers
::
Admin
::
Analytics
::
UsageTrends
::
MeasurementsResolver
resolver:
Resolvers
::
Admin
::
Analytics
::
UsageTrends
::
MeasurementsResolver
field
:usage_trends_measurements
,
Types
::
Admin
::
Analytics
::
UsageTrends
::
MeasurementType
.
connection_type
,
field
:usage_trends_measurements
,
Types
::
Admin
::
Analytics
::
UsageTrends
::
MeasurementType
.
connection_type
,
...
...
doc/api/graphql/reference/index.md
View file @
d6a464f7
...
@@ -103,7 +103,7 @@ Fields related to Instance Security Dashboard.
...
@@ -103,7 +103,7 @@ Fields related to Instance Security Dashboard.
### InstanceStatisticsMeasurements
### InstanceStatisticsMeasurements
Get statistics on the instance. Deprecated in 13.10: This field was renamed. Use the
`usageTrendsMeasurements`
field instead.
.
Get statistics on the instance. Deprecated in 13.10: This field was renamed. Use the
`usageTrendsMeasurements`
field instead.
| Name | Description | Type |
| Name | Description | Type |
| ----- | ---- | ----------- |
| ----- | ---- | ----------- |
...
@@ -216,7 +216,7 @@ Find Snippets visible to the current user.
...
@@ -216,7 +216,7 @@ Find Snippets visible to the current user.
|
`before`
| Returns the elements in the list that come before the specified cursor. | String |
|
`before`
| Returns the elements in the list that come before the specified cursor. | String |
|
`explore`
| Explore personal snippets. | Boolean |
|
`explore`
| Explore personal snippets. | Boolean |
|
`first`
| Returns the first _n_ elements from the list. | Int |
|
`first`
| Returns the first _n_ elements from the list. | Int |
|
`ids`
| Array of global snippet
ids, e.g.
,
`gid://gitlab/ProjectSnippet/1`
. | SnippetID! => Array |
|
`ids`
| Array of global snippet
IDs. For example
,
`gid://gitlab/ProjectSnippet/1`
. | SnippetID! => Array |
|
`last`
| Returns the last _n_ elements from the list. | Int |
|
`last`
| Returns the last _n_ elements from the list. | Int |
|
`projectId`
| The ID of a project. | ProjectID |
|
`projectId`
| The ID of a project. | ProjectID |
|
`type`
| The type of snippet. | TypeEnum |
|
`type`
| The type of snippet. | TypeEnum |
...
...
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