PUT
/
landscapes
/
{landscapeId}
/
versions
/
{versionId}
/
model
/
connections
/
{modelConnectionId}
curl --request PUT \
  --url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/model/connections/{modelConnectionId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "commit": 123,
  "description": "<string>",
  "direction": "outgoing",
  "labels": {},
  "name": "<string>",
  "originId": "<string>",
  "status": "live",
  "tagIds": [
    "<string>"
  ],
  "targetId": "<string>",
  "technologyIds": [
    "<string>"
  ],
  "handleId": "<string>"
}'
{
  "modelConnection": {
    "commit": 123,
    "description": "<string>",
    "direction": "outgoing",
    "labels": {},
    "name": "<string>",
    "originId": "<string>",
    "status": "live",
    "tagIds": [
      "<string>"
    ],
    "targetId": "<string>",
    "technologyIds": [
      "<string>"
    ],
    "handleId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "deletedAt": "2023-11-07T05:31:56Z",
    "deletedBy": "user",
    "deletedById": "<string>",
    "diagrams": {},
    "flows": {},
    "id": "<string>",
    "landscapeId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "version": 123,
    "versionId": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

landscapeId
string
required
versionId
string
required
modelConnectionId
string
required

Query Parameters

originConnector
enum<string>
Available options:
top-left,
top-center,
top-right,
right-top,
right-middle,
right-bottom,
bottom-right,
bottom-center,
bottom-left,
left-bottom,
left-middle,
left-top
targetConnector
enum<string>
Available options:
top-left,
top-center,
top-right,
right-top,
right-middle,
right-bottom,
bottom-right,
bottom-center,
bottom-left,
left-bottom,
left-middle,
left-top
updateDiagrams
boolean

Body

application/json
direction
enum<string> | null
required
Available options:
outgoing,
bidirectional
name
string
required
originId
string
required
targetId
string
required
commit
number
description
string
labels
object
status
enum<string>
Available options:
live,
future,
deprecated,
removed
tagIds
string[]
technologyIds
string[]

catalog technology ids assigned to this model

handleId
string

Response

200
application/json
OK
modelConnection
object
required