Diagrams

Create

post/landscapes/{landscapeId}/versions/{versionId}/diagrams

Path parameters

landscapeIdstring required
versionIdstring required

Query parameters

updateViewedAtboolean

Request body

commitnumber

The commit number of the diagram content, incremented on each change

descriptionstring
groupIdstring nullable
indexnumber required
labelsobject
modelIdstring required

model object id this object belongs to

namestring required
parentIdstring nullable
pinnedboolean
pinnedAtstring date-time
pinnedIndexnumber
status'current'
zoomOverridesDiagramZoomOverridesNullable

Custom zoom levels for specific model objects within the diagram. The key is the modelObjectId and the value is the diagram id.

handleIdstring
type'app-diagram' | 'component-diagram' | 'context-diagram' required
commentsobject

The comments on the diagram, keyed by comment id

connectionsobject

The connections on the diagram, keyed by connection id

objectsobject

The objects on the diagram, keyed by object id

Response

OK