I am trying to fetch the posts of an organization by using the https://api.linkedin.com/rest/posts endpoint which works fine. In the response I get media urn fields which i need to resolve via the https://api.linkedin.com/rest/images endpoint to get the URL of the images of the posts. Is there any way to get the image URL on the https://api.linkedin.com/rest/posts endpoint?
I assume this is possible via projection because of the following statement in the API documentation:
You can include the following types of content in a Post:
- Images
- Videos
- Article
- Carousels
- MultiImage
- Poll