The ForgeFX Tools Collection utilizes GraphQL as a powerful query language for APIs, allowing efficient and flexible data access across various tools and services.

Overview

GraphQL provides a more efficient, powerful and flexible alternative to traditional REST API architecture. It allows clients to request exactly the data they need, making it easier to evolve APIs over time and enabling powerful developer tools.

Key Features

  1. Precise Data Fetching: Clients can request exactly what they need, nothing more and nothing less.
  2. Single Request for Multiple Resources: GraphQL allows fetching data from multiple resources in a single request.
  3. Strongly Typed: GraphQL APIs are strongly typed, reducing the likelihood of runtime errors.
  4. Introspective: A GraphQL server can be queried for the types it supports, enabling powerful developer tools.

Using GraphQL in ForgeFX Tools

Authentication

Authentication methods may vary depending on the specific tool:

  • OAuth: For OAuth clients, use https://api.forgefx.tools/graphql
  • API Tokens: For API token authentication, use https://{your-subdomain}.forgefx.tools/gateway/api/graphql

Basic Query Example

Here’s a basic example of a GraphQL query in the context of ForgeFX Tools: