The standard Reporting plugin provides a REST style API for access to information stored in reporting collections.
All APIs take an optional
output=pretty argument to pretty-print the output JSON.
The service user accessing this API must be a member of the
Reporting API group (code
For extra security, create the API key with a Request path of
/api/reporting/v0/ to restrict your API key to the Reporting API.