I’ve uploaded some files using the Files API, but I cannot find a way to download it? The documentation (https://docs.threekit.com/docs/files-api) only shows how to upload files and return files’ details, but no the file itself.
You can also retrieve a file this way:
<env>/api/files/:fileId/content env will be which environment you are working out of (Preview, admin, admin-fts, etc).
Thanks for your quick response. I’m uploading a snapshot as mentioned in the below link
The API you mentioned doesn’t return the file, it only retrieves the file’s details as shown below
Which API did you try, I edited my original post so I mentioned two: Asset Jobs API and retrieving the files directly. Did neither work? I successfully imported & retrieved a file by using the ID and using the
That was the missing API in the documentation, the “/content” part.
Happy to help - let me now if you have any more questions!
I’m all set, thanks. Nevertheless, it would be great if the documentation could be reviewed. I noticed there are some options no longer available (e.g. saving files in the save configuration API), some of the responses shown in the documentation don’t match with the current API version, and also provide more details on how to do things.
Thanks for the feedback - we are always adding and improving our documentation, I will be sure to get this addressed as well.