Upload temporary files via multipart form
Changed onUploads one or more files as temporary resources via multipart form data. Files are stored temporarily and can be referenced when creating content. The response streams back a JSON object with the created temporary file references. Anonymous access can be allowed via the TEMP_RESOURCE_ALLOW_ANONYMOUS configuration property.
Use this endpoint to supply files for binary and image fields (ImmutableBinaryField, ImmutableImageField) when creating or updating contentlets. After uploading, pass tempFiles[0].id (e.g. "temp_5311313004") as the field value in the workflow fire endpoint. See PUT /api/v1/workflow/actions/default/fire/{systemAction} for the full pattern.
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Maximum file length in bytes (-1 for default)
Request body multipart/form-data
One or more file parts to upload
Response
Temporary files created successfully
Changes
- breaking
request body became required
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
api operation id
uploadTempResourceMultiremoved and replaced withuploadTempFileMultipart - info
api tag
Temporary Filesadded - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking