Skip to main content
GET
/
links
List all links
import requests

url = "https://{FUSION HOST}/api/links"

response = requests.get(url)

print(response.json())
[
  {
    "subject": "group:4e6ee9a6-d4ab-413a-ac70-a27c1445bb60",
    "object": "collection:default_signals_aggr",
    "linkType": "hasPart"
  },
  {
    "subject": "group:4e6ee9a6-d4ab-413a-ac70-a27c1445bb60",
    "object": "spark:default_click_signals_aggregation",
    "linkType": "hasPart"
  },
  {
    "subject": "group:4e6ee9a6-d4ab-413a-ac70-a27c1445bb60",
    "object": "collection:default",
    "linkType": "relatesTo"
  },
  {
    "subject": "group:4e6ee9a6-d4ab-413a-ac70-a27c1445bb60",
    "object": "collection:default_signals",
    "linkType": "hasPart"
  }
]

Query Parameters

subject
string
default:*

Return only links with a matching subject.

object
string
default:*

Return only links with a matching object.

Return only links with a matching type.<br/><br/>Possible link types:

  • DependsOn - The subject depends on the object.

  • Supports - The subject is depended on by the object (the reverse of dependsOn).

  • IsPartOf - The subject is part of the object, where the object is a group.

  • HasPart - The subject is a group, of which the object is a member (the reverse of isPartOf).

  • RelatesTo - The subject relates to the object. This is a uni-directional relationship that associates two objects that have none of the relationships described above.

  • InContextOf - The subject exists in the context of the object, which is an app.

  • HasContext - The subject is an app that contains the object.

  • Self - The subject and the object are the same.

Available options:
dependsOn,
supports,
isPartOf,
hasPart,
relatesTo,
inContextOf,
hasContext,
self
transitive
boolean
default:false

Return transitive links.

bypassCache
boolean
default:false

Bypass the cache and retrieve directly from storage.

Response

200 - application/json

successful operation

subject

Resource reference as a string, such as 'datasource:ratings-db'

object

Resource reference as a string, such as 'datasource:ratings-db'

Possible link types:

  • DependsOn - The subject depends on the object.

  • Supports - The subject is depended on by the object (the reverse of dependsOn).

  • IsPartOf - The subject is part of the object, where the object is a group.

  • HasPart - The subject is a group, of which the object is a member (the reverse of isPartOf).

  • RelatesTo - The subject relates to the object. This is a uni-directional relationship that associates two objects that have none of the relationships described above.

  • InContextOf - The subject exists in the context of the object, which is an app.

  • HasContext - The subject is an app that contains the object.

  • Self - The subject and the object are the same.

Available options:
dependsOn,
supports,
isPartOf,
hasPart,
relatesTo,
inContextOf,
hasContext,
self
originator
string