POST
/
links
/
{username}
/
{namespace}
/
{datasetName}
Rebuild links
curl --request POST \
  --url https://api.datalinks.com/api/v1/links/{username}/{namespace}/{datasetName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "name": "Braveheart",
      "year": "1995",
      "budget": "72000000",
      "director": "Mel Gibson"
    },
    {
      "name": "Argo",
      "year": "2012",
      "budget": "44500000",
      "director": "Ben Affleck"
    }
  ],
  "link": {
    "ExactMatch": null,
    "GeoMatch": null
  }
}'
[
  {
    "destination": "ri.user.examples.actor.name",
    "hits": 6,
    "matchType": "ExactMatch",
    "origin": "ri.user.examples.movies.director"
  }
]

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>. The token can be generated in Settings

Path Parameters

namespace
string
required

The namespace is the name you want to group your datasets around.

datasetName
string
required

Name of the dataset. The same name may exist in different namespaces, for example companies exists in both sanctions and in the company registry.

owner
string
required

username of the owner of a namespace

Body

application/json

Response

200
application/json

Success

The response is of type object[].