From aaa54d4d0ab969c5a86961d1f6fff964e179960f Mon Sep 17 00:00:00 2001 From: Pablo Molina Date: Thu, 25 May 2023 09:51:03 -0400 Subject: [PATCH 1/3] Update messages/send-template to remove the templane name reference --- spec/transactional.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/transactional.json b/spec/transactional.json index 0624782..efad115 100644 --- a/spec/transactional.json +++ b/spec/transactional.json @@ -3046,7 +3046,7 @@ }, "template_name": { "type": "string", - "description": "the immutable name or slug of a template that exists in the user's account. For backwards-compatibility, the template name may also be used but the immutable slug is preferred." + "description": "the immutable slug of a template that exists in the user's account. Make sure you don't use the template name as this one might change." }, "template_content": { "type": "array", From ad54a2bde16f9c9d96bf7356dc86c3a9fe15ae48 Mon Sep 17 00:00:00 2001 From: Pablo Molina Date: Thu, 25 May 2023 10:18:40 -0400 Subject: [PATCH 2/3] Updated changelog file --- CHANGELOG.md | 3 +++ spec/transactional.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb2db5f..edd9766 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Transactional +### 1.0.51 +* Fixed `/messages/send-template` documentation where incorrectly referenced the template name usage. + ### 1.0.50 * Added a response parameter to /messages/send and /messages/send-template called 'queued_response' that details why an email was queued. diff --git a/spec/transactional.json b/spec/transactional.json index efad115..5ee2f6e 100644 --- a/spec/transactional.json +++ b/spec/transactional.json @@ -177,7 +177,7 @@ }, "swagger": "2.0", "info": { - "version": "1.0.50", + "version": "1.0.51", "title": "Mailchimp Transactional API", "contact": { "name": "API Support", From eef1695ffc229d9ad6dca9798f11f1d268765f57 Mon Sep 17 00:00:00 2001 From: Pablo Molina Date: Mon, 10 Jul 2023 13:44:40 -0400 Subject: [PATCH 3/3] Removing XML from API responses --- spec/transactional.json | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/transactional.json b/spec/transactional.json index 5ee2f6e..4e81a09 100644 --- a/spec/transactional.json +++ b/spec/transactional.json @@ -191,7 +191,6 @@ "consumes": ["application/json"], "produces": [ "application/json", - "application/xml", "application/x-php", "application/x-yaml; charset=utf-8" ],