8a32efac1f
refs https://github.com/TryGhost/Toolbox/issues/363 - this copies over tests from `email-analytics-provider-mailgun` that are more relevant here - there is now duplication in tests across the two packages but this will be resolved soon
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"items": [
|
|
{
|
|
"event": "delivered",
|
|
"recipient": "recipient5@gmail.com",
|
|
"user-variables": {
|
|
"email-id": "5fbe5d9607bdfa3765dc3819"
|
|
},
|
|
"message": {
|
|
"headers": {
|
|
"message-id": "0201125133533.1.C55897076DBD42F2@domain.com"
|
|
}
|
|
},
|
|
"timestamp": 1606399301.266528
|
|
},
|
|
{
|
|
"event": "failed",
|
|
"severity": "temporary",
|
|
"recipient": "recipient6@gmail.com",
|
|
"user-variables": {
|
|
"email-id": "5fbe5d9607bdfa3765dc3819"
|
|
},
|
|
"message": {
|
|
"headers": {
|
|
"message-id": "0201125133533.1.C55897076DBD42F2@domain.com"
|
|
}
|
|
},
|
|
"timestamp": 1606399301.266528
|
|
}
|
|
],
|
|
"paging": {
|
|
"previous": "https://api.eu.mailgun.net/v3/domain.com/events/all-2-previous",
|
|
"first": "https://api.eu.mailgun.net/v3/domain.com/events/all-2-first",
|
|
"last": "https://api.eu.mailgun.net/v3/domain.com/events/all-2-last",
|
|
"next": "https://api.eu.mailgun.net/v3/domain.com/events/all-2-next"
|
|
}
|
|
}
|