Search documentation
karat

+

K

User Documentation ↗

Get Outgoing Link Type

GET/api/v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}

Get an outgoing link for an object type.

Third-party applications using this endpoint via OAuth2 must request the following operation scopes: api:ontologies-read.

Path parameters

ontology
string

The API name of the ontology. To find the API name, use the List ontologies endpoint or check the Ontology Manager.

objectType
string

The API name of the object type. To find the API name, use the List object types endpoint or check the Ontology Manager application.

linkType
string

The API name of the outgoing link. To find the API name for your link type, check the Ontology Manager.

Response body

LinkTypeSideV2
object

Success response.

Hide child attributes

Hide child attributes

apiName
string

The name of the link type in the API. To find the API name for your Link Type, check the Ontology Manager application.

displayName
string

The display name of the entity.

status
string (enum)

The release status of the entity.

Enum values: ACTIVE, EXPERIMENTAL, DEPRECATED

objectTypeApiName
string

The name of the object type in the API in camelCase format. To find the API name for your Object Type, use the List object types endpoint or check the Ontology Manager.

cardinality
string (enum)

Enum values: ONE, MANY

foreignKeyPropertyApiName
string
optional

The name of the property in the API. To find the API name for your property, use the Get object type endpoint or check the Ontology Manager.

linkTypeRid
string

Examples

Request

Copied!
1 2 3 curl \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/ontologies/palantir/objectTypes/Employee/outgoingLinkTypes/directReport"

Response

Copied!
1 2 3 4 5 { "apiName": "directReport", "objectTypeApiName": "Employee", "cardinality": "MANY" }