Run various types of queries and searches in Cloud CMS
npm install cloudcms-query-runnerCommand line script to perform various Cloud CMS queries. There are several APIs available in Cloud CMS to discover content nodes. This script is intened to demonstrate the use of each of these methods.
It is not necessary to install cloudcms-query-runner. It runs as an npx script. But it will run faster if it installed first (otherwise npx will install it on demand and remove it when it finishes executing each command).
{
"_type": "my:type"
} npx cloudcms-query-runner -g ./path/to/project-x-gitana.json --query --query-file-path ./test1.json
{
"basePath": "/",
"containers": true ,
"depth": 3
} npx cloudcms-query-runner -g ./gitana.json --tree --query-file-path ./print-tree.json