Image upload for an HTML_EDITOR field.β
POST
/erupt-api/file/upload-html-editor/{erupt}/{field}
Multipart form field "upload"; token in the _token query parameter. The url is prefixed with the AttachmentProxy file domain when one is registered.
Authorizationsβ
tokenParam
The same login token as a query parameter, for endpoints opened by the browser or an editor that cannot set headers.
Type
API Key (query: _token)
Parametersβ
Header Parameters
erupt*
Name of the @Erupt class the request is scoped to. Must match the {erupt} path segment, or name the parent erupt when the path addresses a nested erupt (tab, sub-form, reference).
Type
Requiredstring
Format
"string"Path Parameters
erupt*
Simple class name of the @Erupt model
Type
Requiredstring
Format
"string"field*
Field name with edit type HTML_EDITOR
Type
Requiredstring
Format
"string"Request Bodyβ
multipart/form-data
Image to store
Format
"binary"Responsesβ
OK
*/*
JSON"any object": {}
{
Β Β
Β Β
}