python-nocodb icon indicating copy to clipboard operation
python-nocodb copied to clipboard

Adds the ability to upload local files and associate them with an attachment field.

Open alex-berlin-tv opened this issue 2 years ago • 0 comments

The new upload_file method allows a local file to be uploaded to NocoDB and assigned to a field with the attachment type. The upload is done in two steps: First, the file is transferred to the NocoDB server using the upload endpoint (https://apis.nocodb.com/#tag/Storage/operation/storage-upload) of the Meta-Api. Then, with the help of table_row_update, the specified field is linked to the uploaded file.

alex-berlin-tv avatar Jul 07 '23 16:07 alex-berlin-tv