mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
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
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"items": [
|
|
{
|
|
"event": "delivered",
|
|
"recipient": "recipient1@gmail.com",
|
|
"user-variables": {
|
|
"email-id": "5fbe5d9607bdfa3765dc3819"
|
|
},
|
|
"message": {
|
|
"headers": {
|
|
"message-id": "0201125133533.1.C55897076DBD42F2@domain.com"
|
|
}
|
|
},
|
|
"timestamp": 1606399301.266528
|
|
},
|
|
{
|
|
"event": "failed",
|
|
"severity": "temporary",
|
|
"recipient": "recipient2@gmail.com",
|
|
"user-variables": {
|
|
"email-id": "5fbe5d9607bdfa3765dc3819"
|
|
},
|
|
"message": {
|
|
"headers": {
|
|
"message-id": "0201125133533.1.C55897076DBD42F2@domain.com"
|
|
}
|
|
},
|
|
"timestamp": 1606399301.266528
|
|
},
|
|
{
|
|
"event": "failed",
|
|
"severity": "permanent",
|
|
"recipient": "recipient3@gmail.com",
|
|
"user-variables": {
|
|
"email-id": "5fbe5d9607bdfa3765dc3819"
|
|
},
|
|
"message": {
|
|
"headers": {
|
|
"message-id": "0201125133533.1.C55897076DBD42F2@domain.com"
|
|
}
|
|
},
|
|
"timestamp": 1606399301.266528
|
|
},
|
|
{
|
|
"event": "unsubscribed",
|
|
"recipient": "recipient4@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-1-previous",
|
|
"first": "https://api.eu.mailgun.net/v3/domain.com/events/all-1-first",
|
|
"last": "https://api.eu.mailgun.net/v3/domain.com/events/all-1-last",
|
|
"next": "https://api.eu.mailgun.net/v3/domain.com/events/all-1-next"
|
|
}
|
|
}
|