Create a changeset
POST {{baseUrl}}/api/model/changesets
Creates a new changeset. This request will return a changeset ID, which will be used in subsequent requests to read, create, and/or update objects through the modeling APIs (i.e. filters, facts, attributes, etc.). A changeset maintains an indivisible group of creations or modifications on modeling objects. Eventually the changes in the changeset should be either committed as one transaction, or abandoned altogether. A Project ID and authorization token are required to execute the request. An authorization token can be obtained using Authentication endpoints.
Body
PARAM
Key | Datatype | Required | Description |
schemaEdit
|
boolean | Specify whether the changeset includes the creation or update of schema objects. Set "schemaEdit" to true if this changeset ID is used to create or update schema objects through their corresponding APIs (tables, facts, attributes, hierarchies, transformations, partitions, functions). It places an "exclusive_constituent" lock on the schema. Default value : false |
HEADERS
Key | Datatype | Required | Description |
X-MSTR-AuthToken
|
string | (Required) Authorization token | |
X-MSTR-ProjectID
|
string | (Required) Project ID |
RESPONSES
status
ENDPOINTS