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
877395b1
Commit
877395b1
authored
Jul 10, 2019
by
Evan Read
Committed by
Achilleas Pipinellis
Jul 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit GraphQL general availability text
parent
8a6a1c8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
doc/api/README.md
doc/api/README.md
+4
-3
doc/api/graphql/index.md
doc/api/graphql/index.md
+3
-3
No files found.
doc/api/README.md
View file @
877395b1
...
@@ -154,9 +154,10 @@ the `/Users` endpoint. The base URL is: `/api/scim/v2/groups/:group_path/Users/`
...
@@ -154,9 +154,10 @@ the `/Users` endpoint. The base URL is: `/api/scim/v2/groups/:group_path/Users/`
## Road to GraphQL
## Road to GraphQL
Going forward, we will start on moving to
[
GraphQL
](
graphql/index.md
)
is available in GitLab, which will
[
GraphQL
](
graphql/index.md
)
and deprecate the use of
allow deprecation of controller-specific endpoints.
controller-specific endpoints. GraphQL has a number of benefits:
GraphQL has a number of benefits:
1.
We avoid having to maintain two different APIs.
1.
We avoid having to maintain two different APIs.
1.
Callers of the API can request only what they need.
1.
Callers of the API can request only what they need.
...
...
doc/api/graphql/index.md
View file @
877395b1
# GraphQL API
# GraphQL API
> [Introduced][ce-19008] in GitLab 11.0.
> - [Introduced][ce-19008] in GitLab 11.0 (enabled by feature flag `graphql`).
> - [Always enabled](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30444)
in GitLab 12.1.
[
GraphQL
](
https://graphql.org/
)
is a query language for APIs that
[
GraphQL
](
https://graphql.org/
)
is a query language for APIs that
allows clients to request exactly the data they need, making it
allows clients to request exactly the data they need, making it
...
@@ -29,8 +31,6 @@ There are no plans to deprecate the REST API. To reduce the technical burden of
...
@@ -29,8 +31,6 @@ There are no plans to deprecate the REST API. To reduce the technical burden of
supporting two APIs in parallel, they should share implementations as much as
supporting two APIs in parallel, they should share implementations as much as
possible.
possible.
As of the 12.1 release, GraphQL is always enabled.
## Available queries
## Available queries
A first iteration of a GraphQL API includes the following queries
A first iteration of a GraphQL API includes the following queries
...
...
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