3
0

Report metrics field is no longer required

This commit is contained in:
Denis Arh 2019-01-17 13:28:55 +01:00
parent 7c87decc9f
commit 2e875ee212
3 changed files with 5 additions and 5 deletions

View File

@ -341,8 +341,8 @@
{
"type": "string",
"name": "metrics",
"required": true,
"title": "Metrics (eg: 'COUNT(*) AS count, SUM(money)')"
"required": false,
"title": "Metrics (eg: 'SUM(money), MAX(calls)')"
},
{
"type": "string",

View File

@ -137,8 +137,8 @@
"get": [
{
"name": "metrics",
"required": true,
"title": "Metrics (eg: 'COUNT(*) AS count, SUM(money)')",
"required": false,
"title": "Metrics (eg: 'SUM(money), MAX(calls)')",
"type": "string"
},
{

View File

@ -166,7 +166,7 @@ CRM module definitions
| Parameter | Type | Method | Description | Default | Required? |
| --------- | ---- | ------ | ----------- | ------- | --------- |
| metrics | string | GET | Metrics (eg: 'COUNT(*) AS count, SUM(money)') | N/A | YES |
| metrics | string | GET | Metrics (eg: 'SUM(money), MAX(calls)') | N/A | NO |
| dimensions | string | GET | Dimensions (eg: 'DATE(foo), status') | N/A | YES |
| filter | string | GET | Filter (eg: 'DATE(foo) > 2010') | N/A | NO |
| moduleID | uint64 | PATH | Module ID | N/A | YES |