Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
alex-berlin-tv wants to merge2 commits intoelchicodepython:master
base:master
Choose a base branch
Loading
fromalex-berlin-tv:file_upload

Conversation

alex-berlin-tv
Copy link
Contributor

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.

This omits the Pyright warning when an APIToken/JWAuthToken is used in thecreation of a new NocoDBRequests instance.
…achment field.The new upload_file method allows a local file to be uploaded to NocoDB and assignedto a field with the attachment type. The upload is done in two steps: First, the fileis 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.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@alex-berlin-tv@elchicodepython

[8]ページ先頭

©2009-2025 Movatter.jp