Gets a specific object with the given primary key.
object
Success response
string
The primary key/unique identifier of an object, useful for interacting with Gotham APIs to load and mutate objects.
string
The title of an object, which represents a display-friendly String of what the object represents.
string
The name of the object in the API - also called the Object Type URI.
map<PropertyApiName, array>
A map of the property values of the object.
string
The name of the property in the API - also called the Property Type URI.
list<PropertyValue>
any
Represents the value of a property. The following table provides expected representations of scalar data types:
Type | JSON encoding | Example |
---|---|---|
Date | ISO 8601 extended local date string | "2021-05-01" |
Decimal | string | "2.718281828" |
Double | number | 3.14159265 |
Integer | number | 238940 |
Long | string | "58319870951433" |
String | string | "Call me Ishmael" |
Timestamp | ISO 8601 extended offset date-time string in UTC zone | "2021-01-04T05:00:00Z" |
object
number
number
number
object
Represents a time interval by its start and end datetime. TimeInterval
is generally used when an Object has
a meaningful start and/or end datetime, such as an event. For example, a Meeting might have start and end datetimes
corresponding to when the meeting began and ended.
string
string
1
2
3
curl \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/gotham/v1/objects/ri.gotham.111111-0.object-internal.111111"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"primaryKey": "ri.gotham.111111-0.object-internal.111111",
"objectType": "com.palantir.object.person",
"properties": {
"com.palantir.property.name": [
{
"FIRST_NAME": "John",
"LAST_NAME": "Smith"
}
],
"com.palantir.property.age": [
37
]
}
}