GET
/
landscapes
/
{landscapeId}
/
versions
/
{versionId}
/
model
/
objects
/
{modelObjectId}
/
diagrams
/
entry
curl --request GET \
  --url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/model/objects/{modelObjectId}/diagrams/entry \
  --header 'Authorization: <authorization>'
{
  "diagram": {
    "commit": 123,
    "description": "<string>",
    "groupId": "<string>",
    "index": 123,
    "labels": {},
    "modelId": "<string>",
    "name": "<string>",
    "parentId": "<string>",
    "pinned": true,
    "pinnedAt": "2023-11-07T05:31:56Z",
    "pinnedIndex": 123,
    "status": "current",
    "handleId": "<string>",
    "type": "context-diagram",
    "commentCount": 123,
    "connectionCount": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "deletedAt": "2023-11-07T05:31:56Z",
    "deletedBy": "user",
    "deletedById": "<string>",
    "id": "<string>",
    "landscapeId": "<string>",
    "objectCount": {
      "actor": 123,
      "app": 123,
      "group": 123,
      "component": 123,
      "store": 123,
      "system": 123,
      "area": 123,
      "box": 123
    },
    "stats": {
      "edits": {
        "all": {
          "count": 123,
          "users": {}
        },
        "day": {},
        "month": {},
        "week": {}
      },
      "views": {
        "all": {
          "count": 123,
          "users": {}
        },
        "day": {},
        "month": {},
        "week": {}
      }
    },
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "version": 123,
    "versionId": "<string>"
  },
  "diagramContent": {
    "comments": {},
    "commit": 123,
    "connections": {},
    "objects": {},
    "tasksProposed": [
      {
        "proposedAt": "2023-11-07T05:31:56Z",
        "proposedBy": "user",
        "proposedById": "<string>",
        "task": {
          "tasks": [
            "<any>"
          ],
          "type": "batch"
        }
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "deletedAt": "2023-11-07T05:31:56Z",
    "deletedBy": "user",
    "deletedById": "<string>",
    "groupId": "<string>",
    "handleId": "<string>",
    "id": "<string>",
    "landscapeId": "<string>",
    "modelId": "<string>",
    "name": "<string>",
    "status": "current",
    "type": "context-diagram",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "version": 123,
    "versionId": "<string>",
    "viewedAt": "2023-11-07T05:31:56Z",
    "viewedBy": "user",
    "viewedById": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

landscapeId
string
required
versionId
string
required
modelObjectId
string
required

Query Parameters

createEntry
boolean
updateViewedAt
boolean

Response

200
application/json
OK
diagram
object
required
diagramContent
object
required