Hi! I’ve seen this post and see that image uploading is not supported yet. How to upload/download images from table with Coda API?
Are there any plans to add this in the near future? Our team would find this very helpful!
Hi! I’ve seen this post and see that image uploading is not supported yet. How to upload/download images from table with Coda API?
Are there any plans to add this in the near future? Our team would find this very helpful!
Agree… id really like this (and any files). I want to pull pdfs from gmail attachments and push them into a Coda table, but i cant do that currently.
I currently upload the image to dropbox and then push the link to Coda… but this opens another webpage to view the pdf instead of directly in the same window as a modal.
+1 API support for files.
Incidentally, I’m also copying attachments from Gmail, but presumably there are other file-based, use-cases as well.
Thanks!
You can use the API to upload images and files to a Coda table, but only if they are already hosted on a publicly-accessible URL. If you pass that URL (or array of URLs) as the cell value in the API, Coda will ingest the images/files into the table.
I found that the ingest option doesn’t allow you to preview the file in coda when selecting it in a table, only download. Is there any eta on when the functionality to upload files via the API will be available?
Are you certain that’s different for API vs UI uploads? I believe certain content types don’t preview, but I don’t think it’s related to how they were uploaded. You may need to ensure that the correct Content-Type
header is returned by the URL, so that Coda ingests it correctly.
Thanks Eric, I did a test with a PDF stored on my website publicly and the preview worked which is awesome, so it looks to be something with to do with getting it from google drive via a public shared link. Looks like I should be able to get it working via the ingesting.
I’ve built a pack that supports just that upload via API: File Upload Pack, extend Coda with File Upload - Coda
Just pass the list of urls and the pack uploads that to your file column.
The pack also has handlers for Google Drive and Dropbox files, in order to get its direct download URL and upload to Coda.