Queries

In this section

About queries

Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.

{% for name, field in reference.query.fields.items() %}

{{ name }}

Type: {{ field.type|string }}

{{ field.description|default('', True)|markdown|safe }}
{% if field.args %}

Arguments

{% for arg_name, arg in field.args.items() %} {% endfor %}
Name Description

{{ arg_name }} ({{ arg.type|string }})

{{ arg.description|default('', True)|markdown|safe }}

{% endif %}
{% endfor %}