Skip to main content
POST
/
ingest
/
{namespace}
/
{datasetName}
curl --request POST \ --url https://api.datalinks.com/api/v1/ingest/{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" }, { "name": "A Quiet Place", "year": 2018, "budget": 17000000, "director": "John Krasinski" }, { "name": "Dances with Wolves", "year": 1990, "budget": 22000000, "director": "Kevin Costner" }, { "name": "Unforgiven", "year": 1992, "budget": 14000000, "director": "Clint Eastwood" }, { "name": "The Postman", "year": 1997, "budget": 80000000, "director": "Kevin Costner" } ], "link": { "ExactMatch": null } } '
{
  "error_code": "UNAUTHORIZED",
  "message": "Missing authentication token",
  "error_message": "",
  "sub_errors": [
    {
      "code": "<string>",
      "message": "<string>"
    }
  ]
}

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.

Body

application/json
data
object[]
required
infer
object

Response

Returns the ingestion result.