summaryrefslogtreecommitdiff
path: root/doc/api/graphql
Commit message (Collapse)AuthorAgeFilesLines
* Improve Graphql DocsFelipe Artur2019-07-112-0/+513
| | | | Adds more friendly docs for GraphQl implementation
* Edit GraphQL general availability textEvan Read2019-07-101-3/+3
|
* Remove `:graphql` feature flagcharlie ablett2019-07-091-13/+3
| | | | | | | | - Remove `FeatureConstrainer` call wrapping api endpoint - Remove `Feature.enabled?(:graphql)` conditionals in back and frontend - Modify graphql test to be graphql flag agnostic - Remove api routing spec - Remove frontend feature flag via `gon`
* Changing badges to use parentheses not bracketsMarcel Amirault2019-07-081-1/+1
| | | | | | | | | | | | | | Previously, we used brackets to denote the tier badges, but this made Kramdown, the docs site Markdown renderer, show many warnings when building the site. This is now fixed by using parentheses instead of square brackets. This was caused by [PREMIUM] looking like a link to Kramdown, which couldn't find a URL there. See: - https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/484 - https://gitlab.com/gitlab-org/gitlab-ce/issues/63800
* Mention that epics are supported in GraphqlQLbw-update-graphql-docsBrett Walker2019-06-171-1/+1
|
* Add Namespace and ProjectStatistics to GraphQL APIAlessio Caiazza2019-06-031-0/+1
| | | | | | We can query namespaces, and nested projects. Projects now exposes statistics
* Enables GraphQL batch requestsPhil Hughes2019-05-281-0/+8
| | | | | | | | | Enabling GraphQL batch requests allows for multiple queries to be sent in 1 request reducing the amount of requests we send to the server. Responses come come back in the same order as the queries were provided.
* First pass at a graphql visionNick Thomas2019-05-011-1/+14
|
* Mention group query in GraphQL documentationbw-add-graphql-groupsBrett Walker2019-04-231-1/+5
|
* Replace look-alike token with '<your_access_token>'docs/fake-token-no-moreAchilleas Pipinellis2019-01-041-1/+1
| | | | | Replace all '9koXpg98eAheJpvBs5tK' occurrences with '<your_access_token>' in API docs.
* Expose permissions on types in GraphQLBob Van Landuyt2018-06-281-1/+1
| | | | | This adds a reusable way to expose permissions for a user to types in GraphQL.
* Allow querying a single MR within a projectBob Van Landuyt2018-06-151-3/+1
| | | | | | | | This allows the user to get a single MR nested in a GraphQL project query. Since we need the full path and the iid anyway, this makes more sense than having a root query that needs the full path as well.
* Initial setup GraphQL using graphql-ruby 1.8Bob Van Landuyt2018-06-061-13/+21
| | | | | | | | | - All definitions have been replaced by classes: http://graphql-ruby.org/schema/class_based_api.html - Authorization & Presentation have been refactored to work in the class based system - Loaders have been replaced by resolvers - Times are now coersed as ISO 8601
* Add `present_using` to typesBob Van Landuyt2018-06-051-0/+34
By specifying a presenter for the object type, we can keep the logic out of `GitlabSchema`. The presenter gets initialized using the object being presented, and the context (including the `current_user`).