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 the content of a media item referenced by this property.
Supports a single byte range specified by the Range header as bytes=start-end or bytes=start-.
A satisfiable range returns 206 Partial Content with Content-Range, Accept-Ranges, and the
content length of the returned range. An unsatisfiable range returns 416 Range Not Satisfiable
with Content-Range: bytes */<total length> and an empty body. Unsupported or malformed ranges
are ignored, returning the full content with 200 OK.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:ontologies-read.
stringThe API name or RID of the Ontology. To find the API name or RID, use the List Ontologies endpoint or check the Ontology Manager.
stringThe API name of the object type. To find the API name, use the List object types endpoint or check the Ontology Manager.
stringThe primary key of the object with the media reference property.
stringThe API name of the media reference property. To find the API name, check the Ontology Manager or use the Get object type endpoint.
stringoptionalThe package rid of the generated SDK.
stringoptionalThe version of the generated SDK.
stringoptionalThe Foundry branch to read from. If not specified, the default branch will be used.
stringoptionalThe ID of an Ontology transaction to read from. Transactions are an experimental feature and all workflows may not be supported.
stringoptionalThe resource identifier of an ontology scenario to read the media reference property from.
booleanoptionalA boolean flag that, when set to true, enables the use of beta features in preview mode.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/objects/employee/50030/media/profile_picture/content?branch=ri.branch..branch.d827184f-ee0e-4351-8b70-efbe51e07252&scenarioRid=ri.actions..scenario.a1b2c3d4-e5f6-7890-abcd-ef1234567890&preview=true"