Replies: 3 comments 3 replies
-
Hi ecxs What might work is exposing port 9000 of the minio container in the docker-compose.yaml and using the MINIO API to upload the file. This takes care of putting the file in the storage though, if you need to create a table entry with an attachment column pointing to this attachment you need to use the Budibase API to create the row, taking care to come up with the correct attachment column information. |
Beta Was this translation helpful? Give feedback.
-
Dear @ecxs It looks like Budibase organizes uploaded files to something like
and the url is something like
where filename is generated randomly plus the original file extension. This is my intuition though not exactly glanced at the source code. Also not sure exactly how MINIO works, but I think one should upload the file using its API - maybe just putting the file in the container volume in the right path is not enough... |
Beta Was this translation helpful? Give feedback.
-
Related to my question here #14645 |
Beta Was this translation helpful? Give feedback.
-
Is it possible to upload an attachment via the public API? And if so, how?
Beta Was this translation helpful? Give feedback.
All reactions