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>"
}
Link two objects together with a link type.
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>"
}
A JSON-formatted link definition that specifies the subject
, object
, and linkType
.
The body is of type object
.
successful operation
The response is of type object
.
Was this page helpful?