Remove Image from baserow

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

SaaS

What do you need help with?

Hi,
I am using Baserow for Project Management.

I use Baserow Webhooks and Baserow API extensively as I have integrated the Project Management workspace with Xero Accounting.

One aspect of the Xero integration allows the Baserow user to:

  1. Create an invoice on Xero
  2. Download the Invoice from Xero (PDF)
  3. Upload the invoice to Baserow, for review
  4. Send the Invoice to their customer, via Xero.

In many instances, the user will repeat steps 1, 2 & 3 (above) as they review the invoice, make changes and review again, before sending the invoice.

Each time this happens, I upload the new invoice to Baserow, making the previous invoice redundant. Therefore I need to delete the previous Invoice from Baserow. I assume each image consumes Baserow disk space and the upload review steps can happen many times, per job.

How do I do this via the API?

NOTE: I would like to the previous image from Baserow entirely, not just the row as I can remove the image from the row via the API.

Hi!

At the moment, there is no way to remove a file from Baserow using API. There’s an issue to improve this, but it’s not yet prioritized: Delete files from API · Issue #1309 · baserow/baserow · GitHub

Thank you for the clarification.

This does raise some questions though.

  • Are images embeded into field(s) automatically deleted from the system when their correseponding row is deleted?

  • If you update a field containing images via the application Builder (Initial File name = NULL, Initial File URLs = NULL), are the overwritten/removed images deleted from the system?

  • Do images on the system but that are not embeded in any field on any table count against the available/used disk space?

  • Is there a function(s)/view to manage all images uploaded to Baserow?

  • How do we raise the profile of this issue?

Many thanks.