While fetching post on LinkedIn profile, we are getting Digital Media Asset URN for Video and documents. What is a way to find actual URL of Video in API. We are using https://api.linkedin.com/v2/ugcPosts?q=authors. I tried to add projection with request, but it is not returning expected Url.
Projection: (paging,elements((author,created,distribution,firstPublishedAt,id,lastModified,lifecycleState,origin,specificContent(com.linkedin.ugc.ShareContent(,media((description,media((media(video~:playableStreams),thumbnails)),originalUrl,thumbnails)))),visibility)))
The projection works if you don't use the bulk /ugcPosts?q=authors API and instead query the ugcPosts one at a time.
The following CURL command will get the video URL for a UGC Post.