This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true
to the request query parameters.
Gets a specific interface type with the given API name.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:ontologies-read
.
string
The API name of the ontology. To find the API name, use the List ontologies endpoint or check the Ontology Manager.
string
The API name of the interface type. To find the API name, use the List interface types endpoint or check the Ontology Manager.
boolean
A boolean flag that, when set to true, enables the use of beta features in preview mode.
object
Success response.
string
The unique resource identifier of an interface, useful for interacting with other Foundry APIs.
string
The name of the interface type in the API in UpperCamelCase format. To find the API name for your interface
type, use the List interface types
endpoint or check the Ontology Manager.
string
The display name of the entity.
string
The description of the interface.
map<SharedPropertyTypeApiName, SharedPropertyType>
A map from a shared property type API name to the corresponding shared property type. The map describes the set of properties the interface has. A shared property type must be unique across all of the properties.
map<SharedPropertyTypeApiName, SharedPropertyType>
A map from a shared property type API name to the corresponding shared property type. The map describes the set of properties the interface has, including properties from all directly and indirectly extended interfaces.
list<InterfaceTypeApiName>
A list of interface API names that this interface extends. An interface can extend other interfaces to inherit their properties.
list<InterfaceTypeApiName>
A list of interface API names that this interface extends, both directly and indirectly.
list<ObjectTypeApiName>
A list of object API names that implement this interface.
map<InterfaceLinkTypeApiName, InterfaceLinkType>
A map from an interface link type API name to the corresponding interface link type. The map describes the set of link types the interface has.
map<InterfaceLinkTypeApiName, InterfaceLinkType>
A map from an interface link type API name to the corresponding interface link type. The map describes the set of link types the interface has, including links from all directly and indirectly extended interfaces.
1
2
3
curl \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/interfaceTypes/Employee?preview=true"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"apiName": "Athlete",
"displayName": "Athlete",
"description": "Good at sportsball",
"properties": {
"name": {
"rid": "com.palantir.property.d1abdbfe-0ce2-4fff-b0af-af21002c314b",
"apiName": "name",
"displayName": "Name",
"dataType": "string"
}
},
"extendsInterfaces": [
"Human"
],
"rid": "ri.ontology.main.interface.bea1af8c-7d5c-4ec9-b845-8eeed6d77482"
}