Upload temporary files via multipart form
Uploads 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.
Query parameters
Maximum file length in bytes (-1 for default)
Response
Temporary files created successfully
Changes
No recorded changes to this endpoint across all 1 revision of this API.