upload_file
Upload files to PocketBase collections by specifying file data, collection name, and optional record details for efficient database file management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
additionalFields | No | Additional record fields | |
collection | Yes | Collection name | |
fileData | Yes | File data in base64 format | |
recordId | No | Record ID (optional - if not provided, creates new record) |