Hello there,
I’m wondering what’s the best way to get assets through API.
Actually, I’m calling API from another website to get a model content. The model (singleton) contains an asset and so I’m getting :
array (
'path' => '/2025/01/23/dummy_uid_679684sq6s4ea4f.pdf',
'title' => 'Dummy',
'mime' => 'application/pdf',
'type' => 'document',
'description' => '',
'tags' =>
array (
),
'size' => 13264,
'colors' => NULL,
'width' => NULL,
'height' => NULL,
'_hash' => 'd6584fs5f1ds5641er541rzedcv',
'_created' => 1737648728,
'_modified' => 1737648728,
'_cby' => 's645615fzs1561651',
'folder' => '',
'_id' => 'dsdfs6541651za658',
What’s the best way to load the asset with its full url, in an iframe for example ? As the full url is not included in the API response
Thanks