Auto-complete suggestions for an AUTO_COMPLETE field.
POST
/erupt-api/comp/auto-complete/{erupt}/{field}
Static values from @AutoCompleteType.values are matched case-insensitively, then the configured handler adds its own. The input must be at least triggerLength characters.
授权
tokenHeader
Login token from POST /erupt-api/login, or from /erupt-api/open-api/create-token for server-to-server calls.
类型
API Key (header: 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 AUTO_COMPLETE
类型
必填string
格式
"string"查询参数
val*
Text typed so far
类型
必填string
格式
"string"请求体
application/json
JSON "any object": { }
{
}
响应
OK
*/*
JSON { "any object": { } }
[
]