Hi community,
I was wondering on how I can efficiently get the header image of a blogpost. I know I can use the 'https://{your-domain}/wiki/api/v2/blogposts/{id}/attachments' call to get all the attachments of a blogposts, including the header image if it exists. However, it will also give me all the other images that have been used within the blogpost. The issue is, I'm not sure on how I can distinguish the header image out of all the images I retrieve out of that call. I don't see a way to add an additional query to the call, or distinguish it based on the result I get back.
Any help would be appreciated.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.