From 39d79366a3c8bf581e722becd2db2a441755d35a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 30 Jul 2018 20:28:41 +0200 Subject: [PATCH] Documented date range params for visits endpoint --- .../v1_short-codes_{shortCode}_visits.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/swagger/paths/v1_short-codes_{shortCode}_visits.json b/docs/swagger/paths/v1_short-codes_{shortCode}_visits.json index ff390fce..f431fc00 100644 --- a/docs/swagger/paths/v1_short-codes_{shortCode}_visits.json +++ b/docs/swagger/paths/v1_short-codes_{shortCode}_visits.json @@ -15,6 +15,24 @@ "schema": { "type": "string" } + }, + { + "name": "startDate", + "in": "query", + "description": "The date (in ISO-8601 format) from which we want to get visits.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "endDate", + "in": "query", + "description": "The date (in ISO-8601 format) until which we want to get visits.", + "required": false, + "schema": { + "type": "string" + } } ], "security": [