OpenMeta
HomeDocumentationOpenAPIAbout
HomeDocumentationOpenAPIAbout
Github
  1. Metadata Upgrade API
  • 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
      POST
    • upgrade
      POST
  • 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
    • downloadZip
    • previewCode
    • previewDDL
  1. Metadata Upgrade API

upgrade

POST
/metadata/upgrade
Metadata Upgrade API

Request

Body Params application/json
array of:
createRows
array [object {1}] 
optional
Additional properties
object 
optional
deleteIds
array [object] 
optional
modelName
string 
optional
updateRows
array [object {1}] 
optional
Additional properties
object 
optional
Example
[
    {
        "createRows": [
            {
                "property1": {},
                "property2": {}
            }
        ],
        "deleteIds": [
            {}
        ],
        "modelName": "string",
        "updateRows": [
            {
                "property1": {},
                "property2": {}
            }
        ]
    }
]

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 --location --request POST '/metadata/upgrade' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "createRows": [
            {
                "property1": {},
                "property2": {}
            }
        ],
        "deleteIds": [
            {}
        ],
        "modelName": "string",
        "updateRows": [
            {
                "property1": {},
                "property2": {}
            }
        ]
    }
]'

Responses

🟢200OK
*/*
OK
Body
code
integer <int32>
optional
Status Code
data
object (FileInfo) 
optional
Result Data
checksum
string 
optional
Checksum
fileId
string 
optional
File ID
fileName
string 
optional
File Name
fileType
enum<string> 
optional
File Type
Allowed values:
JPGPNGWEBPBMPTIFSVGGIFICOCSVTXTDOCDOCXPPTPPTXXLSXLSXPDFJSONXMLYAMLZIPGZIPTARRARGZMP3WAVAACOGGFLACMP4AVIMOVWMVFLV
size
integer <int32>
optional
File Size (KB)
url
string 
optional
Temporary Download URL
message
string 
optional
Common Message
Example
{
    "code": 0,
    "data": {
        "checksum": "string",
        "fileId": "string",
        "fileName": "string",
        "fileType": "JPG",
        "size": 0,
        "url": "string"
    },
    "message": "string"
}
Modified at 2025-04-04 11:36:48
Previous
reload
Next
listByModel
Built with