API7 Docs
Transformationdegraphql

degraphql Configuration

Parameters

See plugin common configurations for configuration options available to all plugins.

  • querystring · required

    GraphQL query to be sent to the upstream.

  • operation_namestring · optional

    Name of the operation. Required if multiple operations are included in the query.

  • variablesarray[string] · optional

    Variables used in GraphQL queries.

  • max_req_body_sizeinteger · optional · default: 67108864

    Valid values: greater than or equal to 1

    Maximum POST request body size in bytes read when extracting configured GraphQL variables. A larger body returns 503 Service Unavailable. The request body is not used when variables is not configured. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and APISIX 3.18.0.