Skip to main content

Parameters

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

  • query

    string

    required


    GraphQL query to be sent to the upstream.

  • operation_name

    string


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

  • variables

    array[string]


    Variables used in GraphQL queries.

  • max_req_body_size

    integer

    default: 67108864

    vaild vaule:

    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.