GET /files/:id endpoint by using
the fields=representations query parameter and the x-rep-hints header.
The workflow involves:
- Getting the list of available representations for a file.
-
Checking a specific representation’s status and retrieving its
url_template. - Downloading the representation if available.
file.get_representation_info(rep_hints) method to access these capabilities.