Orbit GraphQL
Github
  • Orbit GraphQL
  • Quickstart
  • How does it work?
  • Configuration Options
  • API reference
    • GraphQL Endpoint
    • Cache Purge
      • Flush Everything
      • Flush a Resource
    • Get Cache Data
    • Healthcheck
Powered by GitBook
On this page
Edit on GitHub
  1. API reference

GraphQL Endpoint

PreviousAPI referenceNextCache Purge

Last updated 8 months ago

The path to which you will send your GraphQL requests - this is where the caching happens.

post

Congiruable using handlers_graphql_path (in config.toml) or ORBIT_HANDLERS_GRAPHQL_PATH (using environment variables)

Body
operationNamestringOptional
querystringOptional
variablesobjectOptional
Responses
200
Successful response
application/json
post
POST /graphql HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "operationName": "text",
  "query": "text",
  "variables": {}
}
200

Successful response

{
  "data": {},
  "errors": {}
}