Upsert

Authentication

X-API-Keystring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

landscapeIdstringRequired
versionIdstringRequired
diagramIdstringRequired

Query parameters

updateViewedAtbooleanOptional

Request

This endpoint expects an object.
indexdoubleRequired
modelIdstringRequired
model object id this object belongs to
namestringRequired
typeenumRequired
Allowed values:
commentsmap from strings to objectsOptional
commitdoubleOptional
connectionsmap from strings to objectsOptional
descriptionstringOptional
groupIdstring or nullOptional
handleIdstringOptional
labelsmap from strings to stringsOptional
objectsmap from strings to objectsOptional
parentIdstring or nullOptional
pinnedbooleanOptional
pinnedAtdatetimeOptional
pinnedIndexdoubleOptional
statusenumOptional
Allowed values:
zoomOverridesmap from strings to strings or nullOptional
Custom zoom levels for specific model objects within the diagram. The key is the modelObjectId and the value is the diagram id.

Response

OK
diagramobject
diagramContentobject or null

Errors