From cd2aa9d3c77dba70d5c41da672af4708ea425600 Mon Sep 17 00:00:00 2001 From: shogren Date: Tue, 23 Jan 2024 14:23:23 -0500 Subject: [PATCH 1/2] adding dmarc and dkim2 fields to API reference --- spec/transactional.json | 76 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 71 insertions(+), 5 deletions(-) diff --git a/spec/transactional.json b/spec/transactional.json index 11969c0..4340645 100644 --- a/spec/transactional.json +++ b/spec/transactional.json @@ -177,7 +177,7 @@ }, "swagger": "2.0", "info": { - "version": "1.0.55", + "version": "1.0.56", "title": "Mailchimp Transactional API", "contact": { "name": "API Support", @@ -5188,7 +5188,26 @@ }, "dkim": { "type": "object", - "description": "details about the domain's DKIM record", + "description": "details about the domain's Legacy DKIM record", + "properties": { + "valid": { + "type": "boolean", + "description": "whether the domain's Legacy DKIM record is valid for use with Mandrill" + }, + "valid_after": { + "type": "string", + "format": "date-time", + "description": "when the domain's Legacy DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it." + }, + "error": { + "type": "string", + "description": "an error describing the Legacy DKIM record, or null if the record is correct" + } + } + }, + "dkim2": { + "type": "object", + "description": "details about the domain's rotatable 2048 bit DKIM record", "properties": { "valid": { "type": "boolean", @@ -5205,6 +5224,20 @@ } } }, + "dmarc": { + "type": "object", + "description": "details about the domain's DMARC record", + "properties": { + "valid": { + "type": "boolean", + "description": "whether the domain's DMARC record is valid for use with Mandrill" + }, + "error": { + "type": "string", + "description": "an error describing the DMARC record, or null if the record is correct" + } + } + }, "verified_at": { "type": "string", "format": "date-time", @@ -5411,7 +5444,26 @@ }, "dkim": { "type": "object", - "description": "details about the domain's DKIM record", + "description": "details about the domain's Legacy DKIM record", + "properties": { + "valid": { + "type": "boolean", + "description": "whether the domain's Legacy DKIM record is valid for use with Mandrill" + }, + "valid_after": { + "type": "string", + "format": "date-time", + "description": "when the domain's Legacy DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it." + }, + "error": { + "type": "string", + "description": "an error describing the Legacy DKIM record, or null if the record is correct" + } + } + }, + "dkim2": { + "type": "object", + "description": "details about the domain's rotatable 2048 bit DKIM record", "properties": { "valid": { "type": "boolean", @@ -5428,6 +5480,20 @@ } } }, + "dmarc": { + "type": "object", + "description": "details about the domain's DMARC record", + "properties": { + "valid": { + "type": "boolean", + "description": "whether the domain's DMARC record is valid for use with Mandrill" + }, + "error": { + "type": "string", + "description": "an error describing the DMARC record, or null if the record is correct" + } + } + }, "verified_at": { "type": "string", "format": "date-time", @@ -9471,7 +9537,7 @@ "type": "array", "description": "an optional list of events that will be posted to the webhook", "items": { - "type": "string", + "type": "object", "description": "the individual event to listen for", "enum": [ "send", @@ -9703,7 +9769,7 @@ "type": "array", "description": "an optional list of events that will be posted to the webhook", "items": { - "type": "string", + "type": "object", "description": "the individual event to listen for", "enum": [ "send", From 979b55a7d1c0312a9b5e9e742b5d6e4f512a6e16 Mon Sep 17 00:00:00 2001 From: shogren Date: Tue, 23 Jan 2024 14:27:57 -0500 Subject: [PATCH 2/2] changelog updated --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb5fa4f..f05538b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Transactional +### 1.0.56 +* Adding DMARC and DKIM2 fields to the API reference + ### 1.0.55 * Updating github actions bot user email