OpenMeta
Home
Documentation
OpenAPI
About
Home
Documentation
OpenAPI
About
DesignModel
Copy Page
Model APIs
copyById
POST
copyByIdAndFetch
POST
copyByIds
POST
copyByIdsAndFetch
POST
count
POST
createList
POST
createListAndFetch
POST
createOne
POST
createOneAndFetch
POST
deleteById
POST
deleteByIds
POST
deleteBySliceId
POST
getById
POST
getByIds
POST
getCopyableFields
GET
getRowFiles
GET
getUnmaskedField
GET
getUnmaskedFields
GET
searchList
POST
searchName
POST
searchPage
POST
searchPivot
POST
searchSimpleAgg
POST
updateByFilter
POST
updateList
POST
updateListAndFetch
POST
updateOne
POST
updateOneAndFetch
POST
uploadFile
POST
uploadFileToRow
POST
Toolkit
fixUnencryptedData
recompute
validateExpression
ChangeLog
getChangeLog
getSliceChangeLog
searchPage
searchPageByModel
File Record
getByFileId
Import Template
getTemplateFile
listByModel
SysPreData
loadData
uploadFile
SysView
getModelViews
setDefaultView
Data Export
dynamicExport
exportByFileTemplate
exportByTemplate
Import
importWithoutTemplate
importByTemplate
Metadata Upgrade API
reload
upgrade
Export Template
listByModel
DeptInfo
readCustomize
AiRobot
Chat API
Stream Chat
DocumentTemplate
generateDocument
FlowConfig
getByModel
getFlowById
SysCron
Execute multiple for once now
Execute once now
SysModel
getModelFields
SysOptionSet
getOptionSetItems
Flow Automation
API Event
Onchange Event
Simulate Event Message
DesignAppEnv
getNotVersionedChanges
mergeBetweenEnv
previewBetweenEnv
DesignAppVersion
createOne
publish
reloadAppVersion
DesignModel
downloadCode
GET
downloadZip
GET
previewCode
GET
previewDDL
GET
DesignModel
Copy Page
downloadCode
GET
/DesignModel/downloadCode
Try it
Run in Apifox
Run in Apifox
DesignModel
Download specified code file
Request
Query Params
Generate Code
id
integer
<int64>
required
Model ID
fileType
string
required
File type, supporting 'entity', 'service', 'serviceImpl', 'controller'.
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
GET
'/DesignModel/downloadCode?id&fileType'
Responses
🟢
200
OK
*/*
OK
Body
Generate Code
string
<byte>
optional
Example
"string"
Modified at
2025-04-04 11:36:48
Previous
reloadAppVersion
Next
downloadZip