Ghost/ghost/mailgun-client/test/fixtures/all-2.json
Daniel Lockyer 8a32efac1f
Added further tests to mailgun-client package
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
2022-08-10 19:02:53 +02: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.mailgun.net/v3/domain.com/events/all-2-previous",
"first": "https://api.mailgun.net/v3/domain.com/events/all-2-first",
"last": "https://api.mailgun.net/v3/domain.com/events/all-2-last",
"next": "https://api.mailgun.net/v3/domain.com/events/all-2-next"
}
}