Import a file as a dataset

Changed on

Import a CSV or Senzing file as a named dataset. Rows are stored (MySQL/Postgres when configured) and loaded into the in-memory search index. A per-source checksum avoids scanning the table on every search. Request bodies are capped (32MiB by default; see Ingest.MaxBodyBytes / INGEST_MAX_BODY_BYTES).

post/v2/ingest/{fileType}

Request

  • Base URL
    http://localhost:8084
  • URL
    http://localhost:8084/v2/ingest/{fileType}
  • Auth
    none declared

Path parameters

fileTypestring required

Dataset name which matches a schema defined in the Watchman config

Request body text/plain

string required

A plaintext CSV file

Example request

"first,middle,last\njohn,,doe\n"

Response

File ingested successfully

fileTypestring

Dataset name used for file import

Changes