GraphQL Endpoint

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": {}
}

Last updated