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
1b0a76f2
Commit
1b0a76f2
authored
Oct 16, 2020
by
charlie ablett
Committed by
Marcin Sedlak-Jakubowski
Nov 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GraphQL removed items docs
- add links and template
parent
e7650bc4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
0 deletions
+25
-0
doc/api/graphql/index.md
doc/api/graphql/index.md
+4
-0
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+2
-0
doc/api/graphql/removed_items.md
doc/api/graphql/removed_items.md
+17
-0
lib/gitlab/graphql/docs/templates/default.md.haml
lib/gitlab/graphql/docs/templates/default.md.haml
+2
-0
No files found.
doc/api/graphql/index.md
View file @
1b0a76f2
...
@@ -82,6 +82,10 @@ The process is as follows:
...
@@ -82,6 +82,10 @@ The process is as follows:
release post (at or prior to X.11 and X.5 releases).
release post (at or prior to X.11 and X.5 releases).
1.
Fields meeting criteria are removed in X.0 or X.6.
1.
Fields meeting criteria are removed in X.0 or X.6.
### List of removed items
View the
[
fields, enums, and other items we removed
](
removed_items.md
)
from the GraphQL API.
## Available queries
## Available queries
The GraphQL API includes the following queries at the root level:
The GraphQL API includes the following queries at the root level:
...
...
doc/api/graphql/reference/index.md
View file @
1b0a76f2
...
@@ -15,6 +15,8 @@ fields and methods on a model are available via GraphQL.
...
@@ -15,6 +15,8 @@ fields and methods on a model are available via GraphQL.
CAUTION:
**Caution:**
CAUTION:
**Caution:**
Fields that are deprecated are marked with
**{warning-solid}**
.
Fields that are deprecated are marked with
**{warning-solid}**
.
Items (fields, enums, etc) that have been removed according to our
[
deprecation process
](
../index.md#deprecation-process
)
can be found
in
[
Removed Items
](
../removed_items.md
)
.
## Object types
## Object types
...
...
doc/api/graphql/removed_items.md
0 → 100644
View file @
1b0a76f2
# GraphQL API removed items
GraphQL is a versionless API, unlike the REST API.
Occasionally, items have to be updated or removed from the GraphQL API.
According to our
[
process for removing items
](
index.md#deprecation-process
)
, here are the items that have been removed.
## GitLab 13.6
Fields removed in
[
GitLab 13.6
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44866
)
:
| Field name | GraphQL type | Deprecated in | Use instead |
| -------------------- | -------------------- | ------------- | -------------------------- |
|
`date`
|
`Timelog`
**(STARTER)**
| 12.10 |
`spentAt`
|
|
`designs`
|
`Issue`
,
`EpicIssue`
| 12.2 |
`designCollection`
|
|
`latestPipeline`
|
`Commit`
| 12.5 |
`pipelines`
|
|
`mergeCommitMessage`
|
`MergeRequest`
| 11.8 |
`latestMergeCommitMessage`
|
|
`token`
|
`GrafanaIntegration`
| 12.7 | None. Plaintext tokens no longer supported for security reasons. |
lib/gitlab/graphql/docs/templates/default.md.haml
View file @
1b0a76f2
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
CAUTION: **Caution:**
CAUTION: **Caution:**
Fields that are deprecated are marked with **{warning-solid}**.
Fields that are deprecated are marked with **{warning-solid}**.
Items (fields, enums, etc) that have been removed according to our [deprecation process](../index.md#deprecation-process) can be found
in [Removed Items](../removed_items.md).
\
\
:plain
:plain
...
...
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