Skip to content

Build model of an erupt.​

GET
/erupt-api/build/{erupt}

Everything the frontend needs to render the table, search bar, form and buttons of one @Erupt class: field metadata, default search conditions, the current user's PowerObject, plus the build models of nested erupts (tab, multi-form, combine) and of row operations that open another erupt as a form.

授权​

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"

响应​

OK

*/*
JSON
{
  
"eruptModel": {
  
  
"mapKey": "[Circular Reference]"
  
},
  
"tabErupts": "[Circular Reference]",
  
"combineErupts": {
  
  
"mapKey": "[Circular Reference]"
  
},
  
"operationErupts": {
  
  
"mapKey": "[Circular Reference]"
  
},
  
"power": {
  
  
"add": true,
  
  
"edit": true,
  
  
"delete": true,
  
  
"query": true,
  
  
"viewDetails": true,
  
  
"export": true,
  
  
"importable": true,
  
  
"print": true,
  
  
"copy": true,
  
  
"cellEdit": true,
  
  
"batchEdit": true,
  
  
"ai": true,
  
  
"comment": true,
  
  
"revision": true
  
},
  
"scope": {
  
  
"name": "string",
  
  
"bind": [
  
  
  
"""",""""
  
  
]
  
}
}

试验场​

服务器
授权
请求头
变量
键
值

示例​

Released under the Apache-2.0 License.