Run a data query

GET /rest/data/query.json

Run a data query.

Example


$query = http_build_query([
  'q' => 'type:worklist.subtotals of:tickets by:[created@year,group]',
]);
  
$out = $cerb->get($base_url . 'data/query.json?' . $query);