From 9e249bef3f912eec7585a8d91c727a2cc50f09f5 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Fri, 11 Jan 2019 19:56:48 +0100 Subject: [PATCH] Make filter on record-report endpoint non-requred --- api/crm/spec.json | 2 +- api/crm/spec/module.json | 2 +- docs/crm/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/crm/spec.json b/api/crm/spec.json index 38ec504e6..6bdf80f41 100644 --- a/api/crm/spec.json +++ b/api/crm/spec.json @@ -353,7 +353,7 @@ { "type": "string", "name": "filter", - "required": true, + "required": false, "title": "Filter (eg: 'DATE(foo) > 2010')" } ] diff --git a/api/crm/spec/module.json b/api/crm/spec/module.json index be96c9a64..3b1e6c36d 100644 --- a/api/crm/spec/module.json +++ b/api/crm/spec/module.json @@ -149,7 +149,7 @@ }, { "name": "filter", - "required": true, + "required": false, "title": "Filter (eg: 'DATE(foo) \u003e 2010')", "type": "string" } diff --git a/docs/crm/README.md b/docs/crm/README.md index e40f7e399..bffa12895 100644 --- a/docs/crm/README.md +++ b/docs/crm/README.md @@ -168,7 +168,7 @@ CRM module definitions | --------- | ---- | ------ | ----------- | ------- | --------- | | metrics | string | GET | Metrics (eg: 'COUNT(*) AS count, SUM(money)') | N/A | YES | | dimensions | string | GET | Dimensions (eg: 'DATE(foo), status') | N/A | YES | -| filter | string | GET | Filter (eg: 'DATE(foo) > 2010') | N/A | YES | +| filter | string | GET | Filter (eg: 'DATE(foo) > 2010') | N/A | NO | | moduleID | uint64 | PATH | Module ID | N/A | YES | ## List/read records from module section