PUT
/
links
Create a link
curl --request PUT \
  --url https://{FUSION HOST}/api/links \
  --header 'Content-Type: application/json' \
  --data '{
  "subject": {
    "type": "APPKIT_APP",
    "id": "<string>",
    "uri": "<string>",
    "canonicalName": "<string>"
  },
  "object": {
    "type": "APPKIT_APP",
    "id": "<string>",
    "uri": "<string>",
    "canonicalName": "<string>"
  }
}'
{
  "subject": {
    "type": "APPKIT_APP",
    "id": "<string>",
    "uri": "<string>",
    "canonicalName": "<string>"
  },
  "object": {
    "type": "APPKIT_APP",
    "id": "<string>",
    "uri": "<string>",
    "canonicalName": "<string>"
  },
  "linkType": "DependsOn",
  "originator": "<string>"
}

Body

application/json

A JSON-formatted link definition that specifies the subject, object, and linkType.

The body is of type object.

Response

200 - application/json

successful operation

The response is of type object.