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 value 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 or RID of the Ontology. To find the API name or RID, use the List Ontologies endpoint or check the Ontology Manager.
string
The API name of the value type. To find the API name, use the List value 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 name of the value type in the API in camelCase format.
string
The display name of the entity.
string
string
string
(enum)Enum values: ACTIVE
, DEPRECATED
union
string
list<ValueTypeConstraint>
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/valueTypes/countryCode?preview=true"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"apiName": "countryInitials",
"description": "A three letter code for a top-level administrative region",
"displayName": "Country Initials",
"status": "ACTIVE",
"fieldType": "string",
"rid": "ri.type-registry.main.value-type.f5ee06ef-6dfd-4d91-a01e-91bd457c719d",
"constraints": [
{
"type": "length",
"length": {
"minimumLength": 3,
"maximumLength": 3
}
}
]
}