Required capabilities:
dataModelsAcl:WRITE
Add or update (upsert) data models. For unchanged data model specifications, the operation completes without making any changes. We will not update the lastUpdatedTime value for models that remain unchanged.
List of data models to add
required | Array of objects (DataModelCreate) [ 1 .. 100 ] items List of data models to create/update |
List of data models
The response for a failed request.
Data model conflict
{- "items": [
- {
- "space": "string",
- "externalId": "string",
- "name": "string",
- "description": "string",
- "version": "string",
- "views": [
- {
- "type": "view",
- "space": "string",
- "externalId": "string",
- "version": "string"
}
]
}
]
}{- "items": [
- {
- "space": "string",
- "externalId": "string",
- "name": "string",
- "description": "string",
- "version": "string",
- "views": [
- {
- "type": "view",
- "space": "string",
- "externalId": "string",
- "version": "string"
}
], - "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000,
- "isGlobal": true
}
]
}Required capabilities:
dataModelsAcl:READ
List data models defined in the project. You can filter the returned models by the specified space.
List of data models
The response for a failed request.
data_model_list = client.data_modeling.data_models.list(limit=5) for data_model in client.data_modeling.data_models: data_model # do something with the data_model for data_model_list in client.data_modeling.data_models(chunk_size=10): data_model_list # do something with the data model
{- "items": [
- {
- "space": "string",
- "externalId": "string",
- "name": "string",
- "description": "string",
- "version": "string",
- "views": [
- {
- "type": "view",
- "space": "string",
- "externalId": "string",
- "version": "string"
}
], - "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000,
- "isGlobal": true
}
], - "nextCursor": "string"
}Required capabilities:
dataModelsAcl:READ
Retrieve up to 100 data models by their external ids. Views can be auto-expanded when the InlineViews query parameter is set.
List of data models
The response for a failed request.
{- "items": [
- {
- "externalId": "string",
- "space": "string",
- "version": "string"
}
]
}{- "items": [
- {
- "space": "string",
- "externalId": "string",
- "name": "string",
- "description": "string",
- "version": "string",
- "views": [
- {
- "type": "view",
- "space": "string",
- "externalId": "string",
- "version": "string"
}
], - "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000,
- "isGlobal": true
}
]
}Required capabilities:
dataModelsAcl:WRITE
Delete one or more data models. Currently limited to 100 models at a time. This does not delete the views, nor the containers they reference.
List of references to data models you wish to delete
required | Array of objects [ 1 .. 100 ] items |
Items affected by the request
The response for a failed request.
{- "items": [
- {
- "externalId": "string",
- "space": "string",
- "version": "string"
}
]
}{- "items": [
- {
- "externalId": "string",
- "space": "string",
- "version": "string"
}
]
}