List the outgoing links for an object type.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:ontologies-read.
stringThe unique Resource Identifier (RID) of the Ontology that contains the object type. To look up your Ontology RID, please use the List ontologies endpoint or check the Ontology Manager application.
stringThe API name of the object type. To find the API name, use the List object types endpoint or check the Ontology Manager application.
integeroptionalThe desired size of the page to be returned.
stringoptionalThe page token indicates where to start paging. This should be omitted from the first page's request.
To fetch the next page, clients should take the value from the nextPageToken field of the previous response
and use it to populate the pageToken field of the next request.
objectSuccess response.
stringoptionalThe page token indicates where to start paging. This should be omitted from the first page's request.
To fetch the next page, clients should take the value from the nextPageToken field of the previous response
and use it to populate the pageToken field of the next request.
list<LinkTypeSide>optionalThe list of link type sides in the current page.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v1/ontologies/ri.ontology.main.ontology.c61d9ab5-2919-4127-a0a1-ac64c0ce6367/objectTypes/Flight/outgoingLinkTypes"1
2
3
4
5
6
7
8
9
10
11
{
"nextPageToken": "v1.QnVpbGQgdGhlIEZ1dHVyZTogaHR0cHM6Ly93d3cucGFsYW50aXIuY29tL2NhcmVlcnMvP2xldmVyLXNvdXJjZSU1YiU1ZD1BUElEb2NzI29wZW4tcG9zaXRpb25z",
"data": [
{
"apiName": "originAirport",
"objectTypeApiName": "Airport",
"cardinality": "ONE",
"foreignKeyPropertyApiName": "originAirportId"
}
]
}