POST
/
data
/
{username}
/
{namespace}
/
{datasetName}
curl --request POST \
--url https://api.datalinks.com/api/v1/data/{username}/{namespace}/{datasetName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data 'OntologyObject("movies").filter(name=="Braveheart").searchAround().find("actors").filter(name=="Mel Gibson")'
[
  {}
]

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

namespace
string
required

Namespace for the dataset.

datasetName
string
required

Name of the dataset.

username
string
required

The username associated with the request.

Body

text/plain · string

for details check Querying data

Example:

"OntologyObject(\"objectName\").get()"

Response

200
application/json

Successful response with the ontology data object.

The response is of type object[].