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.
Creates a temporary ObjectSet
from the given definition. This ObjectSet
expires after one hour.
Third-party applications using this endpoint via OAuth2 must request the
following operation scopes: api:ontologies-read api:ontologies-write
.
string
The API name of the ontology. To find the API name, use the List ontologies endpoint or check the Ontology Manager.
object
union
Represents the definition of an ObjectSet
in the Ontology
.
object
Success response.
string
1
2
3
4
5
curl -X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/objectSets/createTemporary" \
-d '{"objectSet":{"type":"base","objectType":"Employee"}}'
1
2
3
{
"objectSetRid": "ri.object-set.main.object-set.c32ccba5-1a55-4cfe-ad71-160c4c77a053"
}