cURL
curl --request POST \ --url https://api.datalinks.com/api/v1/ingest/new/{namespace}/{datasetName} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "visibility": "Private", "inferDefinition": { "dataDescription": "Employee dataset containing demographics and compensation.", "fieldDefinition": "id=unique employee identifier\nname=full employee name\nage=employee age in years\ndepartment=work department\nsalary=annual salary in USD\n" } } '
{ "error_code": "UNAUTHORIZED", "message": "Missing authentication token", "error_message": "", "sub_errors": [ { "code": "<string>", "message": "<string>" } ] }
Creates a new dataset within a specified namespace.
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.
Public
Private
"Private"
Show child attributes
Creates a new dataset.