UEditor endpoint: configuration and image upload.β
GET
/erupt-api/file/upload-ueditor/{erupt}/{field}
Without a file it returns the UEditor config (optionally wrapped in the JSONP callback); with a multipart "file" part it behaves like upload-html-editor and answers in the UEditor response format. Token in the _token query parameter.
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"Query Parameters
callback
JSONP callback name for the configuration request
Type
string
Format
"string"file
Image to store
Type
string
Format
"binary"Responsesβ
OK
*/*
JSON
[
]