New: build custom CDF applications with Cognite Flows. Documentation · What's new.
const modelsToUpdate = [
{ id: 3744350296805509, update: { name: { set: 'Model 0 updated' }}},
{ id: 8163365893677939, update: { name: { set: 'Model 2 updated' }}},
];
const models3D = await client.models3D.update(modelsToUpdate);{
"items": [
{
"name": "My Model",
"id": 1000,
"createdTime": 0,
"dataSetId": 4503599627370496,
"space": "<string>",
"metadata": {}
}
]
}Required capabilities:
threedAcl:UPDATE
const modelsToUpdate = [
{ id: 3744350296805509, update: { name: { set: 'Model 0 updated' }}},
{ id: 8163365893677939, update: { name: { set: 'Model 2 updated' }}},
];
const models3D = await client.models3D.update(modelsToUpdate);{
"items": [
{
"name": "My Model",
"id": 1000,
"createdTime": 0,
"dataSetId": 4503599627370496,
"space": "<string>",
"metadata": {}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
List of changes.
1 - 1000 elementsShow child attributes
Corresponding models after applying the updates.
Show child attributes
Was this page helpful?