Skip to main content

Content URL In File Info Representations


mdavis-tw

When requesting a the information about a File using GET /files/:id?fields=representations each entry is supposed to contain a content property that has the url_template. Is that incorrect?


If so, why would that not be included?

4 replies

CodeBoxSeb
  • Participating Frequently
  • 58 replies
  • August 22, 2023

mdavis-tw
  • Author
  • Participating Frequently
  • 6 replies
  • August 22, 2023

I did not, these are pretty common file types I did not think it was a likely reason. The files in question are all supported for “Thumbnails”.


If they were unsupported would they list Representations in their info responses at all?


smartoneinok Box
Forum|alt.badge.img

hmm… if they all say yes under thumbnail, I’m not sure why the urls are not included. Have you tired going through the three steps listed here for one of the files in question?



mdavis-tw
  • Author
  • Participating Frequently
  • 6 replies
  • August 22, 2023

This was in the first step. The documentation for the larger File resources showed the “content” property in the “representations” and I believed they would contain this. The first step of your linked reference shows a snippet without the “content” property, but I assumed (perhaps incorrectly) that this was removed for brevity. The second step of your reference then includes the URL I am looking for, so perhaps that portion is only returned if the headers are included?


I will try this.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings