edubase_post_filebin_upload
Creates a temporary upload link for storing files and returns the identifier, link, expiration, and max file size. Use the identifier to reference files in questions, exams, and certificates.
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 (optionally prefixed with filebin:) in the fields accepting files: question images, attachments and audio, exam branding images, and the signature, stamp and logo images of exam certificates. Only the uploading user can use the file. 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 |