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.
save ontology
Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.
Authorization
Authorization: Bearer <token>
Namespace for the dataset.
Name of the dataset.
The username associated with the request.
Success