APIv2 is returning messages in an attribute called Items, whereas the swagger json has a messages attribute.
type messagesResult struct {
Total int `json:"total"`
Count int `json:"count"`
Start int `json:"start"`
Items []data.Message `json:"items"`
}
If I change the attribute in the swagger json to "items", there are other issues with the actual message attributes too.