edubase_post_filebin_upload
Creates a temporary filebin upload link for images, audio, SCORM, or files, returning an ID and expiration for use in EduBase fields. Force a new link when needed.
Instructions
Generate an upload link for the temporary file storage (filebin). Returns the filebin identifier, the upload link, its expiration and the maximum file size. Upload the file with edubase_filebin, then reference the filebin identifier in the fields accepting files (e.g. question images and attachments). A previous valid link is returned unless force is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | type of file to be uploaded (IMAGE/AUDIO/SCORM/FILE) | |
| force | No | force new link for another file even if a previous valid link exists |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| limit | Yes | ||
| valid | Yes |