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.
授权
tokenParam
The same login token as a query parameter, for endpoints opened by the browser or an editor that cannot set headers.
类型
API Key (query: _token)
参数
请求头参数
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).
类型
必填string
格式
"string"路径参数
erupt*
Simple class name of the @Erupt model
类型
必填string
格式
"string"field*
Field name with edit type HTML_EDITOR
类型
必填string
格式
"string"请求体
multipart/form-data
Image to store
格式
"binary"响应
OK
*/*
JSON "any object": { }
{
}