dspace_upload_bitstream
Upload a local file as a bitstream attachment to a DSpace item, adding it to the target bundle (default ORIGINAL) and creating the bundle if it does not exist. Admin only.
Instructions
Upload a local file as a bitstream (attachment) to a DSpace item (admin only). The file is added to the item's bundle (default "ORIGINAL", where DSpace stores primary files); the bundle is created automatically if it does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Bitstream name shown in DSpace (defaults to the file name) | |
| filePath | Yes | Absolute path to the local file to upload | |
| itemUuid | Yes | UUID of the item to attach the file to | |
| mimeType | No | MIME type of the file (auto-detected from the extension if omitted) | |
| bundleName | No | Target bundle name (default: "ORIGINAL"). Use "LICENSE" or "THUMBNAIL" for special bundles. | |
| description | No | Optional description stored as dc.description on the bitstream |