exp:expgraphqlstatus
The GraphQL API of a siteaccess: switched on or off, end point, library, limits, introspection, naming, schema hash, classes and datatypes without a mapping.
Script bin/php/expgraphqlstatus.php, code in kernel/private/classes/commands/expgraphqlstatus.php. Run it from the installation root, as the user the web server runs as:
./console exp:expgraphqlstatus --help
./console exp:graphql:status --help
php bin/php/expgraphqlstatus.php --helpHelp text
Show the GraphQL API of a siteaccess
Whether it is switched on, its end point, the library and its version, the limits, introspection,
the naming, the schema hash, the classes in the schema and the datatypes that have no mapping
of their own (they are strings).
./console exp:graphql:status --siteaccess=site
./console exp:graphql:status --format=json
Exit code: 0 the library is available; 3 it is missing or not version 15; 2 wrong options.Options
| Option | Value | Help |
|---|---|---|
--format | required | text (the default) or json |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/expgraphqlstatus.php, kernel/private/classes/commands/expgraphqlstatus.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.