The cover image URL is currently not available via the API; you'd need a (fairly simple) class extension ( \XF\Entity\Thread::setupApiResultData ) to add this.
The cover image URL is currently not available via the API; you'd need a (fairly simple) class extension ( \XF\Entity\Thread::setupApiResultData ) to add this.
thank you I got the cover image by extending the class, but it seems to return thumbnail size, maybe I need to get the attachment itself to get larger size?