Ghost/ghost/email-analytics-provider-mailgun/test/fixtures/all-2-eu.json
ceecko a9cce0281d Added support for eu Mailgun domain (#73)
closes: https://github.com/TryGhost/Ghost/issues/14640

- eu mailgun domains have a different structure. 
- we weren't accounting for this when fetching the next page of results, meaning that email stats didn't work on EU domains
2022-05-02 19:08:30 +01:00

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"
}
}