POST
/
ontology
/
{username}
/
{namespace}
/
{datasetName}
cURL
curl --request POST \
  --url https://api.datalinks.com/api/v1/ontology/{username}/{namespace}/{datasetName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "add": [
    {
      "destination": "ri.user.examples.actor.name",
      "hits": 6,
      "matchType": "ExactMatch",
      "origin": "ri.user.examples.movies.director"
    }
  ],
  "remove": [
    {
      "destination": "ri.user.examples.actor.name",
      "hits": 6,
      "matchType": "ExactMatch",
      "origin": "ri.user.examples.movies.director"
    }
  ]
}'
This response does not have an example.

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

application/json

Response

200

Success