mailgun / documentation

Mailgun Documentation
http://documentation.mailgun.com/
MIT License
79 stars 148 forks source link

Error in unsubscribes API example for getting a single unsubscribe #652

Open provinzkraut opened 1 year ago

provinzkraut commented 1 year ago

The example response to view a single unsubscribes contains the tag field, holding a single string, whereas the API actually returns this data as the tags field, as an array of strings.

Example:

{
  "address": "alice@example.com",
  "tag": "*",
  "created_at": "Fri, 21 Oct 2011 11:02:55 GMT"
}

What the API actually returns:

{
  "address": "alice@example.com",
  "tags": ["*"],
  "created_at": "Fri, 21 Oct 2011 11:02:55 GMT"
}