From ea13a221e36a993b877d5049d2d849748f84e5f0 Mon Sep 17 00:00:00 2001 From: danielwalker Date: Fri, 12 Aug 2022 11:27:57 +0100 Subject: [PATCH 1/2] Added two new parameters 'count' and 'offset' to the tagSearch method, the result set was limited by default to 10 results with no way to request more. --- spec/marketing.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/spec/marketing.json b/spec/marketing.json index 361d2ff..a607c3c 100644 --- a/spec/marketing.json +++ b/spec/marketing.json @@ -72290,6 +72290,25 @@ "description": "The search query used to filter tags. The search query will be compared to each tag as a prefix, so all tags that have a name starting with this field will be returned.", "required": false, "type": "string" + }, + { + "name": "count", + "x-title": "Count", + "in": "query", + "description": "The number of records to return. Default value is 10. Maximum value is 1000", + "required": false, + "default": 10, + "maximum": 1000, + "type": "integer" + }, + { + "name": "offset", + "x-title": "Offset", + "in": "query", + "description": "Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0.", + "required": false, + "default": 0, + "type": "integer" } ], "responses": { From 2138f163a060d409f7bc39514830ae68989c9533 Mon Sep 17 00:00:00 2001 From: danielwalker Date: Fri, 12 Aug 2022 11:44:44 +0100 Subject: [PATCH 2/2] Updated the marketing.json version number --- spec/marketing.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/marketing.json b/spec/marketing.json index a607c3c..9efbfad 100644 --- a/spec/marketing.json +++ b/spec/marketing.json @@ -800,7 +800,7 @@ }, "swagger": "2.0", "info": { - "version": "3.0.78", + "version": "3.0.79", "title": "Mailchimp Marketing API", "contact": { "name": "Mailchimp API Support",