Report metrics field is no longer required
This commit is contained in:
parent
7c87decc9f
commit
2e875ee212
@ -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",
|
||||
|
||||
@ -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"
|
||||
},
|
||||
{
|
||||
|
||||
@ -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 |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user