Getting started with GraphQL queries and mutations
On August 4, 2016, a new standard called GraphQL was introduced for defining, querying, and documenting APIs in a human-friendly way. It includes built-in documentation, a friendly query language, and various tools to assist users. Buildkite has been using GraphQL extensively for front-end development through its public endpoint (graphql.buildkite.com). The explorer at graphql.buildkite.com/explorer uses GraphiQL, an open-source project that provides a code editor with auto-complete and inline documentation. To use the explorer, users need a Buildkite account and API Access Token. A basic example of a GraphQL query is provided to request the name of the current user.
Company
Buildkite
Date published
Aug. 4, 2016
Author(s)
Tim Lucas
Word count
189
Language
English
Hacker News points
None found.