graphql data source
blackstork/graphql
, v0.4.1
Installation #
To use graphql
data source, you must install the plugin blackstork/graphql
.
To install the plugin, add the full plugin name to the plugin_versions
map in the Fabric global configuration block (see Global configuration for more details), as shown below:
fabric {
plugin_versions = {
"blackstork/graphql" = ">= v0.4.1"
}
}
Note the version constraint set for the plugin.
Configuration #
The data source supports the following configuration parameters:
config data graphql {
auth_token = <string> # optional
url = <string> # required
}
Usage #
The data source supports the following parameters in the data blocks:
data graphql {
query = <string> # required
}