You are not logged in.
Pages: 1
We are integrating using the JSON API but we cannot seem to get any
published file data.
We are enabling the client to browse the folders and files via our CMS
(which is working fine) and then downloading the file to add to our
CMS image library.
We are doing the login then using:
Folders.GetTopLevelFolders
Files_GetAssetsForParent
Files_GetAssetDetails with the publishedFiles key in 'fields'
but this isn't returning anything in the published files array.
You support team tell me we need to publish the file first via the API but how do we do this?
Offline
Hi,
You can publish files using Downloads.PublishAssetByDownloadSize. I would suggest you look at the docs on publishing https://www.thirdlight.com/docs/display … ish+to+URL for an overview of what it means in IMS - fundamentally you publish a specific variant of a file, and GetAssetDetails returns any variants that have already been published when the `publishedFiles` key is specified.
Dominic
Offline
Pages: 1