linear · Schema
GraphQLRequest
Properties
| Name | Type | Description |
|---|---|---|
| query | string | The GraphQL query or mutation string |
| variables | object | Named variables for the query or mutation |
| operationName | string | The name of the operation to execute (for multi-operation documents) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/GraphQLRequest",
"title": "GraphQLRequest",
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "The GraphQL query or mutation string"
},
"variables": {
"type": "object",
"additionalProperties": true,
"description": "Named variables for the query or mutation"
},
"operationName": {
"type": "string",
"description": "The name of the operation to execute (for multi-operation documents)"
}
}
}