Appearance
Upgrade a model
About 179 wordsLess than 1 minute
apiModels
2025-03-13
Method
POST
Request URL
/plugin/datafor-modeler/api/mondrian/upgrade
Authorization
Use of this API requires authentication. For details about the authentication method, see
Authorization.
Content Type
application/json
Upgrading Model from Version 4.0 to 4.1
New Features in Version 4.1
- Support for specifying join types
- Support for one-to-many and many-to-many relationships
Preconditions
- The current user must have administrative privileges for the model.
Request Example
{
"xml": "<?xml version=\"1.0\"?><Schema name=\"Demo\" metamodelVersion=\"4.0\" ... </Schema>"
}
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | Request payload containing the model schema XML. |
├── xml | body | string | Yes | The XML representation of the model to be upgraded. |
Response Examples
{
"msg": "success",
"success": true
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data Schema |
---|---|---|---|
200 | OK | The request was successful. | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Description |
---|---|---|---|
msg | string | No | Response message. |
success | boolean | Yes | Indicates whether the request was successful. |