curl --request PATCH \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/content \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"comments": {
"$add": {},
"$remove": [
"<string>"
],
"$replace": {},
"$update": {}
},
"commit": 123,
"connections": {
"$add": {},
"$remove": [
"<string>"
],
"$replace": {},
"$update": {}
},
"objects": {
"$add": {},
"$remove": [
"<string>"
],
"$replace": {},
"$update": {}
}
}
'{
"diagramContent": {
"comments": {},
"commit": 123,
"connections": {},
"objects": {},
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"groupId": "<string>",
"handleId": "<string>",
"id": "<string>",
"landscapeId": "<string>",
"modelId": "<string>",
"name": "<string>",
"status": "current",
"type": "app-diagram",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "user",
"updatedById": "<string>",
"version": 123,
"versionId": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": "user",
"deletedById": "<string>",
"latestEntityId": "<string>",
"viewedAt": "2023-11-07T05:31:56Z",
"viewedBy": "user",
"viewedById": "<string>"
}
}curl --request PATCH \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/content \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"comments": {
"$add": {},
"$remove": [
"<string>"
],
"$replace": {},
"$update": {}
},
"commit": 123,
"connections": {
"$add": {},
"$remove": [
"<string>"
],
"$replace": {},
"$update": {}
},
"objects": {
"$add": {},
"$remove": [
"<string>"
],
"$replace": {},
"$update": {}
}
}
'{
"diagramContent": {
"comments": {},
"commit": 123,
"connections": {},
"objects": {},
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"groupId": "<string>",
"handleId": "<string>",
"id": "<string>",
"landscapeId": "<string>",
"modelId": "<string>",
"name": "<string>",
"status": "current",
"type": "app-diagram",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "user",
"updatedById": "<string>",
"version": 123,
"versionId": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": "user",
"deletedById": "<string>",
"latestEntityId": "<string>",
"viewedAt": "2023-11-07T05:31:56Z",
"viewedBy": "user",
"viewedById": "<string>"
}
}Show child attributes
Show child attributes
Show child attributes
Show child attributes
The percentage along the line where the label should be placed
curved, straight, square top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top Show child attributes
Show child attributes
The percentage along the line where the label should be placed
curved, straight, square top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top Show child attributes
Show child attributes
The percentage along the line where the label should be placed
curved, straight, square top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top Show child attributes
Show child attributes
Show child attributes
area, box actor, app, group, component, store, system Show child attributes
Show child attributes
area, box actor, app, group, component, store, system Show child attributes
Show child attributes
area, box actor, app, group, component, store, system OK
Show child attributes
Show child attributes
Show child attributes
The percentage along the line where the label should be placed
curved, straight, square top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top top-left, top-center, top-right, right-top, right-middle, right-bottom, bottom-right, bottom-center, bottom-left, left-bottom, left-middle, left-top Show child attributes
Show child attributes
area, box actor, app, group, component, store, system user, api-key, notification-key, service current app-diagram, component-diagram, context-diagram user, api-key, notification-key, service user, api-key, notification-key, service user, api-key, notification-key, service